Opened 5 years ago
Closed 4 years 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: | Owned by: | ebf | |
---|---|---|---|
Milestone: | To Be Determined | Component: | variant |
Version: | Boost 1.67.0 | Severity: | Problem |
Keywords: | Cc: |
Description
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: httpsgithub.com/no1msd/mstch
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.
Thanks
Attachments (1)
Change History (3)
by , 5 years ago
Attachment: | compiler-output.zip added |
---|
comment:1 by , 4 years ago
Component: | None → variant |
---|---|
Owner: | set to |
comment:2 by , 4 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Version: | Boost 1.63.0 → Boost 1.67.0 |
Note:
See TracTickets
for help on using tickets.
This was fixed in Boost 1.67.0 in commits https://github.com/boostorg/variant/issues/42 and https://github.com/boostorg/variant/issues/46