Opened 8 years ago

Closed 8 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:


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@… 8 years ago.
Unified diff for code patch

Download all attachments as: .zip

Change History (2)

Changed 8 years ago by Troy.Runkel@…

Attachment: boost_path.diff added

Unified diff for code patch

comment:1 Changed 8 years ago by John Maddock

Resolution: fixed
Status: newclosed

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

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain John Maddock.
The resolution will be deleted.

Add Comment

E-mail address and name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.