[cairo-commit] cairo-gtk-engine ChangeLog, 1.5, 1.6 configure.ac, 1.2, 1.3

Carl Worth commit at pdx.freedesktop.org
Thu Feb 3 12:12:49 PST 2005


Committed by: cworth

Update of /cvs/cairo/cairo-gtk-engine
In directory gabe:/tmp/cvs-serv29755

Modified Files:
	ChangeLog configure.ac 
Log Message:

        * configure.ac (WARN_CFLAGS):
        * src/Makefile.am (INCLUDES): Enable lots of helpful -W flags when
        compiling with gcc.


Index: ChangeLog
===================================================================
RCS file: /cvs/cairo/cairo-gtk-engine/ChangeLog,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- ChangeLog	3 Feb 2005 20:03:59 -0000	1.5
+++ ChangeLog	3 Feb 2005 20:12:47 -0000	1.6
@@ -1,5 +1,9 @@
 2005-02-03  Carl Worth  <cworth at cworth.org>
 
+	* configure.ac (WARN_CFLAGS): 
+	* src/Makefile.am (INCLUDES): Enable lots of helpful -W flags when
+	compiling with gcc.
+
 	* src/cge.c: 
 	* src/cge-draw.c: 
 	* src/cge-style.c: 

Index: configure.ac
===================================================================
RCS file: /cvs/cairo/cairo-gtk-engine/configure.ac,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- configure.ac	4 Sep 2003 15:16:26 -0000	1.2
+++ configure.ac	3 Feb 2005 20:12:47 -0000	1.3
@@ -27,6 +27,18 @@
 
 AC_SUBST(GTK_VERSION)
 
+dnl ===========================================================================
+dnl Use lots of warning flags with GCC
+
+WARN_CFLAGS=""
+if test "x$GCC" = "xyes"; then
+	WARN_CFLAGS="-Wall -Wpointer-arith -Wstrict-prototypes \
+	-Wmissing-prototypes -Wmissing-declarations \
+	-Wnested-externs -fno-strict-aliasing"
+fi
+AC_SUBST(WARN_CFLAGS)
+dnl ===========================================================================
+
 AC_CONFIG_FILES([
 Makefile
 theme/Makefile




More information about the cairo-commit mailing list