-
Notifications
You must be signed in to change notification settings - Fork 71
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to compile a project using recursive variant under MSVC 2017 15.5 with compiler switch /std:c++17 and /std:c++latest #42
Comments
Same for me. |
Simple repro:
(Almost) original case from mstch.
Both works on VS15.5 in C++14 mode, does not work in C++17 mode. |
This works for me as a workaround.
|
Thanks for workaround this could let me to upgrade visual studio :) |
Other workaround |
Many thanks for providing tests and fixes! |
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:
https://github.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
The text was updated successfully, but these errors were encountered: