[Python-Dev] cpython (3.3): ctypes: AIX needs an explicit #include <alloca.h> to get alloca()

Victor Stinner victor.stinner at gmail.com
Tue Jun 18 13:32:14 CEST 2013


2013/6/18 Christian Heimes <christian at python.org>:
> Am 18.06.2013 12:56, schrieb Jeremy Kloth:
>> On Mon, Jun 17, 2013 at 2:02 PM, victor.stinner
>>> +#include <alloca.h>
>>
>> This header is not present on Windows, thus breaking all the Windows
>> buildbots.  Perhaps it should be wrapped in an AIX-specific #ifdef?

Oh really? Portability is complex :-) I only tested on Linux, but I
expected this header to be part of the C standard...

> I have added HAVE_ALLOCA_H to configure:
>
> http://hg.python.org/cpython/rev/7b6ae19dd116

Cool, thanks.

Victor


More information about the Python-Dev mailing list