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 e5b3174 commit c5a565aCopy full SHA for c5a565a
CMakeLists.txt
@@ -40,6 +40,10 @@ if (CMAKE_CXX_COMPILER_ID MATCHES "GNU")
40
add_compile_options_safe(-Wuseless-cast)
41
elseif (CMAKE_CXX_COMPILER_ID MATCHES "MSVC")
42
add_compile_definitions(_CRT_SECURE_NO_WARNINGS)
43
+ # TODO: bump warning level
44
+ #add_compile_options(/W4) # Warning Level
45
+ # TODO: enable warning
46
+ add_compile_options(/wd4267) # warning C4267: '...': conversion from 'size_t' to 'unsigned int', possible loss of data
47
elseif (CMAKE_CXX_COMPILER_ID MATCHES "Clang")
48
add_compile_options(-Weverything)
49
# no need for c++98 compatibility
0 commit comments