[Zlib-devel] zLib warning with VC++ 2005

William A. Rowe, Jr. wrowe at rowe-clan.net
Fri Jul 15 16:17:50 EDT 2005


At 12:58 PM 7/14/2005, Gilles Vollant wrote:
>With Visual studio 2005 beta 2, when we compile to 32 bits target with /WP64
>option, we have these warning
>
>..\..\..\trees.c(773) : warning C4267: '=' : conversion from 'size_t' to
>'ush', possible loss of data

I'm not sure you can trust /WP64 to generate warnings; it's
far more reliable to simply build 64 bit modules and determine
from those included headers what the true conflicts really are.

I'm guessing that VC isn't catching all the subtleties of what
the Win64 declarations would really be if you build for 64 bits.

Bill  





More information about the Zlib-devel mailing list