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: 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@…

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 John Melas <john@…>, 5 years ago

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 by Gary Furnish <gfurnish@…>, 5 years ago

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

comment:3 by Vyacheslav Putsenko <xslavik@…>, 5 years ago

Hi, Same with 1.65 :(

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

comment:4 by Vyacheslav Putsenko <xslavik@…>, 5 years ago

Do I need to post separate ticket for 1.65 version ?

comment:5 by Vyacheslav Putsenko <xslavik@…>, 5 years ago

Visual Studio 15.3 resolves _MSC_VER to 1911.

comment:6 by Daniel Krügler <daniel.kruegler@…>, 5 years ago

Cc: daniel.kruegler@… added

comment:7 by John Maddock, 4 years ago

Resolution: fixed
Status: newclosed

This is addressed in 1.67.

Note: See TracTickets for help on using tickets.