Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/conf Add a commented out CWARNFLAGS to enable -Wc++-comp...
details: https://anonhg.NetBSD.org/src/rev/e82890f1f817
branches: trunk
changeset: 332048:e82890f1f817
user: matt <matt%NetBSD.org@localhost>
date: Fri Sep 05 06:52:12 2014 +0000
description:
Add a commented out CWARNFLAGS to enable -Wc++-compat but don't treat them
as errors.
diffstat:
sys/conf/Makefile.kern.inc | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diffs (17 lines):
diff -r 15c940427936 -r e82890f1f817 sys/conf/Makefile.kern.inc
--- a/sys/conf/Makefile.kern.inc Fri Sep 05 06:50:58 2014 +0000
+++ b/sys/conf/Makefile.kern.inc Fri Sep 05 06:52:12 2014 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.kern.inc,v 1.172 2014/08/21 07:57:25 skrll Exp $
+# $NetBSD: Makefile.kern.inc,v 1.173 2014/09/05 06:52:12 matt Exp $
#
# This file contains common `MI' targets and definitions and it is included
# at the bottom of each `MD' ${MACHINE}/conf/Makefile.${MACHINE}.
@@ -75,6 +75,7 @@
CWARNFLAGS+= -Wswitch -Wshadow
CWARNFLAGS+= -Wcast-qual -Wwrite-strings
CWARNFLAGS+= -Wno-unreachable-code
+#CWARNFLAGS+= -Wc++-compat -Wno-error=c++-compat
CWARNFLAGS+= -Wno-pointer-sign -Wno-attributes
. if ${MACHINE} == "i386" || ${MACHINE_ARCH} == "x86_64" || \
${MACHINE_ARCH} == "sparc64" || ${MACHINE} == "prep"
Home |
Main Index |
Thread Index |
Old Index