aboutsummaryrefslogtreecommitdiff
path: root/share/examples
diff options
context:
space:
mode:
authorJeroen Ruigrok van der Werven <asmodai@FreeBSD.org>2001-02-27 09:03:55 +0000
committerJeroen Ruigrok van der Werven <asmodai@FreeBSD.org>2001-02-27 09:03:55 +0000
commite18f542dc0e47128fe18e31544eb9798c267adcf (patch)
tree3a86b35dd826f6dc9711611993e139204067fa3f /share/examples
parenteec827b042d2155fca9d87e45f66a06510a97805 (diff)
downloadsrc-e18f542dc0e47128fe18e31544eb9798c267adcf.tar.gz
src-e18f542dc0e47128fe18e31544eb9798c267adcf.zip
Add -Wundef to BDECFLAGS:
Warn if an undefined identifier is evaluated in an `#if' directive. Not objected to by: bde
Notes
Notes: svn path=/head/; revision=73136
Diffstat (limited to 'share/examples')
-rw-r--r--share/examples/etc/make.conf2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/examples/etc/make.conf b/share/examples/etc/make.conf
index 8f4ba6f0c612..54cdca9c261d 100644
--- a/share/examples/etc/make.conf
+++ b/share/examples/etc/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
#