Commit d7d125f1 authored by Henrik Gramner's avatar Henrik Gramner Committed by Henrik Gramner
Browse files

msvc: Disable the C4090 warning

It's supposed to warn about const-correctness issues, but it doesn't
handle arrays of pointers correctly and will cause false positive
warnings when using memset() to zero such arrays for example.
parent 5faff383
Pipeline #68040 passed with stages
in 7 minutes and 26 seconds
......@@ -259,6 +259,7 @@ if cc.get_argument_syntax() != 'msvc'
optional_arguments += [
'-wd4028', # parameter different from declaration
'-wd4090', # broken with arrays of pointers
'-wd4996' # use of POSIX functions
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment