Opened 11 years ago

Closed 11 years ago

#5933 closed Bugs (invalid)

Sun C++ 5.11 Linux compilation errors

Reported by: boost@… Owned by: Eric Niebler
Milestone: To Be Determined Component: proto
Version: Boost 1.47.0 Severity: Problem
Keywords: Cc:

Description

CC: Sun C++ 5.11 Linux_i386 2010/08/13 usage: CC [ options ] files. Use 'CC -flags' for details

"./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/preprocessed/expr.hpp", line 1128: 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 -m64 -DBOOST_ALL_NO_LIB=1 -DNDEBUG -I"." -I"libs/graph/src" -c -o "/home/pal/work/cpp/tmp/boost/bin.v2/libs/graph/build/sun/release/address-model-64/link-static/stdlib-sun-stlport/threading-multi/read_graphviz_new.o" "libs/graph/src/read_graphviz_new.cpp"

Change History (2)

comment:1 by Peter Loibl <boost@…>, 11 years ago

Component: Noneproto
Owner: set to Eric Niebler

comment:2 by Eric Niebler, 11 years ago

Resolution: invalid
Status: newclosed

Proto is not broken. The sun compiler is too non-compliant to successfully compile it. Feel free to file a bug against the sun compiler.

Note: See TracTickets for help on using tickets.