We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b937eae commit 035c0caCopy full SHA for 035c0ca
CMakeLists.txt
@@ -173,6 +173,14 @@ elseif(${CMAKE_CXX_COMPILER_ID} MATCHES "Clang" AND NOT MSVC)
173
endif()
174
175
elseif(MSVC)
176
+ # A unary minus operator was applied to an unsigned type, resulting in an unsigned result.
177
+ add_compile_options(/W14146)
178
+ # A negative integral constant converted to unsigned type, resulting in a possibly meaningless result.
179
+ add_compile_options(/W14308)
180
+ # Use of an uninitialized local variable.
181
+ add_compile_options(/W14700)
182
+ # Use of a potentially uninitialized local pointer variable.
183
+ add_compile_options(/W14703)
184
if(NOT ENABLE_RTTI)
185
add_compile_options(/GR-) # Disable RTTI
186
0 commit comments