From 70160ce8915b0040e2a7c495ad27b82565e2c5a1 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Tue, 3 Oct 2017 12:11:49 +0200 Subject: [PATCH] build-sys: require all defines under #if to be present This should help to catch any errors with typos and HAVE/ENABLE mismatches. --- meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meson.build b/meson.build index 2b1da8a..da0f015 100644 --- a/meson.build +++ b/meson.build @@ -242,7 +242,7 @@ if cxx.found() endif foreach arg : ['-Wextra', - '-Wundef', + '-Werror=undef', '-Wlogical-op', '-Wmissing-include-dirs', '-Wold-style-definition', -- 2.7.4