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

Segher Boessenkool segher at wanadoo.nl
Wed Nov 15 15:08:30 PST 2000



> AFAIK, a compiler which requires a cast from void * is behaving
> incorrectly. One reason for void * is so one DOESN'T have to make
> explicit casts from function return values.

Yep. Still, it is a good idea to implicitly cast any void * to the
more specific type you require, to catch programmer errors and keep
insanity out of the door :-) You are effectively warning yourself
that you should be very sure about the type, 'cause the compiler
won't help you.

Groetjes,

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