Subject: [Boost-bugs] [Boost C++ Libraries] #5853: Predefined macro __ppc not checked by various boost headers
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-09-01 16:52:12
#5853: Predefined macro __ppc not checked by various boost headers
-------------------------------------+--------------------------------------
Reporter: gshapiro@⦠| Owner:
Type: Bugs | Status: new
Milestone: To Be Determined | Component: None
Version: Boost Development Trunk | Severity: Problem
Keywords: powerpc ppc |
-------------------------------------+--------------------------------------
Various boost headers implement variant definitions and logic depending on
the processor defined for the compilation. There are variations taking
into account compilation on the powerpc family of processors but some of
the headers in question do not include checking for powerpc compilation
via presence of the !__ppc predefined macro (they check against other
predefineds: !__ppc!__, !__powerpc!__, etc, but the !WindRiver vxworks gnu
compiler for powerpc only defines !__ppc).
Boost headers in question:
boost/detail/endian.hpp[[BR]]
boost/interprocess/detail/atomic.hpp[[BR]]
boost/numeric/interval/hw_rounding.hpp[[BR]]
boost/numeric/interval/detail/ppc_rounding_control.hpp
The trunk was checked to be certain that fixes had not yet been applied.
No other related bug reports found either.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/5853> 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:07 UTC