8000
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 5ab90d3 + 5d78d63 commit 9d5f1baCopy full SHA for 9d5f1ba
cmake/DefaultCFlags.cmake
@@ -13,6 +13,9 @@ if(MSVC)
13
# /Gd - explicitly set cdecl calling convention
14
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} /Gd")
15
16
+ # Remove warnings about operands that use different enum types.
17
+ set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} /wd5287")
18
+
19
if(NOT (MSVC_VERSION LESS 1900))
20
# /guard:cf - Enable Control Flow Guard
21
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} /guard:cf")
0 commit comments