# HG changeset patch # User reimar # Date 1302386881 0 # Node ID 775c82e1ece9449d600fea316637cfef20b9e9e1 # Parent 8073274a9ff26d9644bc33596aaaa6e670fdd872 Add -Werror-implicit-function-declaration to default gcc compile flags. diff -r 8073274a9ff2 -r 775c82e1ece9 configure --- a/configure Sat Apr 09 20:10:12 2011 +0000 +++ b/configure Sat Apr 09 22:08:01 2011 +0000 @@ -2583,7 +2583,7 @@ CFLAGS="-O2 $_march $_mcpu $_pipe" else CFLAGS="-O4 $_march $_mcpu $_pipe -ffast-math -fomit-frame-pointer" - WARNFLAGS="-Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls" + WARNFLAGS="-Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror-implicit-function-declaration" extra_ldflags="$extra_ldflags -ffast-math" fi else