When compiling with Visual Studio (msvc) warnings are treated as errors which is making compilation fail pretty quickly since with /W3 level there is quite a bunch of warnings (setting CMAKE_COMPILE_WARNING_AS_ERROR doesn't fix the problem ¯\_ (ツ)_/¯ ).
It's also not mimicking gcc, clang and icc side, there the flag -Werror is not set.
For "homogeneity" could the /WX be removed or commented out in the MSVC block currently here in the code ?
And if someone has a suggestion to avoid having to fix the CMakelist.txt manually please comment.
Thank you !
When compiling with Visual Studio (
msvc) warnings are treated as errors which is making compilation fail pretty quickly since with/W3level there is quite a bunch of warnings (settingCMAKE_COMPILE_WARNING_AS_ERRORdoesn't fix the problem¯\_ (ツ)_/¯).It's also not mimicking
gcc,clangandiccside, there the flag -Werror is not set.For "homogeneity" could the
/WXbe removed or commented out in theMSVCblock currently here in the code ?And if someone has a suggestion to avoid having to fix the
CMakelist.txtmanually please comment.Thank you !