summaryrefslogtreecommitdiffstats
path: root/share/examples
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2000-06-26 21:43:19 +0000
committerobrien <obrien@FreeBSD.org>2000-06-26 21:43:19 +0000
commit0784a9a9df4574d64232c5d1ac996c36545b0898 (patch)
tree66ee92ede3c9d513d69c45d8799fa00ab68cca32 /share/examples
parent11ff214c03a74ed4fb57efbf70953152ca1f59cb (diff)
downloadFreeBSD-src-0784a9a9df4574d64232c5d1ac996c36545b0898.zip
FreeBSD-src-0784a9a9df4574d64232c5d1ac996c36545b0898.tar.gz
Add BDECFLAGS so people can use them easily in /etc/make.conf.
Diffstat (limited to 'share/examples')
-rw-r--r--share/examples/etc/make.conf9
1 files changed, 9 insertions, 0 deletions
diff --git a/share/examples/etc/make.conf b/share/examples/etc/make.conf
index 7a5a5fa..f88564b 100644
--- a/share/examples/etc/make.conf
+++ b/share/examples/etc/make.conf
@@ -26,6 +26,15 @@
#
#CXXFLAGS+= -fmemoize-lookups -fsave-memoized
#
+# BDECFLAGS are a set of gcc warning settings that Bruce Evans has suggested
+# for use in developing FreeBSD and testing changes. They can be used by
+# putting "CFLAGS+=${BDECFLAGS}" in /etc/make.conf.
+#
+BDECFLAGS= -W -Wall -ansi -pedantic -Wbad-function-cast -Wcast-align \
+ -Wcast-qual -Wchar-subscripts -Wconversion -Winline \
+ -Wmissing-prototypes -Wnested-externs -Wpointer-arith \
+ -Wredundant-decls -Wshadow -Wstrict-prototypes -Wwrite-strings
+#
# Avoid compiling profiled libraries
#NOPROFILE= true
#
OpenPOWER on IntegriCloud