[vorbis-dev] MSVC warnings

Brian Hook brianhook at pyrogon.com
Sat Jan 5 18:33:38 PST 2002



At 03:25 AM 1/6/2002 +0100, you wrote:
>Great!  gcc won't tell me about int->float and float->int conversions.
>Can you compile a list for me?  Thanks :-)

I can send you the output with warnings if you'd like privately.  I'll do 
that the next time I'm at work.

>~0UL works(*), but that's maybe a little too hard too read for most
>folks :-(

I would suggest this approach is the better one, since at least it's 
relying on defined behaviour.  If you're worried about readability, I'd 
just use a manifest constant so that the intent is clear.

Brian

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