[Sugar-devel] [PATCH] Use GNOME_COMPILE_WARNINGS

marco at marcopg.org marco at marcopg.org
Thu Aug 19 19:24:10 EDT 2010


From: Marco Pesenti Gritti <marco at marcopg.org>

It's consistent with the rest of core modules and should give us
better compiler flags (plus options to tweak them).
---
 configure.ac |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/configure.ac b/configure.ac
index 8606785..3ade698 100644
--- a/configure.ac
+++ b/configure.ac
@@ -11,9 +11,7 @@ AM_DISABLE_STATIC
 
 PKG_PROG_PKG_CONFIG([0.19])
 
-dnl These catch plenty of subtle bugs and miscompilation problems
-WARN_CFLAGS="-Wall -W -Werror=implicit-function-declaration"
-AC_SUBST(WARN_CFLAGS)
+GNOME_COMPILE_WARNINGS(maximum)
 
 AC_PROG_CC
 AC_HEADER_STDC
-- 
1.7.0.4



More information about the Sugar-devel mailing list