diff options
author | des <des@FreeBSD.org> | 2004-02-16 20:07:06 +0000 |
---|---|---|
committer | des <des@FreeBSD.org> | 2004-02-16 20:07:06 +0000 |
commit | bc27cba087649bc45346c9a2c126cd4b9817b542 (patch) | |
tree | f4cd78ebceed33d5dba376a031e17c5c2ba61575 /share/mk | |
parent | b5f599aa9ca636d4b9314a80c33fee7e8cf7ff6b (diff) | |
download | FreeBSD-src-bc27cba087649bc45346c9a2c126cd4b9817b542.zip FreeBSD-src-bc27cba087649bc45346c9a2c126cd4b9817b542.tar.gz |
Remove -Wbad-function-cast. Its main purpose is to catch bugs that we
already catch with -Wstrict-prototypes, and it causes spurious warnings
for some perfectly legitimate constructs.
Diffstat (limited to 'share/mk')
-rw-r--r-- | share/mk/bsd.sys.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/share/mk/bsd.sys.mk b/share/mk/bsd.sys.mk index d473079..587bc84 100644 --- a/share/mk/bsd.sys.mk +++ b/share/mk/bsd.sys.mk @@ -27,7 +27,7 @@ CWARNFLAGS += -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast . endif # BDECFLAGS . if ${WARNS} > 5 -CWARNFLAGS += -Wbad-function-cast -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls +CWARNFLAGS += -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls . endif . if ${WARNS} > 1 && ${WARNS} < 5 # XXX Delete -Wuninitialized by default for now -- the compiler doesn't |