Open FedorLap2006 opened 3 years ago
Let's try a minimal example. One issue is that many compilers allow some C++17 features without C++17 flag or compiler default to C++17.
I made a pull request https://github.com/mesonbuild/meson/pull/8102 to help reveal this issue. Try using the meson.build and main.cpp from that PR, using:
meson build
meson compile -C build -v
will reveal the compiler flags being used.
Let's try a minimal example. One issue is that many compilers allow some C++17 features without C++17 flag or compiler default to C++17.
I made a pull request #8102 to help reveal this issue. Try using the meson.build and main.cpp from that PR, using:
meson build meson compile -C build -v
will reveal the compiler flags being used.
Thanks, I will try. Just I was trying to use variant and optional and... this. I hope I won't go onto CMake instead again.
Describe the bug C++17 is not working in Visual Studio 2019... and also in 2017. Especially... HAS_CXX17 is not set. P.S. I tried using vs2017, also I tried to play with different commands - nothing.
To Reproduce
Expected behavior Generated project with C++17 enabled.
System parameters
8.1
3.8.5
0.55.0
16.1.68.42340