build: Use GNOME_COMPILE_WARNINGS
authorColin Walters <walters@verbum.org>
Thu, 31 Jan 2013 17:07:17 +0000 (12:07 -0500)
committerColin Walters <walters@verbum.org>
Thu, 31 Jan 2013 17:07:17 +0000 (12:07 -0500)
So we reuse the standard -Werror set of minimal code quality warnings.

configure.ac

index 16dfe51..8a20924 100644 (file)
@@ -215,6 +215,8 @@ if test "x$enable_rebuilds" = "xyes" && \
 fi
 AC_SUBST(REBUILD)
 
 fi
 AC_SUBST(REBUILD)
 
+GNOME_COMPILE_WARNINGS([maximum])
+
 AC_CONFIG_FILES([
 Makefile
 po/Makefile.in
 AC_CONFIG_FILES([
 Makefile
 po/Makefile.in