When I try cross-compiling using
./configure '--host=i586-mingw32msvc'
I get warnings on alloca usage, e.g.,
/home/nisse/hack/nettle/cbc.c: In function `nettle_cbc_decrypt':
/home/nisse/hack/nettle/cbc.c:101: warning: implicit declaration of function `alloca'
/home/nisse/hack/nettle/cbc.c:101: warning: incompatible implicit declaration of built-in function `alloca'
Which header should I include to get a proper declaration? In config.h,
I have some boilerplate code which includes malloc.h, but only if *not*
using gcc. Should I always include malloc.h if it exists, regardless of
the compiler used?
Regards,
/Niels
--
Niels Möller. PGP-encrypted email is preferred. Keyid C0B98E26.
Internet email is subject to wholesale government surveillance.