Module Name: src Committed By: matt Date: Fri Sep 5 06:52:12 UTC 2014
Modified Files: src/sys/conf: Makefile.kern.inc Log Message: Add a commented out CWARNFLAGS to enable -Wc++-compat but don't treat them as errors. To generate a diff of this commit: cvs rdiff -u -r1.172 -r1.173 src/sys/conf/Makefile.kern.inc Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/conf/Makefile.kern.inc diff -u src/sys/conf/Makefile.kern.inc:1.172 src/sys/conf/Makefile.kern.inc:1.173 --- src/sys/conf/Makefile.kern.inc:1.172 Thu Aug 21 07:57:25 2014 +++ src/sys/conf/Makefile.kern.inc Fri Sep 5 06:52:12 2014 @@ -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+= -Wold-style-definition 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"