Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/share/mk Add -Wconversion for WARNS > 5
details: https://anonhg.NetBSD.org/src/rev/d09e6b06d770
branches: trunk
changeset: 787950:d09e6b06d770
user: christos <christos%NetBSD.org@localhost>
date: Tue Jul 16 17:48:52 2013 +0000
description:
Add -Wconversion for WARNS > 5
diffstat:
share/mk/bsd.sys.mk | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diffs (19 lines):
diff -r 890b69b3e64c -r d09e6b06d770 share/mk/bsd.sys.mk
--- a/share/mk/bsd.sys.mk Tue Jul 16 17:48:22 2013 +0000
+++ b/share/mk/bsd.sys.mk Tue Jul 16 17:48:52 2013 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.sys.mk,v 1.223 2013/01/27 02:31:44 christos Exp $
+# $NetBSD: bsd.sys.mk,v 1.224 2013/07/16 17:48:52 christos Exp $
#
# Build definitions used for NetBSD source tree builds.
@@ -64,6 +64,9 @@
.if ${WARNS} > 4
CFLAGS+= -Wold-style-definition
.endif
+.if ${WARNS} > 5
+CFLAGS+= -Wconversion
+.endif
CFLAGS+= -Wsign-compare -Wformat=2
CFLAGS+= ${${ACTIVE_CC} == "clang":? -Wno-error=format-nonliteral :}
CFLAGS+= ${${ACTIVE_CC} == "gcc":? -Wno-format-zero-length :}
Home |
Main Index |
Thread Index |
Old Index