alloca redefinition on freebsd

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




Hey,

if one uses AC_FUNC_ALLOCA, the autoconf documentation gives the way to correctly define alloca.

On FreeBSD, alloca is already defined in stdlib.h. So if stdlib.h is included before that piece of code, a warning is displayed by gcc.

Shouldn't a guard be added in the piece of code of the docmentation of AC_FUNC_ALLOCA in order to avoid that warning (like #ifndef alloca etc...) ?

thank you

Vincent Torri


_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
http://lists.gnu.org/mailman/listinfo/autoconf

[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux