Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/mit/xorg/lib/fontconfig/src Add -Wno-error=tautolog...
details: https://anonhg.NetBSD.org/src/rev/a85d930e2b54
branches: trunk
changeset: 787592:a85d930e2b54
user: wiz <wiz%NetBSD.org@localhost>
date: Tue Jun 25 14:05:04 2013 +0000
description:
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.
diffstat:
external/mit/xorg/lib/fontconfig/src/Makefile | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diffs (17 lines):
diff -r 3be22da2d661 -r a85d930e2b54 external/mit/xorg/lib/fontconfig/src/Makefile
--- a/external/mit/xorg/lib/fontconfig/src/Makefile Tue Jun 25 13:56:59 2013 +0000
+++ b/external/mit/xorg/lib/fontconfig/src/Makefile Tue Jun 25 14:05:04 2013 +0000
@@ -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 @@
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>
Home |
Main Index |
Thread Index |
Old Index