[vorbis-dev] BeOS on PPC compile, thread question.

Ralph Giles giles at ashlu.bc.ca
Thu Nov 16 17:24:59 PST 2000



On Thu, 16 Nov 2000, Chris Hanson wrote:

> >Replacing alloca() with malloc()/free() is certainly wrong.
> >*Possibly* replacing it with _vorbis_block_alloc may be correct as it
> >comes out of a libvorbis maintained pool.
> 
> But using alloca in a cross-platform library (which should be as 
> ANSI-compliant as possible) is also wrong.

FWIW, one of the oldest autoconf macros is AC_FUNC_ALLOCA so it's easy to
choose between monty's suggestions at build time. I assume this is a
well-studied issue.

 -r

--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'vorbis-dev-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.



More information about the Vorbis-dev mailing list