Opened 5 years ago
Closed 4 years ago
#13167 closed Bugs (fixed)
"Unknown compiler version ..." with 1.64 on Visual Studio 15.3
Reported by: | Owned by: | ||
---|---|---|---|
Milestone: | To Be Determined | Component: | None |
Version: | Boost 1.65.0 | Severity: | Problem |
Keywords: | compiler _MSC_VER | Cc: | gfurnish@…, daniel.kruegler@… |
Description
Visual Studio 2017 version 15.3 (4.7.02046) has upped the _MSC_VER define to 1911 (I think previously 1910 in 15.2). This gives a lot of warning messages with 1.64 - I have not tried 1.65 but the release notes do not mention this - and I am reluctant to simply hack boost_1_64_0\boost\config\compiler\visualc.hpp as of course there may actually be an issue. What to do?
Change History (7)
comment:1 by , 5 years ago
comment:2 by , 5 years ago
Cc: | added |
---|---|
Severity: | Optimization → Problem |
Type: | Support Requests → Bugs |
Version: | Boost 1.64.0 → Boost 1.65.0 |
comment:3 by , 5 years ago
Hi, Same with 1.65 :(
But release notes include statement that release was tested with 14.1.
comment:6 by , 5 years ago
Cc: | added |
---|
Note:
See TracTickets
for help on using tickets.
The fix is to change line 324
from #if (_MSC_VER > 1910)
to #if (_MSC_VER >= 1920)
in compliance with line 312 # elif _MSC_VER < 1920
which accepts _MSC_VER from 1910 to 1919 as compiler version 14.1