build: enable more msvc warnings

This commit is contained in:
Bert Belder 2017-09-09 19:38:49 +02:00
parent 9061004ca2
commit 9bfda64ef3

View File

@ -8,7 +8,7 @@ if(WIN32)
endif()
if(MSVC)
add_compile_options(/Wall /wd4201 /wd4206 /wd4242 /wd4244 /wd4267 /wd4310 /wd4706 /wd4710 /wd4711 /wd4820 /wd4996)
add_compile_options(/Wall /wd4201 /wd4242 /wd4711 /wd4820)
else()
add_compile_options(-Wall)
endif()