Opened 12 months ago

Closed 7 months ago

#13351 closed Bugs (fixed)

Unable to compile a project using recursive variant under MSVC 2017 15.5 with compiler switch /std:c++17 and /std:c++latest

Reported by: jhruby.web@… Owned by: ebf
Milestone: To Be Determined Component: variant
Version: Boost 1.67.0 Severity: Problem
Keywords: Cc:


15.4 compiler compiles with all flags std flags without any issues. 15.5 version is unable to compile correctly /std:c++17 and /std:c++latest.

Check out the library:

Configure CMAKE and CMAKE_CXX_FLAGS += /std:c++17

After opening project under visual studio compilation fails: compiler-output.txt

Please note that switches /std:c++11 and /std:c++14 are working correctly.


Attachments (1) (11.4 KB) - added by anonymous 12 months ago.

Download all attachments as: .zip

Change History (3)

Changed 12 months ago by anonymous

Attachment: added

comment:1 Changed 7 months ago by John Maddock

Component: Nonevariant
Owner: set to ebf

comment:2 Changed 7 months ago by Antony Polukhin

Resolution: fixed
Status: newclosed
Version: Boost 1.63.0Boost 1.67.0
Note: See TracTickets for help on using tickets.