Compilation fails in MSVC with the Microsoft Language Extensions disabled #1481
Labels
platform: visual studio
related to MSVC
solution: wontfix
the issue will not be fixed (either it is impossible or deemed out of scope)
I can't compile my project in Windows with Visual Studio with the /Za flag (Disable Language Extensions) enabled. This flag is used to ensure C++11 conformance.
The errors that the compiler is giving to me are the following:
Please describe the steps to reproduce the issue. Can you provide a small but working code example?
In CMake i've added the following compile options:
target_compile_options(Test PRIVATE /Za /W4 -D_CRT_SECURE_NO_WARNINGS)
Which compiler and operating system are you using?
I'm compiling in Windows 10 64 bits with Visual Studio 15 (2017) and MSVC 19.16.27026.1 for x64.
Did you use a released version of the library or the version from the
develop
branch?I've tried both, the develop single include file that is referenced in the README and I've also downloaded the tag v3.5.0 and included the library as a dependency with CMake, and neither worked.
If you experience a compilation error: can you compile and run the unit tests?
Yes, I've compiled them without any problems
The text was updated successfully, but these errors were encountered: