Opened 6 years ago
Closed 6 years ago
#12739 closed Bugs (fixed)
Undefined macro warning in stl_type_index.hpp
| Reported by: | Owned by: | Antony Polukhin | |
|---|---|---|---|
| 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__))
Change History (2)
comment:1 by , 6 years ago
| Milestone: | To Be Determined → Boost 1.64.0 |
|---|---|
| Status: | new → assigned |
comment:2 by , 6 years ago
| Resolution: | → fixed |
|---|---|
| Status: | assigned → closed |
Note:
See TracTickets
for help on using tickets.

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