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 ea77d46 commit 04bee60Copy full SHA for 04bee60
CMakeLists.txt
@@ -401,6 +401,8 @@ if(MSVC)
401
add_compile_flag("/WX-")
402
add_compile_flag("/D_CRT_SECURE_NO_WARNINGS")
403
add_compile_flag("/D_SCL_SECURE_NO_WARNINGS")
404
+ # add warnings specifically to non exhaustive switch on enums
405
+ add_compile_flag("/w14062")
406
407
if(RUN_STATIC_ANALYZER)
408
add_definitions(/analyze)
0 commit comments