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.
2 parents 5cae965 + ab4bb52 commit 027a8a3Copy full SHA for 027a8a3
CMakeLists.txt
@@ -122,6 +122,9 @@ if(MSVC)
122
# Enable C5038 - This is equivalent to gcc's -Werror=reorder, which is enabled by default by gcc -Wall
123
add_compile_options("/w15038")
124
125
+ # Enable C4062 - Warns about missing enum case in switch statement, equivalent to gcc -Wswitch
126
+ add_compile_options("/w14062")
127
+
128
# MSVC panics if an object file contains more than 65,279 sections. this
129
# happens quite frequently with code that uses templates, such as vectors.
130
add_compile_options("/bigobj")
0 commit comments