[Bug 3613] Lack of feature test macros in building config

bugzilla at busybox.net bugzilla at busybox.net
Thu Sep 15 08:36:05 UTC 2011


https://bugs.busybox.net/show_bug.cgi?id=3613

--- Comment #5 from Denys Vlasenko <vda.linux at googlemail.com>  ---
You meant to say:

Please apply the following patch to suppress 'warning: implicit declaration of
function ‘alloca’' when bbox is built against musl. Tested.

--- busybox.1/scripts/basic/docproc.c
+++ busybox.2/scripts/basic/docproc.c
@@ -39,6 +39,7 @@
 #include <limits.h>
 #include <sys/types.h>
 #include <sys/wait.h>
+#include <alloca.h>

 /* exitstatus is used to keep track of any failing calls to kernel-doc,
  * but execution continues. */
--- busybox.1/scripts/basic/fixdep.c
+++ busybox.2/scripts/basic/fixdep.c
@@ -113,6 +113,7 @@
 #include <limits.h>
 #include <ctype.h>
 #include <arpa/inet.h>
+#include <alloca.h>

 /* bbox: not needed
 #define INT_CONF ntohl(0x434f4e46)



I will apply the above patch to git right now.
Do you have similar patch which fixes strdup/popen/pclose warnings?

-- 
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


More information about the busybox-cvs mailing list