|
Boost Users : |
Subject: Re: [Boost-users] Regex no longer builds with toolset=sun
From: Will Mason (willchido_at_[hidden])
Date: 2011-06-07 13:54:32
Hello,
On Tue, Jun 7, 2011 at 3:17 AM, John Maddock <boost.regex_at_[hidden]> 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_of<boost::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<boost::proto::tag::assign,
boost::proto::argsns_::list2<boost::xpressive::mark_tag&, const
boost::xpressive::mark_tag&>, 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<boost::proto::tag::assign,
boost::proto::argsns_::list2<boost::xpressive::mark_tag&, const
boost::xpressive::mark_tag&>, 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_of<boost::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<boost::proto::tag::assign,
boost::proto::argsns_::list2<boost::xpressive::mark_tag&, const
boost::xpressive::mark_tag&>, 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<boost::proto::tag::assign,
boost::proto::argsns_::list2<boost::xpressive::mark_tag&, const
boost::xpressive::mark_tag&>, 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...
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net