Modify

Ticket #3708 (closed Bugs: fixed)

Opened 4 years ago

Last modified 4 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:

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

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

Change History

Changed 4 years ago by Troy.Runkel@…

Unified diff for code patch

comment:1 Changed 4 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.

View

Add a comment

Modify Ticket

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


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

 
Note: See TracTickets for help on using tickets.