Opened 16 months ago

Closed 7 months ago

#13167 closed Bugs (fixed)

"Unknown compiler version ..." with 1.64 on Visual Studio 15.3

Reported by: Tim Bergel <tim@…> Owned by:
Milestone: To Be Determined Component: None
Version: Boost 1.65.0 Severity: Problem
Keywords: compiler _MSC_VER Cc: gfurnish@…, daniel.kruegler@…


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 Changed 16 months ago by John Melas <john@…>

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

comment:2 Changed 16 months ago by Gary Furnish <gfurnish@…>

Cc: gfurnish@… added
Severity: OptimizationProblem
Type: Support RequestsBugs
Version: Boost 1.64.0Boost 1.65.0

comment:3 Changed 16 months ago by Vyacheslav Putsenko <xslavik@…>

Hi, Same with 1.65 :(

But release notes include statement that release was tested with 14.1.

comment:4 Changed 16 months ago by Vyacheslav Putsenko <xslavik@…>

Do I need to post separate ticket for 1.65 version ?

comment:5 Changed 16 months ago by Vyacheslav Putsenko <xslavik@…>

Visual Studio 15.3 resolves _MSC_VER to 1911.

comment:6 Changed 16 months ago by Daniel Krügler <daniel.kruegler@…>

Cc: daniel.kruegler@… added

comment:7 Changed 7 months ago by John Maddock

Resolution: fixed
Status: newclosed

This is addressed in 1.67.

Note: See TracTickets for help on using tickets.