diff options
author | aldot <aldot@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2006-04-02 20:41:55 +0000 |
---|---|---|
committer | aldot <aldot@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2006-04-02 20:41:55 +0000 |
commit | cec4bada318e60558cee10cab5e49cab0134dde9 (patch) | |
tree | 75e18b685b0932e561b02bab41899bd1303194aa | |
parent | d2daa340b1223602ec77e05f09ed0e25471f77bb (diff) | |
download | busybox-w32-cec4bada318e60558cee10cab5e49cab0134dde9.tar.gz busybox-w32-cec4bada318e60558cee10cab5e49cab0134dde9.tar.bz2 busybox-w32-cec4bada318e60558cee10cab5e49cab0134dde9.zip |
- switch Warning Of the Week to wrong or missing prototypes.
e.g. archival/uncompress.c wrongly includes libbb.h instead of busybox.h
decompress_bunzip2.c,open_transformer.c don't include the proper "unarchive.h"
etc, etc.
git-svn-id: svn://busybox.net/trunk/busybox@14730 69ca8d6d-28ef-0310-b511-8ec308f3f277
-rw-r--r-- | Rules.mak | 8 |
1 files changed, 3 insertions, 5 deletions
@@ -198,11 +198,9 @@ else | |||
198 | endif | 198 | endif |
199 | # warn a bit more verbosely for non-release versions | 199 | # warn a bit more verbosely for non-release versions |
200 | ifneq ($(EXTRAVERSION),) | 200 | ifneq ($(EXTRAVERSION),) |
201 | CFLAGS+=$(call check_gcc,-Wformat,) | 201 | CFLAGS+=$(call check_gcc,-Wstrict-prototypes,) |
202 | CFLAGS+=$(call check_gcc,-Wformat=2,) | 202 | CFLAGS+=$(call check_gcc,-Wmissing-prototypes,) |
203 | CFLAGS+=$(call check_gcc,-Wformat-nonliteral,) | 203 | CFLAGS+=$(call check_gcc,-Wmissing-declarations,) |
204 | CFLAGS+=$(call check_gcc,-Wformat-security,) | ||
205 | CFLAGS+=$(call check_gcc,-Wformat-y2k,) | ||
206 | endif | 204 | endif |
207 | STRIPCMD:=$(STRIP) -s --remove-section=.note --remove-section=.comment | 205 | STRIPCMD:=$(STRIP) -s --remove-section=.note --remove-section=.comment |
208 | ifeq ($(strip $(CONFIG_STATIC)),y) | 206 | ifeq ($(strip $(CONFIG_STATIC)),y) |