Module Name:    src
Committed By:   wiz
Date:           Tue Jun 25 14:05:04 UTC 2013

Modified Files:
        src/external/mit/xorg/lib/fontconfig/src: Makefile

Log Message:
Add -Wno-error=tautological-constant-out-of-range-compare for clang, to avoid
../external/mit/fontconfig/dist/src/fcname.c:89:18: error: comparison of 
constant
4294967295 with expression of type 'const FcType' (aka 'const enum _FcType') is
always false [-Werror,-Wtautological-constant-out-of-range-compare]
            if (t->type == (unsigned int) -1 || type == t->type)
                ~~~~~~~ ^  ~~~~~~~~~~~~~~~~~
1 error generated.

and a few others of the same type.


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 src/external/mit/xorg/lib/fontconfig/src/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/mit/xorg/lib/fontconfig/src/Makefile
diff -u src/external/mit/xorg/lib/fontconfig/src/Makefile:1.13 src/external/mit/xorg/lib/fontconfig/src/Makefile:1.14
--- src/external/mit/xorg/lib/fontconfig/src/Makefile:1.13	Wed Jun  5 22:42:19 2013
+++ src/external/mit/xorg/lib/fontconfig/src/Makefile	Tue Jun 25 14:05:04 2013
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.13 2013/06/05 22:42:19 mrg Exp $
+#	$NetBSD: Makefile,v 1.14 2013/06/25 14:05:04 wiz Exp $
 
 .include <bsd.own.mk>
 
@@ -126,6 +126,7 @@ PKGCONFIG=	fontconfig
 CPPFLAGS.fcxml.c=	-Wno-error
 
 CWARNFLAGS.clang+=	-Wno-pointer-sign -Wno-switch
+CWARNFLAGS.clang+=	-Wno-error=tautological-constant-out-of-range-compare
 
 .include <bsd.x11.mk>
 .include <bsd.lib.mk>

Reply via email to