[vorbis-dev] BeOS on PPC compile, thread question.
michael shiplett
walrus at monkey.org
Wed Nov 15 10:18:51 PST 2000
David Mitchell <mitchell at ucar.edu> writes:
> The main one is that there are hundreds of implicit casts in the
> code that the Metrowerks compiler stops at. Unfortunately, it
> isn't happy with just giving warnings but insists on calling them
> errors. I'm cleaning them up, and was wondering if I put together
> a patch which changes the implicit casts to explicit casts, would
> it be accepted? Also, while most of them are changing the void
> *'s from mallocs and reallocs (and hence probably harmless), some
> of them are telling me that I'm taking void * pointers from
> internal structures and having to cast them, which doesn't seem
> quite right. I'm at work now, so I can't provide any examples. I
> can get some if anyone is interested.
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.
michael
--- >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