From ac17f168eac45943fe972233835df68703579d7a Mon Sep 17 00:00:00 2001 From: Jon Turney Date: Mon, 1 Oct 2018 20:43:08 +0100 Subject: [PATCH] Accomodate clang-cl in test common/127 clang-cl does support '-Wmissing-include-dirs' (unlike msvc), but doesn't (currently) support '/ZI' (which is used by the default 'debug' buildtype), the presence of which will cause an 'unknown-argument' warning, which is treated as an error with 'Werror'. Adjust the default buildtype so this test can pass with clang-cl --- test cases/common/127 no buildincdir/meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test cases/common/127 no buildincdir/meson.build b/test cases/common/127 no buildincdir/meson.build index ac69e8e46..53f1a7f58 100644 --- a/test cases/common/127 no buildincdir/meson.build +++ b/test cases/common/127 no buildincdir/meson.build @@ -1,5 +1,5 @@ project('nobuilddir', 'c', - default_options : 'werror=true') + default_options : ['werror=true', 'buildtype=plain']) cc = meson.get_compiler('c')