[PD-dev] [ pure-data-Patches-3411730 ] alloca.h not portable
SourceForge.net
noreply at sourceforge.net
Sat Dec 15 19:42:53 CET 2012
Patches item #3411730, was opened at 2011-09-20 00:35
Message generated for change (Settings changed) made by millerpuckette
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=478072&aid=3411730&group_id=55736
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: puredata
Group: bugfix
>Status: Pending
>Resolution: Fixed
Priority: 5
Private: No
Submitted By: Thomas Klausner (thomasklausner)
Assigned to: Nobody/Anonymous (nobody)
Summary: alloca.h not portable
Initial Comment:
The alloca.h header file is not portable, it doesn't exist e.g. on many BSDs or AIX.
I've changed the configure script to check for its existence and the users to check for the symbol before including alloca.h, or including malloc.h instead.
If Windows doesn't use the configure script, an "|| or defined(WIN32)" needs to be added at the end of the "defined(MALLOC_H)" lines.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=478072&aid=3411730&group_id=55736
More information about the Pd-dev
mailing list