diff options
author | Henrik Gramner <gramner@twoorioles.com> | 2021-02-08 16:26:42 +0300 |
---|---|---|
committer | Henrik Gramner <henrik@gramner.com> | 2021-02-15 17:10:36 +0300 |
commit | d7d125f17c5ba47fa5d6185e5097643531136b49 (patch) | |
tree | b5e73bfcc332bffa2fe1bf782bc85e1e55a4c354 /meson.build | |
parent | 5faff38322666f16e7446480dda89ba0d659e75e (diff) |
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.
Diffstat (limited to 'meson.build')
-rw-r--r-- | meson.build | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meson.build b/meson.build index 2af8302..0d2204e 100644 --- a/meson.build +++ b/meson.build @@ -259,6 +259,7 @@ if cc.get_argument_syntax() != 'msvc' else optional_arguments += [ '-wd4028', # parameter different from declaration + '-wd4090', # broken with arrays of pointers '-wd4996' # use of POSIX functions ] endif |