Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/share/mk Add CXXFLAGS for WARNS=2



details:   https://anonhg.NetBSD.org/src/rev/0dce8c316d24
branches:  trunk
changeset: 583486:0dce8c316d24
user:      christos <christos%NetBSD.org@localhost>
date:      Tue Aug 09 02:38:06 2005 +0000

description:
Add CXXFLAGS for WARNS=2

diffstat:

 share/mk/bsd.sys.mk |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r 8eda92a91984 -r 0dce8c316d24 share/mk/bsd.sys.mk
--- a/share/mk/bsd.sys.mk       Tue Aug 09 02:33:38 2005 +0000
+++ b/share/mk/bsd.sys.mk       Tue Aug 09 02:38:06 2005 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: bsd.sys.mk,v 1.120 2005/07/09 18:45:16 christos Exp $
+#      $NetBSD: bsd.sys.mk,v 1.121 2005/08/09 02:38:06 christos Exp $
 #
 # Build definitions used for NetBSD source tree builds.
 
@@ -25,6 +25,9 @@
 .endif
 .if ${WARNS} > 2
 CFLAGS+=       -Wcast-qual -Wwrite-strings
+CXXFLAGS+=     -Wabi -Wctor-dtor-privacy -Wnon-virtual-dtor -Wreorder \
+               -Wno-deprecated -Wno-non-template-friend -Wold-style-cast \
+               -Woverloaded-virtual -Wno-pmf-conversions -Wsign-promo -Wsynth
 .endif
 .if ${WARNS} > 3 && ${MACHINE_ARCH} != "vax"
 CFLAGS+=       -std=c99



Home | Main Index | Thread Index | Old Index