Modify

Ticket #12739 (closed Bugs: fixed)

Opened 4 months ago

Last modified 8 days ago

Undefined macro warning in stl_type_index.hpp

Reported by: Matthew Collett <m_collett@…> Owned by: apolukhin
Milestone: Boost 1.64.0 Component: type_index
Version: Boost 1.62.0 Severity: Cosmetic
Keywords: Cc:

Description

Line 147 of stl_type_index.hpp generates the warning from Clang: '_MSC_VER' is not defined, evaluates to 0

Fix: replace

#if _MSC_VER > 1600 || (__GNUC__ == 4 && __GNUC_MINOR__ > 5 && defined(__GXX_EXPERIMENTAL_CXX0X__))

by

#if (defined(_MSC_VER) && _MSC_VER > 1600) || (defined(__GNUC__) && __GNUC__ == 4 && __GNUC_MINOR__ > 5 && defined(__GXX_EXPERIMENTAL_CXX0X__))

Attachments

Change History

comment:1 Changed 3 months ago by apolukhin

  • Status changed from new to assigned
  • Milestone changed from To Be Determined to Boost 1.64.0

Fixed in f71d9eb3 in develop branch. Will be merged to master as soon as the tests pass.

comment:2 Changed 8 days ago by apolukhin

  • Status changed from assigned to closed
  • Resolution set to fixed
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.