Add -Wundef to BDECFLAGS:
Warn if an undefined identifier is evaluated in an `#if' directive. Not objected to by: bde
This commit is contained in:
parent
8188b3ebcc
commit
cfac8ceef1
@ -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
|
||||
#
|
||||
|
@ -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
|
||||
#
|
||||
|
Loading…
Reference in New Issue
Block a user