Boost C++ Libraries: Ticket #5933: Sun C++ 5.11 Linux compilation errors https://svn.boost.org/trac10/ticket/5933 <p> CC: Sun C++ 5.11 Linux_i386 2010/08/13 usage: CC [ options ] files. Use 'CC -flags' for details </p> <p> "./boost/proto/transform/arg.hpp", line 306: Error: Partial specialization for boost::proto::_byval::result has identical arguments. </p> <p> "./boost/xpressive/regex_primitives.hpp", line 78: Error: Unexpected type name "boost::proto::_data" encountered. </p> <p> "./boost/xpressive/regex_primitives.hpp", line 78: Error: Unexpected type name "boost::proto::_value" encountered. </p> <p> "./boost/xpressive/regex_primitives.hpp", line 78: Error: Too many arguments in cast to boost::xpressive::detail::push_back. </p> <p> "./boost/xpressive/regex_primitives.hpp", line 79: Error: Unexpected type name "boost::proto::_data" encountered. </p> <p> "./boost/xpressive/regex_primitives.hpp", line 79: Error: Too many arguments in cast to boost::xpressive::detail::push_back. </p> <p> "./boost/xpressive/regex_primitives.hpp", line 569: Error: type is not a member of boost::tr1_result_of&lt;boost::proto::default_generator&gt;. </p> <p> "./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. </p> <p> "./boost/xpressive/regex_primitives.hpp", line 569: Where: While specializing "boost::proto::exprns_::expr&lt;boost::proto::tag::assign, boost::proto::argsns_::list2&lt;boost::xpressive::mark_tag&amp;, const boost::xpressive::mark_tag&amp;&gt;, 2&gt;". </p> <p> "./boost/xpressive/regex_primitives.hpp", line 569: Where: Specialized in non-template code. </p> <p> "./boost/xpressive/regex_primitives.hpp", line 569: Error: Cannot return const boost::proto::exprns_::expr&lt;boost::proto::tag::assign, boost::proto::argsns_::list2&lt;boost::xpressive::mark_tag&amp;, const boost::xpressive::mark_tag&amp;&gt;, 2&gt; from a function that should return const int. </p> <p> 8 Error(s) and 1 Warning(s) detected. </p> <blockquote> <p> "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" </p> </blockquote> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/5933 Trac 1.4.3 Peter Loibl <boost@…> Tue, 27 Sep 2011 18:09:52 GMT component changed; owner set https://svn.boost.org/trac10/ticket/5933#comment:1 https://svn.boost.org/trac10/ticket/5933#comment:1 <ul> <li><strong>owner</strong> set to <span class="trac-author">Eric Niebler</span> </li> <li><strong>component</strong> <span class="trac-field-old">None</span> → <span class="trac-field-new">proto</span> </li> </ul> Ticket Eric Niebler Tue, 27 Sep 2011 18:13:34 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/5933#comment:2 https://svn.boost.org/trac10/ticket/5933#comment:2 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">invalid</span> </li> </ul> <p> 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. </p> Ticket