Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.sbin Passes with the relaxed array boundary check in clang
details: https://anonhg.NetBSD.org/src/rev/25c5abec4d5c
branches: trunk
changeset: 768143:25c5abec4d5c
user: joerg <joerg%NetBSD.org@localhost>
date: Tue Aug 09 13:04:28 2011 +0000
description:
Passes with the relaxed array boundary check in clang
diffstat:
usr.sbin/altq/altqd/Makefile | 4 ++--
usr.sbin/dhcp/Makefile.inc | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diffs (33 lines):
diff -r afca003d4070 -r 25c5abec4d5c usr.sbin/altq/altqd/Makefile
--- a/usr.sbin/altq/altqd/Makefile Tue Aug 09 13:03:36 2011 +0000
+++ b/usr.sbin/altq/altqd/Makefile Tue Aug 09 13:04:28 2011 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2011/06/22 05:23:54 mrg Exp $
+# $NetBSD: Makefile,v 1.6 2011/08/09 13:04:28 joerg Exp $
.include <bsd.own.mk>
@@ -20,5 +20,5 @@
# XXX
.if ${HAVE_GCC} == 45
-COPTS.altqd.c+= -Wno-array-bounds
+COPTS.altqd.c+= ${${ACTIVE_CC} == "gcc":?-Wno-array-bounds:}
.endif
diff -r afca003d4070 -r 25c5abec4d5c usr.sbin/dhcp/Makefile.inc
--- a/usr.sbin/dhcp/Makefile.inc Tue Aug 09 13:03:36 2011 +0000
+++ b/usr.sbin/dhcp/Makefile.inc Tue Aug 09 13:04:28 2011 +0000
@@ -1,11 +1,11 @@
-# $NetBSD: Makefile.inc,v 1.25 2011/06/20 07:44:02 mrg Exp $
+# $NetBSD: Makefile.inc,v 1.26 2011/08/09 13:04:28 joerg Exp $
WARNS?= 1 # XXX -Wshadow -Wcast-qual -Wsign-compare
.include <bsd.own.mk>
USE_FORT?= yes # network client/server
-CWARNFLAGS.clang+= -Wno-tautological-compare -Wno-array-bounds \
+CWARNFLAGS.clang+= -Wno-tautological-compare \
-Wno-conversion -Wno-constant-logical-operand \
-Wno-format-security
Home |
Main Index |
Thread Index |
Old Index