#12739 closed Bugs (fixed)

Undefined macro warning in stl_type_index.hpp

Reported by: Matthew Collett <m_collett@…> Owned by: Antony Polukhin
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 14 months ago by Antony Polukhin

Milestone: To Be DeterminedBoost 1.64.0
Status: newassigned

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

comment:2 Changed 11 months ago by Antony Polukhin

Resolution: fixed
Status: assignedclosed

Modify Ticket

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