pixman: Branch 'master'

Søren Sandmann Pedersen sandmann at kemper.freedesktop.org
Sat Dec 28 15:27:24 PST 2013


 configure.ac |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit b29d74ef0c4164f4552da344723d3ae6f731011c
Author: Søren Sandmann <ssp at redhat.com>
Date:   Thu Dec 26 09:41:53 2013 -0500

    configure.ac: Check and use -Wno-unused-local-typedefs GCC option
    
    With GCC 4.8.2 the COMPILE_TIME_ASSERT macro produces a spurious
    warning about an unused local typedef:
    
        In file included from pixman.c:29:0:
        pixman.c: In function 'optimize_operator':
        pixman-private.h:1019:22: warning: typedef 'compile_time_assertion' locally defined but not used [-Wunused-local-typedefs]
    
    The flag -Wno-unused-local-typedefs suppresses that warning.

diff --git a/configure.ac b/configure.ac
index 5910fbb..6327972 100644
--- a/configure.ac
+++ b/configure.ac
@@ -184,6 +184,7 @@ AC_SUBST(LT_VERSION_INFO)
 
 PIXMAN_CHECK_CFLAG([-Wall])
 PIXMAN_CHECK_CFLAG([-Wdeclaration-after-statement])
+PIXMAN_CHECK_CFLAG([-Wno-unused-local-typedefs])
 PIXMAN_CHECK_CFLAG([-fno-strict-aliasing])
 
 dnl =========================================================================


More information about the xorg-commit mailing list