diff configure @ 398:7d59dd1ba5de

Add -Wextra, fix a couple of warnings it throws up
author Chris Cannam
date Tue, 16 Jun 2015 10:54:54 +0100
parents cff0f07178d6
children 3bfc44d26963
line wrap: on
line diff
--- a/configure	Tue Jun 16 10:26:12 2015 +0100
+++ b/configure	Tue Jun 16 10:54:54 2015 +0100
@@ -3950,11 +3950,11 @@
 if test "x$GCC" = "xyes"; then
   case " $CXXFLAGS " in
     *[\ \	]-fPIC\ -Wall[\ \	]*) ;;
-    *) CXXFLAGS="$CXXFLAGS -fPIC -Wall" ;;
+    *) CXXFLAGS="$CXXFLAGS -fPIC -Wall -Wextra" ;;
   esac
   case " $CFLAGS " in
     *[\ \	]-fPIC\ -Wall[\ \	]*) ;;
-    *) CFLAGS="$CFLAGS -fPIC -Wall" ;;
+    *) CFLAGS="$CFLAGS -fPIC -Wall -Wextra" ;;
   esac
 fi