[cairo-commit] libpixman ChangeLog, 1.31, 1.32 configure.in, 1.12, 1.13

Carl Worth commit at pdx.freedesktop.org
Thu Dec 23 11:10:10 PST 2004


Committed by: cworth

Update of /cvs/cairo/libpixman
In directory gabe:/tmp/cvs-serv13571

Modified Files:
	ChangeLog configure.in 
Log Message:

        * src/slim_internal.h: Rename __internal_linkage to
        pixman_private.

        * src/icrop.h:
        * src/icint.h:
        * src/icimage.h: Track rename to pixman_private and move it to
        before the function return value to quiet gcc warnings about
        visibility attribute ignored for non-class type.


Index: ChangeLog
===================================================================
RCS file: /cvs/cairo/libpixman/ChangeLog,v
retrieving revision 1.31
retrieving revision 1.32
diff -u -d -r1.31 -r1.32
--- ChangeLog	23 Dec 2004 19:00:01 -0000	1.31
+++ ChangeLog	23 Dec 2004 19:10:08 -0000	1.32
@@ -1,5 +1,20 @@
 2004-12-23  Carl Worth  <cworth at cworth.org>
 
+	* src/slim_internal.h: Rename __internal_linkage to
+	pixman_private.
+
+	* src/icrop.h: 
+	* src/icint.h: 
+	* src/icimage.h: Track rename to pixman_private and move it to
+	before the function return value to quiet gcc warnings about
+	visibility attribute ignored for non-class type.
+
+	* configure.in: 
+	* src/Makefile.am (INCLUDES): Add the following warnings when
+	compiling with gcc: -Wall -Wpointer-arith -Wstrict-prototypes
+	-Wmissing-prototypes -Wmissing-declarations -Wnested-externs
+	-fno-strict-aliasing
+
 	* src/icrect.c (pixman_color_rects): Fix to actually call
 	pixman_fill_rect_32bpp in the 32 bpp case. Thanks to
 	TOKUNAGA Hiroyuki <tkng at xem.jp>.

Index: configure.in
===================================================================
RCS file: /cvs/cairo/libpixman/configure.in,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -d -r1.12 -r1.13
--- configure.in	13 Oct 2004 18:01:42 -0000	1.12
+++ configure.in	23 Dec 2004 19:10:08 -0000	1.13
@@ -36,6 +36,18 @@
 
 AC_C_BIGENDIAN
 
+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_OUTPUT([




More information about the cairo-commit mailing list