Remove -Wbad-function-cast from GCC warnings.
authorRichard Kettlewell <richard@deodand>
Sun, 13 Jun 2010 09:12:27 +0000 (10:12 +0100)
committerRichard Kettlewell <richard@deodand>
Sun, 13 Jun 2010 09:12:27 +0000 (10:12 +0100)
configure.ac

index 69cdea3..f08d42c 100644 (file)
@@ -763,7 +763,7 @@ if test "x$GCC" = xyes; then
   fi
 
   # a reasonable default set of warnings
-  CC="${CC} -Wall -W -Wpointer-arith -Wbad-function-cast \
+  CC="${CC} -Wall -W -Wpointer-arith \
        -Wwrite-strings -Wmissing-prototypes \
        -Wmissing-declarations -Wnested-externs"