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

Willis willis at deathmask.net
Thu Jul 14 15:20:32 EDT 2005


VC++ 2005 (beta2) still has massive problems with 64-bit compilings (The 
header system is still extremely incomplete, as well as the libraries). 
Including a VC8 project file at this time would be rather incomplete as to 
what VC8 should eventually be when it is complete.
I compiled everything using the Windows 2003 SP1 Platform SDK, and all 
compiles fine in both 32bit and 64bit (for x64 AMD64), which brings up a 
different question, if official DLLs are to be released, how is the naming 
scheme going to work?  32-bit and 64-bit dlls are incompatible, and 
Microsoft did not provide seperate 32 and 64 bit system directories in 
Windows XP x64 (Ironically, everything still uses the system32 directory). 
Something is going to need to be done to keep them seperated.

--William



----- Original Message ----- 
From: "Gilles Vollant" <info at winimage.com>
To: <zlib-devel at zlib.net>
Sent: Thursday, July 14, 2005 12:58 PM
Subject: [Zlib-devel] zLib warning with VC++ 2005


> 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
> ..\..\..\trees.c(777) : warning C4267: '=' : conversion from 'size_t' to
> 'ush', possible loss of data
> ..\..\..\trees.c(780) : warning C4267: '=' : conversion from 'size_t' to
> 'ush', possible loss of data
> ..\..\..\trees.c(780) : warning C4267: '=' : conversion from 'size_t' to
> 'ush', possible loss of data
> ..\..\..\trees.c(783) : warning C4267: '=' : conversion from 'size_t' to
> 'ush', possible loss of data
> ..\..\..\trees.c(783) : warning C4267: '=' : conversion from 'size_t' to
> 'ush', possible loss of data
> ..\..\..\trees.c(786) : warning C4267: '=' : conversion from 'size_t' to
> 'ush', possible loss of data
> ..\..\..\trees.c(786) : warning C4267: '=' : conversion from 'size_t' to
> 'ush', possible loss of data
> ..\..\..\trees.c(848) : warning C4267: '=' : conversion from 'size_t' to
> 'ush', possible loss of data
> ..\..\..\trees.c(849) : warning C4267: '=' : conversion from 'size_t' to
> 'ush', possible loss of data
> ..\..\..\trees.c(850) : warning C4267: '=' : conversion from 'size_t' to
> 'ush', possible loss of data
> ..\..\..\trees.c(853) : warning C4267: '=' : conversion from 'size_t' to
> 'ush', possible loss of data
> ..\..\..\trees.c(873) : warning C4267: '=' : conversion from 'size_t' to
> 'ush', possible loss of data
> ..\..\..\trees.c(895) : warning C4267: '=' : conversion from 'size_t' to
> 'ush', possible loss of data
> ..\..\..\trees.c(896) : warning C4267: '=' : conversion from 'size_t' to
> 'ush', possible loss of data
> ..\..\..\trees.c(907) : warning C4267: '=' : conversion from 'size_t' to
> 'ush', possible loss of data
> ..\..\..\trees.c(908) : warning C4267: '=' : conversion from 'size_t' to
> 'ush', possible loss of data
> ..\..\..\trees.c(988) : warning C4267: '=' : conversion from 'size_t' to
> 'ush', possible loss of data
> ..\..\..\trees.c(994) : warning C4267: '=' : conversion from 'size_t' to
> 'ush', possible loss of data
> ..\..\..\trees.c(1087) : warning C4267: '=' : conversion from 'size_t' to
> 'ush', possible loss of data
> ..\..\..\trees.c(1092) : warning C4267: '=' : conversion from 'size_t' to
> 'ush', possible loss of data
> ..\..\..\trees.c(1096) : warning C4267: '=' : conversion from 'size_t' to
> 'ush', possible loss of data
> ..\..\..\trees.c(1102) : warning C4267: '=' : conversion from 'size_t' to
> 'ush', possible loss of data
> ..\..\..\trees.c(1106) : warning C4267: '=' : conversion from 'size_t' to
> 'ush', possible loss of data
> ..\..\..\trees.c(1116) : warning C4267: '=' : conversion from 'size_t' to
> 'ush', possible loss of data
>
> I'm working to integrate a good Visual studio 2005 project in contrib\vs8.
>
>
> _______________________________________________
> Zlib-devel mailing list
> Zlib-devel at madler.net
> http://madler.net/mailman/listinfo/zlib-devel_madler.net
> 





More information about the Zlib-devel mailing list