Hello,
On Tue, Jun 7, 2011 at 3:17 AM, John Maddock wrote:
Unfortunately I don't have that platform to test on... and since we don't
have a regular test-runner testing that platform either (care to volunteer?)
I'm afraid I wasn't aware it was broken. It does build for me on Linux with
sun's compiler though.
Thanks a lot for the quick reply. I've done builds of Boost 1.46.1 with
versions 5.10 and 5.11 of Sun's compiler. The relevant output is attached.
The failures are the same with both versions of the compiler. Just to recap,
this is a 32-bit x86 box running Solaris 10. The builds were done with the
following characteristics: static linking, multi-threading, release variant.
To summarize: Sun's compiler hates the file regex_primitives.hpp. (Come to
think of it, that's not even from the regex library, is it?) I apologize for
blaming the regex library. It appears that the graph library is the problem.
Thanks,
Will
sun.compile.c++
bin.v2/libs/graph/build/sun/release/address-model-32/link-static/stdlib-sun-stlport/threading-multi/read_graphviz_new.o
"./boost/proto/transform/arg.hpp", line 306: Error: Partial specialization
for boost::proto::_byval::result has identical arguments.
"./boost/xpressive/regex_primitives.hpp", line 78: Error: Unexpected type
name "boost::proto::_data" encountered.
"./boost/xpressive/regex_primitives.hpp", line 78: Error: Unexpected type
name "boost::proto::_value" encountered.
"./boost/xpressive/regex_primitives.hpp", line 78: Error: Too many arguments
in cast to boost::xpressive::detail::push_back.
"./boost/xpressive/regex_primitives.hpp", line 79: Error: Unexpected type
name "boost::proto::_data" encountered.
"./boost/xpressive/regex_primitives.hpp", line 79: Error: Too many arguments
in cast to boost::xpressive::detail::push_back.
"./boost/xpressive/regex_primitives.hpp", line 569: Error: type is not a
member of boost::tr1_result_ofboost::proto::default_generator.
"./boost/proto/detail/expr0.hpp", line 458: Warning: A class with a
reference member lacks a user-defined constructor, which can lead to errors.
"./boost/xpressive/regex_primitives.hpp", line 569: Where: While
specializing "boost::proto::exprns_::expr, 2>".
"./boost/xpressive/regex_primitives.hpp", line 569: Where: Specialized
in non-template code.
"./boost/xpressive/regex_primitives.hpp", line 569: Error: Cannot return
const boost::proto::exprns_::expr, 2> from a function that should return const
int.
8 Error(s) and 1 Warning(s) detected.
"CC" -library=stlport4 -xO4 -mt -erroff=%none -m32 -DBOOST_ALL_NO_LIB=1
-DBOOST_HAS_ICU=1 -DNDEBUG -I"." -I"libs/graph/src" -c -o
"bin.v2/libs/graph/build/sun/release/address-model-32/link-static/stdlib-sun-stlport/threading-multi/read_graphviz_new.o"
"libs/graph/src/read_graphviz_new.cpp"
...failed sun.compile.c++
bin.v2/libs/graph/build/sun/release/address-model-32/link-static/stdlib-sun-stlport/threading-multi/read_graphviz_new.o...
sun.compile.c++
bin.v2/libs/graph/build/sun/release/address-model-32/link-static/stdlib-sun-stlport/threading-multi/graphml.o
"./boost/proto/transform/arg.hpp", line 306: Error: Partial specialization
for boost::proto::_byval::result has identical arguments.
"./boost/xpressive/regex_primitives.hpp", line 78: Error: Unexpected type
name "boost::proto::_data" encountered.
"./boost/xpressive/regex_primitives.hpp", line 78: Error: Unexpected type
name "boost::proto::_value" encountered.
"./boost/xpressive/regex_primitives.hpp", line 78: Error: Too many arguments
in cast to boost::xpressive::detail::push_back.
"./boost/xpressive/regex_primitives.hpp", line 79: Error: Unexpected type
name "boost::proto::_data" encountered.
"./boost/xpressive/regex_primitives.hpp", line 79: Error: Too many arguments
in cast to boost::xpressive::detail::push_back.
"./boost/xpressive/regex_primitives.hpp", line 569: Error: type is not a
member of boost::tr1_result_ofboost::proto::default_generator.
"./boost/proto/detail/expr0.hpp", line 458: Warning: A class with a
reference member lacks a user-defined constructor, which can lead to errors.
"./boost/xpressive/regex_primitives.hpp", line 569: Where: While
specializing "boost::proto::exprns_::expr, 2>".
"./boost/xpressive/regex_primitives.hpp", line 569: Where: Specialized
in non-template code.
"./boost/xpressive/regex_primitives.hpp", line 569: Error: Cannot return
const boost::proto::exprns_::expr, 2> from a function that should return const
int.
8 Error(s) and 1 Warning(s) detected.
"CC" -library=stlport4 -xO4 -mt -erroff=%none -m32 -DBOOST_ALL_NO_LIB=1
-DBOOST_HAS_ICU=1 -DNDEBUG -I"." -I"libs/graph/src" -c -o
"bin.v2/libs/graph/build/sun/release/address-model-32/link-static/stdlib-sun-stlport/threading-multi/graphml.o"
"libs/graph/src/graphml.cpp"
...failed sun.compile.c++
bin.v2/libs/graph/build/sun/release/address-model-32/link-static/stdlib-sun-stlport/threading-multi/graphml.o...