We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 10f7384 commit 1a15231Copy full SHA for 1a15231
1 file changed
CMakeLists.txt
@@ -40,6 +40,8 @@ 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: enable warning
44
+ add_compile_options(/wd4267) # warning C4267: '...': conversion from 'size_t' to 'unsigned int', possible loss of data
45
elseif (CMAKE_CXX_COMPILER_ID MATCHES "Clang")
46
add_compile_options(-Weverything)
47
# no need for c++98 compatibility
0 commit comments