autoconf
[Top][All Lists]
Advanced

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

Re: documentation of AC_FUNC_ALLOCA and mingw-w64 compilers


From: Paul Eggert
Subject: Re: documentation of AC_FUNC_ALLOCA and mingw-w64 compilers
Date: Sun, 22 Jan 2012 12:51:33 -0800
User-agent: Mozilla/5.0 (X11; Linux i686; rv:8.0) Gecko/20111124 Thunderbird/8.0

On 01/22/2012 12:45 PM, Vincent Torri wrote:
> and there was a redefinition because stdlib.h is included just above,
> and stdlib.h includes malloc.h. And with mingw-w64 compilers, malloc.h 
> already defines alloca.

Is this the stdlib.h that comes with mingw-w64?  Can you
show the code that does that inclusion?  Is it a simple

#include <malloc.h>

or is it protected by an #if or #ifdef?  Also, how does
malloc.h define alloca?   Presumably it does not look like
this:

#define alloca __builtin_alloca

so what does it look like?  And is it defined unconditionally,
or is it protected by an #if?

That's the sort of thing I'm interested in.



reply via email to

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