qiqian / webp

Automatically exported from code.google.com/p/webp
0 stars 0 forks source link

build warnings on 64 bit Visual C #112

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
cl 
/Fobuild\dbg64\obj\session\phone\googleclient\third_party\libwebp\files\dec\idec
.obj /c C:\src4\googleclient\third_party\libwebp\files\dec\idec.c /ZI /Od /MTd 
/RTC1 /nologo /W3 
/Fdbuild\dbg64\obj\session\phone\googleclient\third_party\libwebp\files\dec\idec
.obj.pdb /Zc:forScope /EHs-c- /GR- /Gy /wd4996 /w14701 /w14702 /w14706 /w14709 
/w14063 /w14064 /w14057 /w14263 /w14266 /w14296 /w14355 /DLOGGING=1 
/DFEATURE_ENABLE_SSL /DFEATURE_ENABLE_VOICEMAIL /DFEATURE_ENABLE_PSTN 
/DHAVE_WEBRTC_VOICE /DHAVE_WEBRTC_VIDEO /DHAVE_LMI /DHAVE_LOGITECH_HEADERS 
/DHAVE_SRTP /DHAVE_YUV /D_ATL_CSTRING_EXPLICIT_CONSTRUCTORS 
/D_CRT_SECURE_NO_WARNINGS /D_SCL_SECURE_NO_WARNINGS /D_UNICODE /DUNICODE 
/D_HAS_EXCEPTIONS=0 /DWIN32 /DWINVER=0x0500 /D_WIN32_WINNT=0x0501 
/D_WIN32_IE=0x0501 /DNTDDI_VERSION=NTDDI_WINXP /D_WINDOWS /D_DEBUG /DWIN64 
/DARCH_CPU_64_BITS /DJPEG_DECODE_ONLY /DMOTION_JPEG_SUPPORTED /D_LIB 
/Ibuild\dbg64\obj /I. /IC:\src4\googleclient /IC:\src4\google3 
/IC:\src4\googleclient\third_party\wtl_71\include 
/IC:\src4\googleclient\third_party\platformsdk_vista_6_0\files\Include
C:\src4\googleclient\third_party\libwebp\files\dec\idec.c(102) : warning C4267: 
'initializing' : conversion from 'size_t' to 'const int', possible loss of data
C:\src4\googleclient\third_party\libwebp\files\dec\idec.c(123) : warning C4267: 
'=' : conversion from 'size_t' to 'uint32_t', possible loss of data
C:\src4\googleclient\third_party\libwebp\files\dec\idec.c(128) : warning C4267: 
'+=' : conversion from 'size_t' to 'uint32_t', possible loss of data
C:\src4\googleclient\third_party\libwebp\files\dec\idec.c(135) : warning C4267: 
'=' : conversion from 'size_t' to 'uint32_t', possible loss of data
C:\src4\googleclient\third_party\libwebp\files\dec\idec.c(167) : warning C4267: 
'=' : conversion from 'size_t' to 'uint32_t', possible loss of data
C:\src4\googleclient\third_party\libwebp\files\dec\idec.c(170) : warning C4267: 
'=' : conversion from 'size_t' to 'uint32_t', possible loss of data
C:\src4\googleclient\third_party\libwebp\files\dec\idec.c(256) : warning C4267: 
'initializing' : conversion from 'size_t' to 'uint32_t', possible loss of data
C:\src4\googleclient\third_party\libwebp\files\dec\idec.c(275) : warning C4267: 
'initializing' : conversion from 'size_t' to 'const uint32_t', possible loss of 
data
C:\src4\googleclient\third_party\libwebp\files\dec\idec.c(311) : warning C4267: 
'+=' : conversion from 'size_t' to 'uint32_t', possible loss of data
C:\src4\googleclient\third_party\libwebp\files\dec\idec.c(399) : warning C4244: 
'=' : conversion from '__int64' to 'uint32_t', possible loss of data
cl 
/Fobuild\dbg64\obj\session\phone\googleclient\third_party\libwebp\files\dec\io.o
bj /c C:\src4\googleclient\third_party\libwebp\files\dec\io.c /ZI /Od /MTd 
/RTC1 /nologo /W3 
/Fdbuild\dbg64\obj\session\phone\googleclient\third_party\libwebp\files\dec\io.o
bj.pdb /Zc:forScope /EHs-c- /GR- /Gy /wd4996 /w14701 /w14702 /w14706 /w14709 
/w14063 /w14064 /w14057 /w14263 /w14266 /w14296 /w14355 /DLOGGING=1 
/DFEATURE_ENABLE_SSL /DFEATURE_ENABLE_VOICEMAIL /DFEATURE_ENABLE_PSTN 
/DHAVE_WEBRTC_VOICE /DHAVE_WEBRTC_VIDEO /DHAVE_LMI /DHAVE_LOGITECH_HEADERS 
/DHAVE_SRTP /DHAVE_YUV /D_ATL_CSTRING_EXPLICIT_CONSTRUCTORS 
/D_CRT_SECURE_NO_WARNINGS /D_SCL_SECURE_NO_WARNINGS /D_UNICODE /DUNICODE 
/D_HAS_EXCEPTIONS=0 /DWIN32 /DWINVER=0x0500 /D_WIN32_WINNT=0x0501 
/D_WIN32_IE=0x0501 /DNTDDI_VERSION=NTDDI_WINXP /D_WINDOWS /D_DEBUG /DWIN64 
/DARCH_CPU_64_BITS /DJPEG_DECODE_ONLY /DMOTION_JPEG_SUPPORTED /D_LIB 
/Ibuild\dbg64\obj /I. /IC:\src4\googleclient /IC:\src4\google3 
/IC:\src4\googleclient\third_party\wtl_71\include 
/IC:\src4\googleclient\third_party\platformsdk_vista_6_0\files\Include

C:\src4\googleclient\third_party\libwebp\files\dec\webp.c(242) : warning C4244: 
'=' : conversion from '__int64' to 'uint32_t', possible loss of data

Original issue reported on code.google.com by fbarch...@google.com on 27 Mar 2012 at 8:28

GoogleCodeExporter commented 9 years ago
Warnings should be silent now, some related changes:

a6cdf71 muxedit: a few more size_t changes
11ae46a alpha.c: quiet some size_t -> int conversion warnings
d96e722 huffman: quiet int64 -> int conversion warning
532020f lossless: remove some size_t -> int conversions
95667b8 mux: use size_t consistently
80256b8 enc_sse2 add missing stdlib.h include
9b3d1f3 decode.h: use size_t consistently
1c92bd3 vp8io: use size_t for buffer size
90ead71 fix some more uint32_t -> size_t typing
cbe705c webp/decode.h: fix prototypes
6860c2e fix some uint32_t -> size_t typing

Original comment by jz...@google.com on 4 May 2012 at 12:08