On Sun, Apr 10, 2005 at 02:02:20PM +0200, Hrvoje Niksic wrote:
> It turns out that the alloca declaration that the Autoconf manual[1]
> recommends for config.h declares alloca() as returning char *, whereas
> the C implementation I use declares it as returning void *. But
> regardless of alloca.c,
[EMAIL PROTECTED] (James Youngman) writes:
> On Sun, Apr 10, 2005 at 02:02:20PM +0200, Hrvoje Niksic wrote:
>> It turns out that the alloca declaration that the Autoconf manual[1]
>> recommends for config.h declares alloca() as returning char *, whereas
>> the C implementation I use declares it as
Hrvoje Niksic <[EMAIL PROTECTED]> writes:
> I fixed this problem by changing the declaration from "char
> *alloca();" to "void *alloca();". Is there a better fix, or should
> the manual be updated for alloca to return void *?
Thanks for reporting this. The manual should be updated, for this and
I tried to compile Wget with "tcc", a tiny fast Linux compiler that
happens to not implement alloca. Since Wget's configure checks for
alloca and the source includes the C alloca implementation, it should
(in theory) work anyway. However, I got a compiler error:
tcc -I. -I.-DHAVE_CONFIG_H -D