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

Segher Boessenkool segher at wanadoo.nl
Wed Nov 15 23:21:27 PST 2000



> Libvorbis is NOT C++. It will not, and should not be expected to, compile
> as C++. I don't think we'd be interested in patches to make it pseudo-C++.
> Anything that stops it compiling in a C compiler is a different matter.

Well, if we have:

omething * x;
void * y;

x = y;

if we instead write

x = (something *) y;

it is not only making compiling for C++ work, but it is also cleaning
up the C code.

And replacing the alloca()'s with malloc()/free() pairs _could_ be
useful. (1st for people without alloca() (who cares about-em anyway), and
2nd for people who are concerned about performance. I'll test if it makes
a speed difference.)

It seems David Mitchell has already written the code, so I'd like to see it.
I offer to split the patch into these different functional parts, if
anyone is
interested.

Dagdag,

Segher

--- >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