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 ea92a73 + ff005e2 commit 4c73b57Copy full SHA for 4c73b57
CMakeLists.txt
@@ -153,7 +153,11 @@ if(FTESV)
153
endif()
154
# If not Miscrosoft compilator - then set additional options for linker.
155
if (CMAKE_C_COMPILER_ID STREQUAL "MSVC")
156
- target_compile_options(${PROJECT_NAME} PRIVATE /W4)
+ # 4100 - unused parameter
157
+ # 4210 - using extern keyword in functions
158
+ # 4456 - shadowing locals, broadly used
159
+ # 4459 - shadowing globals, broadly used
160
+ target_compile_options(${PROJECT_NAME} PRIVATE /W4 /wd4100 /wd4210 /wd4456 /wd4459)
161
else()
162
target_compile_options(${PROJECT_NAME} PRIVATE -Wall)
163
0 commit comments