Subject: [Boost-bugs] [Boost C++ Libraries] #10148: Can't build on Solaris SPARC
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-06-25 15:38:07
#10148: Can't build on Solaris SPARC
----------------------------+------------------------------
Reporter: brian.groose@⦠| Type: Bugs
Status: new | Milestone: To Be Determined
Component: Building Boost | Version: Boost 1.55.0
Severity: Problem | Keywords: solaris, sparc
----------------------------+------------------------------
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:
--- 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
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.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/10148> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:16 UTC