Opened 10 years ago
Closed 10 years ago
#6996 closed Bugs (fixed)
smart_pointer causes build failure on AIX gcc 4.7
Reported by: | Owned by: | Peter Dimov | |
---|---|---|---|
Milestone: | To Be Determined | Component: | smart_ptr |
Version: | Boost 1.50.0 | Severity: | Problem |
Keywords: | Cc: |
Description
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.
Attachments (1)
Change History (3)
by , 10 years ago
Attachment: | boost_1_51_0-aix_gcc.patch added |
---|
comment:2 by , 10 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Patch to compile on aix with gcc 4.7