Closed Beafantles closed 1 year ago
This is odd, that line is
#if( defined( DAW_HAS_MSVC ) and __cpp_constexpr > 201700L )
and that file is always included.
There's no more to the error about what parenthesis is missing it's match, is there?
No, there's not, that's all the output I got from the console :( I don't know if that matters but I used v3.15.0 (apparently, it is not yet possible to update it to 3.16.0 from vcpkg).
Got this setup and into MSVC. This looks like an MSVC issue and /permissive- as a compile option fixes it.
did some further investigating. You can also set -DCMAKE_CXX_STANDARD=20
as /permissive- is the default for MSVC 2022 in C++20 mode too. Otherwise it looks like for cmake projects, it does not add /permissive-
like the default for new MSVC projects via gui
going to close this, but if you think it should be a bug let me know. It is a std conformity issue with MSVC though
There is a fix in the latest github that will allow for not having /permissive-
too. Will be in the next vcpkg release
Nice, thank you very much :D Have a great day!
Hello, I've tried to use daw-json-link library on my Windows laptop but it reaches an error that I don't face on Linux. I've setup a basic example to reproduce the bug:
main.cpp
:CMakeLists.txt
:When I try to build this basic project after installing daw-json-library through vcpkg, I get an error. Here's the complete console output:
My laptop is running on Windows 11, with latest Visual Studio 2022 version (17.5.5), vcpkg up-to-date, and CMake v3.26.3.