Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/share/mk Make the fact that we disable -Wuninitialized explc...
details: https://anonhg.NetBSD.org/src/rev/4a1988cb88d1
branches: trunk
changeset: 485934:4a1988cb88d1
user: thorpej <thorpej%NetBSD.org@localhost>
date: Tue May 09 00:15:55 2000 +0000
description:
Make the fact that we disable -Wuninitialized explcicit in the Makefile,
rather than relying on a compiler hack to do it for us.
diffstat:
share/mk/bsd.sys.mk | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diffs (18 lines):
diff -r c7d588df542a -r 4a1988cb88d1 share/mk/bsd.sys.mk
--- a/share/mk/bsd.sys.mk Mon May 08 23:33:15 2000 +0000
+++ b/share/mk/bsd.sys.mk Tue May 09 00:15:55 2000 +0000
@@ -1,10 +1,13 @@
-# $NetBSD: bsd.sys.mk,v 1.38 2000/02/01 06:00:35 tsutsui Exp $
+# $NetBSD: bsd.sys.mk,v 1.39 2000/05/09 00:15:55 thorpej Exp $
#
# Overrides used for NetBSD source tree builds.
.if defined(WARNS)
.if ${WARNS} > 0
CFLAGS+= -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith
+# XXX Delete -Wuninitialized by default for now -- the compiler doesn't
+# XXX always get it right.
+CFLAGS+= -Wno-uninitialized
.endif
.if ${WARNS} > 1
CFLAGS+=-Wreturn-type -Wcast-qual -Wpointer-arith -Wwrite-strings
Home |
Main Index |
Thread Index |
Old Index