Subject: [Boost-bugs] [Boost C++ Libraries] #4199: Sun Studio compilation of sp_typeinfo.hpp
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2010-05-07 20:17:35
#4199: Sun Studio compilation of sp_typeinfo.hpp
-------------------------------------------+--------------------------------
Reporter: nstewart@⦠| Owner:
Type: Patches | Status: new
Milestone: Boost 1.44.0 | Component: None
Version: Boost Development Trunk | Severity: Showstopper
Keywords: SunPro,sp_typeinfo,Sun Studio |
-------------------------------------------+--------------------------------
The Sun Studio compiler gets confused about static initialization
constructor arguments. But an assignment works just fine.
Observed in boost 1.42.0, same code in trunk and 1.43.0.
Using flags:
BOOST_CXXFLAGS += -DBOOST_NO_IOSTREAM=1
BOOST_CXXFLAGS += -DBOOST_NO_TYPEID=1
BOOST_CXXFLAGS += -DBOOST_NO_RTTI=1
BOOST_CXXFLAGS += -DBOOST_SP_DISABLE_THREADS=1
BOOST_CXXFLAGS += -DBOOST_NO_EXCEPTIONS=1
BOOST_CXXFLAGS += -DBOOST_PTR_CONTAINER_NO_EXCEPTIONS=1
BOOST_CXXFLAGS += -DBOOST_REGEX_NO_LIB=1
BOOST_CXXFLAGS += -DBOOST_REGEX_NO_W32=1
BOOST_CXXFLAGS += -DBOOST_REGEX_NON_RECURSIVE=1
BOOST_CXXFLAGS += -DBOOST_REGEX_NO_EXTERNAL_TEMPLATES=1
BOOST_CXXFLAGS += -DBOOST_NO_WREGEX=1
BOOST_CXXFLAGS += -DBOOST_ALL_NO_LIB=1
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/4199> 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:03 UTC