Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/share/mk Disable Clang's array boundary checker for now (hit...
details: https://anonhg.NetBSD.org/src/rev/cb46c0fd9177
branches: trunk
changeset: 765247:cb46c0fd9177
user: joerg <joerg%NetBSD.org@localhost>
date: Mon May 23 14:32:05 2011 +0000
description:
Disable Clang's array boundary checker for now (hits e.g. in GCC and BDB)
diffstat:
share/mk/bsd.sys.mk | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diffs (17 lines):
diff -r b90511142db5 -r cb46c0fd9177 share/mk/bsd.sys.mk
--- a/share/mk/bsd.sys.mk Mon May 23 14:29:55 2011 +0000
+++ b/share/mk/bsd.sys.mk Mon May 23 14:32:05 2011 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.sys.mk,v 1.197 2011/05/22 20:52:12 joerg Exp $
+# $NetBSD: bsd.sys.mk,v 1.198 2011/05/23 14:32:05 joerg Exp $
#
# Build definitions used for NetBSD source tree builds.
@@ -20,6 +20,7 @@
.if defined(WARNS)
.if ${WARNS} > 0
CFLAGS+= -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith
+CFLAGS+= ${${ACTIVE_CC} == "clang":? -Wno-array-bounds :}
#CFLAGS+= -Wmissing-declarations -Wredundant-decls -Wnested-externs
# Add -Wno-sign-compare. -Wsign-compare is included in -Wall as of GCC 3.3,
# but our sources aren't up for it yet. Also, add -Wno-traditional because
Home |
Main Index |
Thread Index |
Old Index