[Boost-bugs] [Boost C++ Libraries] #6996: smart_pointer causes build failure on AIX gcc 4.7

Subject: [Boost-bugs] [Boost C++ Libraries] #6996: smart_pointer causes build failure on AIX gcc 4.7
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-06-18 16:51:32


#6996: smart_pointer causes build failure on AIX gcc 4.7
-------------------------------------------+--------------------------------
 Reporter: crispin.boylan@… | Owner: pdimov
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: smart_ptr
  Version: Boost 1.50.0 | Severity: Problem
 Keywords: |
-------------------------------------------+--------------------------------
 When using gcc 4.7 with AIX, the sp_counted_base.hpp logic falls through
 to the sp_counted_base_gcc_ppc.hpp header which seems to be specifically
 for PPC Linux. When using gcc on AIX the system as is used, which does
 not support the syntax included in this file.

 The reason for this seems to be the fact that in gcc 4.7 the __powerpc__
 define has been added to the built-in defines. This means the conditions
 are now matched for using the gcc ppc version of the fix.

 I think the define needs to be enhanced either with a check for GNU
 Assembler being used or the _AIX is not defined.

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