summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorasmodai <asmodai@FreeBSD.org>2001-02-27 09:03:55 +0000
committerasmodai <asmodai@FreeBSD.org>2001-02-27 09:03:55 +0000
commitcfac8ceef1239f8d358f4f787c94638bb60b8214 (patch)
treedc7c75634c8e703fc9ae0ab51b138522194be2e5 /etc
parent8188b3ebcc6b23f46dfedd572380262a6070b378 (diff)
downloadFreeBSD-src-cfac8ceef1239f8d358f4f787c94638bb60b8214.zip
FreeBSD-src-cfac8ceef1239f8d358f4f787c94638bb60b8214.tar.gz
Add -Wundef to BDECFLAGS:
Warn if an undefined identifier is evaluated in an `#if' directive. Not objected to by: bde
Diffstat (limited to 'etc')
-rw-r--r--etc/defaults/make.conf2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/defaults/make.conf b/etc/defaults/make.conf
index 8f4ba6f..54cdca9 100644
--- a/etc/defaults/make.conf
+++ b/etc/defaults/make.conf
@@ -50,7 +50,7 @@
# putting "CFLAGS+=${BDECFLAGS}" in /etc/make.conf.
#
BDECFLAGS= -W -Wall -ansi -pedantic -Wbad-function-cast -Wcast-align \
- -Wcast-qual -Wchar-subscripts -Wconversion -Winline \
+ -Wcast-qual -Wchar-subscripts -Wconversion -Winline -Wundef \
-Wmissing-prototypes -Wnested-externs -Wpointer-arith \
-Wredundant-decls -Wshadow -Wstrict-prototypes -Wwrite-strings
#
OpenPOWER on IntegriCloud