Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external Don't let clang warn about comparing pointers with ...
details: https://anonhg.NetBSD.org/src/rev/a9b98e9f7e63
branches: trunk
changeset: 931029:a9b98e9f7e63
user: joerg <joerg%NetBSD.org@localhost>
date: Mon Apr 20 13:04:10 2020 +0000
description:
Don't let clang warn about comparing pointers with string literals.
diffstat:
external/bsd/nvi/usr.bin/nvi/Makefile | 3 ++-
external/ibm-public/postfix/Makefile.inc | 5 +++--
external/mit/xorg/bin/xkbcomp/Makefile | 4 ++--
3 files changed, 7 insertions(+), 5 deletions(-)
diffs (51 lines):
diff -r 2ac5e514e9d5 -r a9b98e9f7e63 external/bsd/nvi/usr.bin/nvi/Makefile
--- a/external/bsd/nvi/usr.bin/nvi/Makefile Mon Apr 20 13:02:57 2020 +0000
+++ b/external/bsd/nvi/usr.bin/nvi/Makefile Mon Apr 20 13:04:10 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.21 2020/04/12 17:28:57 martin Exp $
+# $NetBSD: Makefile,v 1.22 2020/04/20 13:04:10 joerg Exp $
.include <bsd.own.mk>
@@ -17,6 +17,7 @@
CWARNFLAGS.gcc+= -Wno-unused
CWARNFLAGS.clang+= -Wno-unsequenced
.endif
+CWARNFLAGS.clang+= -Wno-error=string-compare
CPPFLAGS+=-I${DIST}/include -I${.CURDIR} -I.
CPPFLAGS+=-DGTAGS -DIMCTRL
diff -r 2ac5e514e9d5 -r a9b98e9f7e63 external/ibm-public/postfix/Makefile.inc
--- a/external/ibm-public/postfix/Makefile.inc Mon Apr 20 13:02:57 2020 +0000
+++ b/external/ibm-public/postfix/Makefile.inc Mon Apr 20 13:04:10 2020 +0000
@@ -1,9 +1,10 @@
-# $NetBSD: Makefile.inc,v 1.22 2020/04/04 15:45:45 christos Exp $
+# $NetBSD: Makefile.inc,v 1.23 2020/04/20 13:04:10 joerg Exp $
.include <bsd.own.mk>
USE_FORT?= yes # network client and server
-CWARNFLAGS.clang+= -Wno-empty-body -Wno-format-extra-args -Wno-string-plus-int
+CWARNFLAGS.clang+= -Wno-empty-body -Wno-format-extra-args \
+ -Wno-string-plus-int -Wno-string-compare
WARNS?= 0
PFIX_DISTDIR= ${NETBSDSRCDIR}/external/ibm-public/postfix/dist
diff -r 2ac5e514e9d5 -r a9b98e9f7e63 external/mit/xorg/bin/xkbcomp/Makefile
--- a/external/mit/xorg/bin/xkbcomp/Makefile Mon Apr 20 13:02:57 2020 +0000
+++ b/external/mit/xorg/bin/xkbcomp/Makefile Mon Apr 20 13:04:10 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2015/07/20 23:50:23 mrg Exp $
+# $NetBSD: Makefile,v 1.11 2020/04/20 13:04:10 joerg Exp $
.include <bsd.own.mk>
.include "Makefile.common"
@@ -28,7 +28,7 @@
.PATH: ${X11SRCDIR.${PROG}}
.PATH: ${X11SRCDIR.${PROG}}/man
-CWARNFLAGS.clang+= -Wno-parentheses
+CWARNFLAGS.clang+= -Wno-parentheses -Wno-string-compare
.include "../../xorg-pkg-ver.mk"
Home |
Main Index |
Thread Index |
Old Index