[cairo-commit] svg2png ChangeLog,1.5,1.6 configure.in,1.1.1.1,1.2

Carl Worth commit at pdx.freedesktop.org
Thu Jan 20 08:39:17 PST 2005


Committed by: cworth

Update of /cvs/cairo/svg2png
In directory gabe:/tmp/cvs-serv18454

Modified Files:
	ChangeLog configure.in 
Log Message:

        * src/svg2png.c: Track split-up of cairo.h.

        * configure.in: Add lots of warning flags when compiling with gcc.


Index: ChangeLog
===================================================================
RCS file: /cvs/cairo/svg2png/ChangeLog,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- ChangeLog	28 Oct 2004 21:16:44 -0000	1.5
+++ ChangeLog	20 Jan 2005 16:39:15 -0000	1.6
@@ -1,3 +1,9 @@
+2005-01-20  Carl Worth  <cworth at cworth.org>
+
+	* src/svg2png.c: Track split-up of cairo.h.
+
+	* configure.in: Add lots of warning flags when compiling with gcc.
+
 2004-10-28  Carl Worth  <cworth at cworth.org>
 
 	* doc/Makefile.am: Add $(man_MANS) to EXTRA_DIST. For some reason,

Index: configure.in
===================================================================
RCS file: /cvs/cairo/svg2png/configure.in,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -u -d -r1.1.1.1 -r1.2
--- configure.in	27 Apr 2004 02:10:02 -0000	1.1.1.1
+++ configure.in	20 Jan 2005 16:39:15 -0000	1.2
@@ -21,6 +21,18 @@
 dnl ===========================================================================
 
 PKG_CHECK_MODULES(SVG2PNG, libsvg-cairo >= 0.1.3)
+
+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
+SVG2PNG_CFLAGS="$SVG2PNG_CFLAGS $WARN_CFLAGS"
+
 AC_SUBST(SVG2PNG_CFLAGS)
 AC_SUBST(SVG2PNG_LIBS)
 




More information about the cairo-commit mailing list