visualstudio: warning_level 0 should not map to /W1

In every other compilers level 0 maps to no argument at all.
pull/7424/head
Xavier Claessens 5 years ago committed by Xavier Claessens
parent 07e62fb42b
commit 6bf61b2a38
  1. 2
      mesonbuild/compilers/mixins/visualstudio.py

@ -114,7 +114,7 @@ class VisualStudioLikeCompiler(metaclass=abc.ABCMeta):
# See: https://ninja-build.org/manual.html#_deps
always_args = ['/nologo', '/showIncludes']
warn_args = {
'0': ['/W1'],
'0': [],
'1': ['/W2'],
'2': ['/W3'],
'3': ['/W4'],

Loading…
Cancel
Save