Opened 13 years ago
Closed 13 years ago
#3708 closed Bugs (fixed)
Followup patch to Changeset 49704
Reported by: | Owned by: | John Maddock | |
---|---|---|---|
Milestone: | Boost 1.42.0 | Component: | type_traits |
Version: | Boost 1.40.0 | Severity: | Problem |
Keywords: | Cc: |
Description
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__)"
.
Attachments (1)
Change History (2)
by , 13 years ago
Attachment: | boost_path.diff added |
---|
comment:1 by , 13 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Unified diff for code patch