changeset 33158:775c82e1ece9

Add -Werror-implicit-function-declaration to default gcc compile flags.
author reimar
date Sat, 09 Apr 2011 22:08:01 +0000
parents 8073274a9ff2
children 18eb947fc34d
files configure
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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