From 3b8951c1dcea8dd3121c0003241370765a13fc77 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Fri, 22 Feb 2019 11:20:18 +0100 Subject: [PATCH] meson: make sure preprocesor warnings are not treated as errors Clang includes -W#warning in -Werror, so the #warning used for msan would be an error. v2: - use -Wno-error=... so that the warning is still emitted, but not as an error. --- meson.build | 1 + 1 file changed, 1 insertion(+) diff --git a/meson.build b/meson.build index ed787d4749..c1f457bc7d 100644 --- a/meson.build +++ b/meson.build @@ -333,6 +333,7 @@ possible_cc_flags = [ '-Wno-missing-field-initializers', '-Wno-unused-result', '-Wno-format-signedness', + '-Wno-error=#warnings', # work-around for gcc 7.1 turning this on on its own. '-Wno-error=nonnull', -- 2.25.1