Commit 3389c2e8d67d8fbfd8137e14da8c80128ff77b36

Authored by Charles Otto
1 parent 810351a0

Enable vs warning for unused parameters at w3

For consistency with other supported compilers, enable a warning about
unused parameters at warning level 3 in visual studio.

By default this warning is at level 4, but using level 4 isn't really
feasible since a ton of warnings are generated for Qt header files.
Showing 1 changed file with 1 additions and 1 deletions
CMakeLists.txt
@@ -121,7 +121,7 @@ else() @@ -121,7 +121,7 @@ else()
121 set(CMAKE_EXE_LINKER_FLAGS "-Wl,--enable-auto-import") # Fixes a linker warning 121 set(CMAKE_EXE_LINKER_FLAGS "-Wl,--enable-auto-import") # Fixes a linker warning
122 set(CMAKE_SHARED_LINKER_FLAGS "-Wl,--enable-auto-import") 122 set(CMAKE_SHARED_LINKER_FLAGS "-Wl,--enable-auto-import")
123 elseif(MSVC) 123 elseif(MSVC)
124 - set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /W3 /DNOMINMAX /D_CRT_SECURE_NO_WARNINGS /wd4018 /wd4244 /wd4267 /wd4305 /wd4308 /wd4307 /wd4554 /wd4996 /nologo /MP") 124 + set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /W3 /DNOMINMAX /D_CRT_SECURE_NO_WARNINGS /wd4018 /wd4244 /wd4267 /wd4305 /wd4308 /wd4307 /wd4554 /wd4996 /w34100 /nologo /MP")
125 endif() 125 endif()
126 endif() 126 endif()
127 127