bug-autoconf
[Top][All Lists]
Advanced

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

Re: alloca redeclaration warning on MinGW


From: Stepan Kasal
Subject: Re: alloca redeclaration warning on MinGW
Date: Mon, 27 Jun 2005 13:16:51 +0200
User-agent: Mutt/1.4.1i

Hello,

On Mon, Jun 27, 2005 at 12:30:53PM +0200, Hrvoje Niksic wrote:
> A tester tells me that the alloca declaration from the latest (CVS)
> Autoconf manual, now installed in Wget, warns about symbol
> redeclaration on MinGW:
> 
> #if HAVE_ALLOCA_H
> # include <alloca.h>
> #elif defined __GNUC__
> # define alloca __builtin_alloca
> 
> The problem is that MinGW is using GNU C, but also #defines alloca to
> __builtin_alloca in malloc.h, presumably to be compatible with MS VC.

what about the following patch?

Stepan

Attachment: autoconf-20050627-defined-alloca.patch
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]