Opened 5 months ago

Closed 2 months ago

#12739 closed Bugs (fixed)

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:


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__))


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

Attachments (0)

Change History (2)

comment:1 Changed 5 months ago by apolukhin

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

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

comment:2 Changed 2 months ago by apolukhin

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

Add Comment

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain apolukhin.
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.