From 6bf61b2a384ab42c679097ea749f8c5235f1e9f8 Mon Sep 17 00:00:00 2001 From: Xavier Claessens Date: Wed, 22 Jul 2020 10:42:20 -0400 Subject: visualstudio: warning_level 0 should not map to /W1 In every other compilers level 0 maps to no argument at all. --- mesonbuild/compilers/mixins/visualstudio.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mesonbuild/compilers/mixins/visualstudio.py b/mesonbuild/compilers/mixins/visualstudio.py index 4dfd8b4..93101b5 100644 --- a/mesonbuild/compilers/mixins/visualstudio.py +++ b/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'], -- cgit v1.1