diff options
author | asmodai <asmodai@FreeBSD.org> | 2001-02-27 09:03:55 +0000 |
---|---|---|
committer | asmodai <asmodai@FreeBSD.org> | 2001-02-27 09:03:55 +0000 |
commit | cfac8ceef1239f8d358f4f787c94638bb60b8214 (patch) | |
tree | dc7c75634c8e703fc9ae0ab51b138522194be2e5 /etc/defaults/make.conf | |
parent | 8188b3ebcc6b23f46dfedd572380262a6070b378 (diff) | |
download | FreeBSD-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/defaults/make.conf')
-rw-r--r-- | etc/defaults/make.conf | 2 |
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 # |