svn commit: trunk/busybox
aldot at busybox.net
aldot at busybox.net
Sun Apr 2 20:41:56 UTC 2006
Author: aldot
Date: 2006-04-02 13:41:55 -0700 (Sun, 02 Apr 2006)
New Revision: 14730
Log:
- 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.
Modified:
trunk/busybox/Rules.mak
Changeset:
Modified: trunk/busybox/Rules.mak
===================================================================
--- trunk/busybox/Rules.mak 2006-04-02 20:25:08 UTC (rev 14729)
+++ trunk/busybox/Rules.mak 2006-04-02 20:41:55 UTC (rev 14730)
@@ -198,11 +198,9 @@
endif
# warn a bit more verbosely for non-release versions
ifneq ($(EXTRAVERSION),)
- CFLAGS+=$(call check_gcc,-Wformat,)
- CFLAGS+=$(call check_gcc,-Wformat=2,)
- CFLAGS+=$(call check_gcc,-Wformat-nonliteral,)
- CFLAGS+=$(call check_gcc,-Wformat-security,)
- CFLAGS+=$(call check_gcc,-Wformat-y2k,)
+ CFLAGS+=$(call check_gcc,-Wstrict-prototypes,)
+ CFLAGS+=$(call check_gcc,-Wmissing-prototypes,)
+ CFLAGS+=$(call check_gcc,-Wmissing-declarations,)
endif
STRIPCMD:=$(STRIP) -s --remove-section=.note --remove-section=.comment
ifeq ($(strip $(CONFIG_STATIC)),y)
More information about the busybox-cvs
mailing list