Gate icon indicating copy to clipboard operation
Gate copied to clipboard

-Wno-shadow is not a valid flag in MSVC

Open mojca opened this issue 10 years ago • 0 comments

In order to be able to compile for MSVC I had to comment out the following line in CMakeLists.txt:

set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-shadow")

One should check for which compilers this flag is relevant/important.

mojca avatar Mar 27 '15 22:03 mojca