We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5a4209b commit 06ac746Copy full SHA for 06ac746
CMakeLists.txt
@@ -37,9 +37,8 @@ if (CMAKE_CXX_COMPILER_ID MATCHES "GNU")
37
add_compile_options_safe(-Wuseless-cast)
38
elseif (CMAKE_CXX_COMPILER_ID MATCHES "MSVC")
39
add_compile_definitions(_CRT_SECURE_NO_WARNINGS)
40
- # TODO: bump warning level
41
- #add_compile_options(/W4) # Warning Level
42
- # TODO: enable warning
+ add_compile_options(/W4) # Warning Level
+ add_compile_options(/wd4244) # warning C4244: 'x': conversion from 'int' to 'char', possible loss of data
43
add_compile_options(/wd4267) # warning C4267: '...': conversion from 'size_t' to 'unsigned int', possible loss of data
44
elseif (CMAKE_CXX_COMPILER_ID MATCHES "Clang")
45
add_compile_options(-Weverything)
0 commit comments