[tremor] Re: [PATCH] eliminate alloca() usage

Dimitry Andric dim at xs4all.nl
Thu Oct 17 02:40:10 PDT 2002



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 2002-10-17 at 05:38:51 Nicolas Pitre wrote:

NP> Anybody with another compiler than GCC please confirm if the attached
NP> patch works for you or not.

This will only work with GCC, since it is a GCC specific extension. It
is definitely not ANSI or ISO C. (Note that I agree that it is a very
handy feature, which almost entirely removes the need for an alloca()
function.)

<p>NP> If your compiler doesn't support variable-length automatic arrays nor a
NP> proper alloca() implementation then please do yourself a favor by trashing
NP> it and install GCC instead.

I'm sorry, but that is not always possible or desired. There are lots
of platforms that GCC doesn't handle. And GCC has enough problems of
its own also... :)

Please try to adhere to ANSI and/or ISO standards, that is IMHO the
proper way of handling this type of problem.

Cheers,
- --
Dimitry Andric <dim at xs4all.nl>
PGP Key: http://www.xs4all.nl/~dim/dim.asc
Fingerprint: 7AB462D2CE35FC6D42394FCDB05EA30A2E2096A3
Lbh ner abj va ivbyngvba bs gur QZPN

-----BEGIN PGP SIGNATURE-----
Version: 6.5.8ckt http://www.ipgpp.com/
Comment: http://duncan.gn.apc.org/stoa_cover.htm

iQA/AwUBPa53cLBeowouIJajEQJOfwCcCXf8guLSo7I1a7ELhuAqkuMMIdIAoPX6
NWOlWCl3BcMB6zL/u25br6Oj
=vcZi
-----END PGP SIGNATURE-----

--- >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 'tremor-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 Tremor mailing list