forked from Mirror/frr
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>
This commit is contained in:
parent
0cd61f8d24
commit
5fa861b052
|
@ -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])
|
||||
|
|
Loading…
Reference in a new issue