We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 822cecf commit 265384fCopy full SHA for 265384f
CMakeLists.txt
@@ -282,12 +282,13 @@ else()
282
add_compile_options(-pedantic)
283
add_compile_options(-pedantic-errors)
284
285
+ add_compile_options(/Qspectre) # add Spectre mitigation compiler option. (https://docs.microsoft.com/en-us/cpp/build/reference/qspectre?view=vs-2017)
286
+
287
set(EXTRA_CFLAGS "-Wconversion -Wsign-conversion")
288
289
if(WIN32)
290
add_compile_options(-Wno-type-limits)
291
add_compile_options(-Wno-cast-function-type)
- add_compile_options(/Qspectre) # add Spectre mitigation compiler option. (https://docs.microsoft.com/en-us/cpp/build/reference/qspectre?view=vs-2017)
292
endif()
293
294
if(HAVE_SHORTEN_64_TO_32)
0 commit comments