Use -W -Wno-unused
authorArturo Espinosa <unammx@src.gnome.org>
Sat, 19 Sep 1998 18:50:37 +0000 (18:50 +0000)
committerArturo Espinosa <unammx@src.gnome.org>
Sat, 19 Sep 1998 18:50:37 +0000 (18:50 +0000)
svn path=/trunk/; revision=394

macros/compiler-flags.m4

index c582a38..aec45d5 100644 (file)
@@ -15,7 +15,7 @@ AC_DEFUN([GNOME_COMPILE_WARNINGS],[
       esac
 
       if test "x$enable_compile_warnings" = "xyes"; then
-       warnCFLAGS="$warnCFLAGS -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith"
+       warnCFLAGS="$warnCFLAGS -W -Wno-unused -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith"
       fi
     fi
   fi