Opened 13 years ago

Closed 13 years ago

#3708 closed Bugs (fixed)

Followup patch to Changeset 49704

Reported by: Troy.Runkel@… 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)

boost_path.diff (568 bytes ) - added by Troy.Runkel@… 13 years ago.
Unified diff for code patch

Download all attachments as: .zip

Change History (2)

by Troy.Runkel@…, 13 years ago

Attachment: boost_path.diff added

Unified diff for code patch

comment:1 by John Maddock, 13 years ago

Resolution: fixed
Status: newclosed

(In [58135]) Check for unix as well as unix. Fixes #3708.

Note: See TracTickets for help on using tickets.