Subject: Re: [Boost-bugs] [Boost C++ Libraries] #9240: boost 1.54.0 math/constants/constants.hpp doesn't compile with gcc 4.8 with c++11 if you undef __STRICT_ANSI__
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-11-26 19:46:58
#9240: boost 1.54.0 math/constants/constants.hpp doesn't compile with gcc 4.8 with
c++11 if you undef __STRICT_ANSI__
-------------------------------+-------------------------
Reporter: richardg.work@⦠| Owner: johnmaddock
Type: Bugs | Status: new
Milestone: To Be Determined | Component: math
Version: Boost 1.54.0 | Severity: Problem
Resolution: | Keywords:
-------------------------------+-------------------------
Comment (by Richard Geary <richardg.work@â¦>):
There are many reasons for undefining __STRICT_ANSI__ as it's widely used
in system headers. If you're using boost in a large legacy codebase, and I
expect it's common for people porting large codebases from C++03 to C++11.
This bug is really the fault of gcc for overloading the meaning of
__STRICT_ANSI__ to imply their special features are enabled/disabled. GCC
doesn't own the __STRICT_ANSI__ #define, it's owned by the ISO standard.
Regardless, since the issue is with the numeric literal not the __float128
type, is there a different, more compatible way to specify the literals?
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/9240#comment:4> 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:14 UTC