Ticket #3708 (closed Bugs: fixed)

Opened 7 years ago

Last modified 7 years ago

Followup patch to Changeset 49704

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


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

Change History

Changed 7 years ago by Troy.Runkel@…

Unified diff for code patch

comment:1 Changed 7 years ago by johnmaddock

  • Status changed from new to closed
  • Resolution set to fixed

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


Add a comment

Modify Ticket

Change Properties
<Author field>
as closed
The resolution will be deleted. Next status will be 'reopened'

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

Note: See TracTickets for help on using tickets.