svn commit: trunk/busybox
aldot at busybox.net
aldot at busybox.net
Thu Jun 21 03:28:13 PDT 2007
Author: aldot
Date: 2007-06-21 03:28:11 -0700 (Thu, 21 Jun 2007)
New Revision: 18877
Log:
since we removed the deprecated matches() now and thus not alot of warnings are currently seen, let's strive to fixup these:
- warn a little bit about unused results
Modified:
trunk/busybox/Makefile.flags
Changeset:
Modified: trunk/busybox/Makefile.flags
===================================================================
--- trunk/busybox/Makefile.flags 2007-06-21 10:20:13 UTC (rev 18876)
+++ trunk/busybox/Makefile.flags 2007-06-21 10:28:11 UTC (rev 18877)
@@ -28,6 +28,9 @@
ifeq ($(CONFIG_WERROR),y)
CFLAGS += $(call cc-option,-Werror,)
+else
+# for development, warn a little bit about unused results..
+CPPFLAGS += -D_FORTIFY_SOURCE=2
endif
# gcc 3.x emits bogus "old style proto" warning on find.c:alloc_action()
CFLAGS += $(call cc-ifversion, -ge, 0400, -Wold-style-definition)
More information about the busybox-cvs
mailing list