From: Zbigniew Jędrzejewski-Szmek Date: Tue, 3 Oct 2017 10:11:49 +0000 (+0200) Subject: build-sys: require all defines under #if to be present X-Git-Tag: v235~27^2~6 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=70160ce8915b0040e2a7c495ad27b82565e2c5a1;p=platform%2Fupstream%2Fsystemd.git build-sys: require all defines under #if to be present This should help to catch any errors with typos and HAVE/ENABLE mismatches. --- 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',