Boost C++ Libraries: Ticket #3170: "Badly formed constant expression" errors with Sun compiler https://svn.boost.org/trac10/ticket/3170 <p> The regression test output at <a href="http://www.boost.org/development/tests/trunk/developer/output/Sandia-sun-boost-bin-v2-libs-graph-test-biconnected_components_test-test-sun-5-9-debug-stdlib-sun-stlport.html">http://www.boost.org/development/tests/trunk/developer/output/Sandia-sun-boost-bin-v2-libs-graph-test-biconnected_components_test-test-sun-5-9-debug-stdlib-sun-stlport.html</a> shows many errors related to Boost.Preprocessor. Are these a known bug? The slot tests for BPL itself pass on that same platform. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/3170 Trac 1.4.3 Steven Watanabe Fri, 12 Jun 2009 03:53:32 GMT <link>https://svn.boost.org/trac10/ticket/3170#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/3170#comment:1</guid> <description> <p> This errors appears to come from the use of BOOST_PP_SUB inside BOOST_PP_ITERATION_PARAMS in phoenix. Hopefully I can get this fixed tomorrow, but no promises. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Steven Watanabe</dc:creator> <pubDate>Sat, 13 Jun 2009 16:14:43 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/3170#comment:2 https://svn.boost.org/trac10/ticket/3170#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">fixed</span> </li> </ul> <p> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/53869" title="Use BOOST_PP_DEC instead of BOOST_PP_SUB for macros used inside ...">[53869]</a>) Use BOOST_PP_DEC instead of BOOST_PP_SUB for macros used inside BOOST_PP_ITERATE(). Fixes <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/3170" title="#3170: Bugs: &#34;Badly formed constant expression&#34; errors with Sun compiler (closed: fixed)">#3170</a>. </p> Ticket