[PD-dev] [ pure-data-Patches-3411730 ] alloca.h not portable

SourceForge.net noreply at sourceforge.net
Tue Sep 20 09:35:04 CEST 2011


Patches item #3411730, was opened at 2011-09-20 09:35
Message generated for change (Tracker Item Submitted) made by thomasklausner
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: Open
Resolution: None
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