@@ -40,30 +40,30 @@ compiler_flags = [
4040]
4141
4242if cc.get_id() == ' msvc'
43- compiler_flags += ' -Wno-unsafe-buffer-usage'
44- compiler_flags += ' -Wno-sign-conversion'
45- compiler_flags += ' -Wno-nonportable-system-include-path'
46- compiler_flags += ' -Wno-implicit-int-conversion'
47- compiler_flags += ' -Wno-shorten-64-to-32'
48- compiler_flags += ' -Wno-reserved-macro-identifier'
49- compiler_flags += ' -Wno-reserved-identifier'
50- compiler_flags += ' -Wdeprecated-declarations'
51- compiler_flags += ' /experimental:c11atomics'
52- compiler_flags += ' /wd4018' # -Wno-sign-conversion
53- compiler_flags += ' /wd4061' # -Wno-implicit-fallthrough
54- compiler_flags += ' /wd4100' # -Wno-unused-parameter
55- compiler_flags += ' /wd4200' # -Wno-zero-length-array
56- compiler_flags += ' /wd4242' # -Wno-shorten-64-to-32
57- compiler_flags += ' /wd4244' # -Wno-shorten-64-to-32
58- compiler_flags += ' /wd4245' # -Wno-sign-compare
59- compiler_flags += ' /wd4267' # -Wno-shorten-64-to-32
60- compiler_flags += ' /wd4388' # -Wno-sign-compare
61- compiler_flags += ' /wd4389' # -Wno-sign-compare
62- compiler_flags += ' /wd4710' # Function not inlined
63- compiler_flags += ' /wd4711' # Function was inlined
64- compiler_flags += ' /wd4820' # Padding added after construct
65- compiler_flags += ' /wd4996' # -Wdeprecated-declarations
66- compiler_flags += ' /wd5045' # Compiler will insert Spectre mitigation for memory load if /Qspectre switch specified
43+ compiler_flags += ' -Wno-unsafe-buffer-usage'
44+ compiler_flags += ' -Wno-sign-conversion'
45+ compiler_flags += ' -Wno-nonportable-system-include-path'
46+ compiler_flags += ' -Wno-implicit-int-conversion'
47+ compiler_flags += ' -Wno-shorten-64-to-32'
48+ compiler_flags += ' -Wno-reserved-macro-identifier'
49+ compiler_flags += ' -Wno-reserved-identifier'
50+ compiler_flags += ' -Wdeprecated-declarations'
51+ compiler_flags += ' /experimental:c11atomics'
52+ compiler_flags += ' /wd4018' # -Wno-sign-conversion
53+ compiler_flags += ' /wd4061' # -Wno-implicit-fallthrough
54+ compiler_flags += ' /wd4100' # -Wno-unused-parameter
55+ compiler_flags += ' /wd4200' # -Wno-zero-length-array
56+ compiler_flags += ' /wd4242' # -Wno-shorten-64-to-32
57+ compiler_flags += ' /wd4244' # -Wno-shorten-64-to-32
58+ compiler_flags += ' /wd4245' # -Wno-sign-compare
59+ compiler_flags += ' /wd4267' # -Wno-shorten-64-to-32
60+ compiler_flags += ' /wd4388' # -Wno-sign-compare
61+ compiler_flags += ' /wd4389' # -Wno-sign-compare
62+ compiler_flags += ' /wd4710' # Function not inlined
63+ compiler_flags += ' /wd4711' # Function was inlined
64+ compiler_flags += ' /wd4820' # Padding added after construct
65+ compiler_flags += ' /wd4996' # -Wdeprecated-declarations
66+ compiler_flags += ' /wd5045' # Compiler will insert Spectre mitigation for memory load if /Qspectre switch specified
6767endif
6868
6969# required on linux, but ignored by windows
0 commit comments