Boost C++ Libraries: Ticket #10148: Can't build on Solaris SPARC https://svn.boost.org/trac10/ticket/10148 <p> I'm using g++ 3.4.3 on SPARC and the following changes were required to allow it to build the subset of boost that I use: </p> <p> --- boost/predef/other/endian.h +++ boost/predef/other/endian.h @@ -144,7 +144,8 @@ </p> <blockquote> <table class="wiki"> <tr>BOOST_ARCH_PARISK BOOST_ARCH_SYS370 BOOST_ARCH_SYS390 </tr></table> </blockquote> <ul><li> BOOST_ARCH_Z </li></ul><table class="wiki"> <tr>+ BOOST_ARCH_Z </tr></table> <p> + BOOST_ARCH_SPARC </p> <blockquote> <p> # undef BOOST_ENDIAN_BIG_BYTE # define BOOST_ENDIAN_BIG_BYTE BOOST_VERSION_NUMBER_AVAILABLE # endif </p> </blockquote> <p> Because this older g++ doesn't recognize -Wno-variadic-macros, I needed to remove that option from each Jamfile.v2 that specifies it. I wasn't sure how to properly change it to not apply that option for my specific g++ version. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/10148 Trac 1.4.3 brian.groose@… Wed, 25 Jun 2014 15:41:37 GMT <link>https://svn.boost.org/trac10/ticket/10148#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/10148#comment:1</guid> <description> <p> Well that wasn't formatted too well. Here it is again with formatting. </p> <pre class="wiki">--- boost/predef/other/endian.h +++ boost/predef/other/endian.h @@ -144,7 +144,8 @@ BOOST_ARCH_PARISK || \ BOOST_ARCH_SYS370 || \ BOOST_ARCH_SYS390 || \ - BOOST_ARCH_Z + BOOST_ARCH_Z || \ + BOOST_ARCH_SPARC # undef BOOST_ENDIAN_BIG_BYTE # define BOOST_ENDIAN_BIG_BYTE BOOST_VERSION_NUMBER_AVAILABLE # endif </pre> </description> <category>Ticket</category> </item> <item> <dc:creator>viboes</dc:creator> <pubDate>Fri, 13 Feb 2015 18:49:34 GMT</pubDate> <title>component changed; owner set https://svn.boost.org/trac10/ticket/10148#comment:2 https://svn.boost.org/trac10/ticket/10148#comment:2 <ul> <li><strong>owner</strong> set to <span class="trac-author">René Rivera</span> </li> <li><strong>component</strong> <span class="trac-field-old">Building Boost</span> → <span class="trac-field-new">predef</span> </li> </ul> Ticket René Rivera Mon, 18 May 2015 16:16:39 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/10148#comment:3 https://svn.boost.org/trac10/ticket/10148#comment:3 <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> Already fixed in release version. </p> Ticket