[Boost-bugs] [Boost C++ Libraries] #3708: Followup patch to Changeset 49704

Subject: [Boost-bugs] [Boost C++ Libraries] #3708: Followup patch to Changeset 49704
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2009-12-03 16:25:05


#3708: Followup patch to Changeset 49704
---------------------------------------+------------------------------------
 Reporter: Troy.Runkel@… | Owner: johnmaddock
     Type: Bugs | Status: new
Milestone: Boost 1.42.0 | Component: type_traits
  Version: Boost 1.40.0 | Severity: Problem
 Keywords: |
---------------------------------------+------------------------------------
 On 2008-11-12 Changeset 49704 was submitted to the boost trunk for
 boost/type_traits/intrinsics.hpp to fix a 32-bit Linux alignment_of
 failure.

 Part of the change was to check for {{{"#if !defined(unix)"}}}. If
 intrinsics.hpp is compiled on 32-bit Linux using GCC 4.3 with the
 -std=c++98 command-line argument then this fix will not work as expected.
 The -std=c++98 argument argument informs the compiler to define
 {{{"__unix__"}}} but not {{{"unix"}}}.

 If believe the original fix needs to be updated to check for {{{"#if
 !defined(__unix__)"}}}.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/3708>
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:02 UTC