diff options
| author | Ruben Kerkhof <ruben@rubenkerkhof.com> | 2020-03-11 11:05:34 +0100 |
|---|---|---|
| committer | Ruben Kerkhof <ruben@rubenkerkhof.com> | 2020-03-30 11:22:58 +0200 |
| commit | 5fa861b05289f9589a2404e64fc5ca8f2678d31e (patch) | |
| tree | 5e2de7d76bf6c6cf650408ef05bfa0458abf635d | |
| parent | 0cd61f8d2420b482cf3cc0a6a6416c15daed332c (diff) | |
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>
| -rwxr-xr-x | configure.ac | 1 |
1 files changed, 1 insertions, 0 deletions
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]) |
