summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorRuben Kerkhof <ruben@rubenkerkhof.com>2020-03-11 11:05:34 +0100
committerRuben Kerkhof <ruben@rubenkerkhof.com>2020-03-30 11:22:58 +0200
commit5fa861b05289f9589a2404e64fc5ca8f2678d31e (patch)
tree5e2de7d76bf6c6cf650408ef05bfa0458abf635d /configure.ac
parentbfdd: fix -Wundef warning (diff)
downloadfrr-5fa861b05289f9589a2404e64fc5ca8f2678d31e.tar.xz
frr-5fa861b05289f9589a2404e64fc5ca8f2678d31e.zip
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 <ruben@rubenkerkhof.com>
Diffstat (limited to 'configure.ac')
-rwxr-xr-xconfigure.ac1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index fe389ebb3..628e0c8af 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])