diff --git a/configure.ac b/configure.ac index 610143fe34..490fe5d94a 100644 --- a/configure.ac +++ b/configure.ac @@ -636,6 +636,7 @@ AS_CASE(["$GCC:${warnflags+set}:${extra_warnflags:+set}:"], -Werror=pointer-arith \ -Werror=shorten-64-to-32 \ -Werror=write-strings \ + -Werror=old-style-definition \ -Wimplicit-fallthrough=0 \ -Wmissing-noreturn \ -Wno-cast-function-type \