[issue1506] func alloca inside ctypes lib needs #include <alloca.h> on solaris

Greg Couch report at bugs.python.org
Wed Nov 28 19:18:32 CET 2007


Greg Couch added the comment:

A better solution would be to use the HAVE_ALLOCA and HAVE_ALLOCA_H
defines that fficonfig.h provides to decide whether or not to include
alloca.h.  And in callproc.c whether or not to provide a workaround
using malloc (I'm assuming non-gcc sparc compilers also support alloca
for sparc/ffi.c, but I don't know for sure).

----------
nosy: +gregcouch

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue1506>
__________________________________


More information about the Python-bugs-list mailing list