From 5fa861b05289f9589a2404e64fc5ca8f2678d31e Mon Sep 17 00:00:00 2001 From: Ruben Kerkhof Date: Wed, 11 Mar 2020 11:05:34 +0100 Subject: [PATCH] build: enable -Wundef warnings Now that we've fixed all of them, enable them by default if the compiler supports it. Signed-off-by: Ruben Kerkhof --- configure.ac | 1 + 1 file changed, 1 insertion(+) diff --git a/configure.ac b/configure.ac index fe389ebb35..628e0c8afc 100755 --- a/configure.ac +++ b/configure.ac @@ -295,6 +295,7 @@ AC_C_FLAG([-Wmissing-declarations]) AC_C_FLAG([-Wpointer-arith]) AC_C_FLAG([-Wbad-function-cast]) AC_C_FLAG([-Wwrite-strings]) +AC_C_FLAG([-Wundef]) if test "$enable_gcc_ultra_verbose" = "yes" ; then AC_C_FLAG([-Wcast-qual]) AC_C_FLAG([-Wstrict-prototypes]) -- 2.39.5