]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
build-sys: require all defines under #if to be present
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 3 Oct 2017 10:11:49 +0000 (12:11 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Wed, 4 Oct 2017 10:09:50 +0000 (12:09 +0200)
This should help to catch any errors with typos and HAVE/ENABLE mismatches.

meson.build

index 2b1da8a41b0d8b21da3903e10a61cb1a1cc9f761..da0f015b762aebd40a48b4cd02359837ad9c51c1 100644 (file)
@@ -242,7 +242,7 @@ if cxx.found()
 endif
 
 foreach arg : ['-Wextra',
-               '-Wundef',
+               '-Werror=undef',
                '-Wlogical-op',
                '-Wmissing-include-dirs',
                '-Wold-style-definition',