[Expat-bugs] [ expat-Bugs-1105135 ] Win64 portability warnings

SourceForge.net noreply at sourceforge.net
Wed Jan 19 10:45:45 CET 2005


Bugs item #1105135, was opened at 2005-01-19 10:45
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=110127&aid=1105135&group_id=10127

Category: None
Group: Platform Specific
Status: Open
Resolution: None
Priority: 5
Submitted By: Henrik Goldman (hgoldman)
Assigned to: Nobody/Anonymous (nobody)
Summary: Win64 portability warnings

Initial Comment:
I am trying to get my software ready for Win64 
(AMD64 / IA64). Currently I'm using Visual Studio .NET 
2003 with /Wp64 switch enabled. However theres some 
missing typecasts in expat to make it compile clean.

Instead of waiting for someone to fix it I can probably do 
it myself but I'm only willing to if my changes will be 
considered for next release. I'm rather sure all the 
warnings will go away with apropriate typecasts. Please 
advise me how to continue.

I'm using the downloaded version of expat 1.95.8:

c:\myprog\shared\libs\expat-1.95.8\lib\xmltok_impl.c
(1717) : warning C4244:
 'return' : conversion from '__w64 int' to 'int', possible 
loss of data
c:\myprog\shared\libs\expat-1.95.8\lib\xmltok_impl.c
(1717) : warning C4244:
 'return' : conversion from '__w64 int' to 'int', possible 
loss of data
c:\myprog\shared\libs\expat-1.95.8\lib\xmltok_impl.c
(1717) : warning C4244:
 'return' : conversion from '__w64 int' to 'int', possible 
loss of data
../../shared\libs\expat-1.95.8\lib\xmlparse.c(1604) : 
warning C4244: 'initializi
ng' : conversion from '__w64 int' to 'int', possible loss of 
data
../../shared\libs\expat-1.95.8\lib\xmlparse.c(1606) : 
warning C4244: 'initializi
ng' : conversion from '__w64 int' to 'int', possible loss of 
data
../../shared\libs\expat-1.95.8\lib\xmlparse.c(1615) : 
warning C4244: 'initializi
ng' : conversion from '__w64 int' to 'int', possible loss of 
data
../../shared\libs\expat-1.95.8\lib\xmlparse.c(1628) : 
warning C4244: 'initializi
ng' : conversion from '__w64 int' to 'int', possible loss of 
data
../../shared\libs\expat-1.95.8\lib\xmlparse.c(1642) : 
warning C4244: 'initializi
ng' : conversion from '__w64 int' to 'int', possible loss of 
data
../../shared\libs\expat-1.95.8\lib\xmlparse.c(1761) : 
warning C4244: 'return' :
conversion from '__w64 int' to 'int', possible loss of data
../../shared\libs\expat-1.95.8\lib\xmlparse.c(1770) : 
warning C4244: '=' : conve
rsion from '__w64 int' to 'int', possible loss of data
../../shared\libs\expat-1.95.8\lib\xmlparse.c(1771) : 
warning C4244: '=' : conve
rsion from '__w64 int' to 'int', possible loss of data
../../shared\libs\expat-1.95.8\lib\xmlparse.c(2318) : 
warning C4244: '=' : conve
rsion from '__w64 int' to 'int', possible loss of data
../../shared\libs\expat-1.95.8\lib\xmlparse.c(2323) : 
warning C4244: '=' : conve
rsion from '__w64 int' to 'int', possible loss of data
../../shared\libs\expat-1.95.8\lib\xmlparse.c(2511) : 
warning C4244: 'function'
: conversion from '__w64 int' to 'int', possible loss of data
../../shared\libs\expat-1.95.8\lib\xmlparse.c(2516) : 
warning C4244: 'function'
: conversion from '__w64 int' to 'int', possible loss of data
../../shared\libs\expat-1.95.8\lib\xmlparse.c(2541) : 
warning C4244: 'function'
: conversion from '__w64 int' to 'int', possible loss of data
../../shared\libs\expat-1.95.8\lib\xmlparse.c(2550) : 
warning C4244: 'function'
: conversion from '__w64 int' to 'int', possible loss of data
../../shared\libs\expat-1.95.8\lib\xmlparse.c(3067) : 
warning C4244: 'function'
: conversion from '__w64 int' to 'int', possible loss of data
../../shared\libs\expat-1.95.8\lib\xmlparse.c(3076) : 
warning C4244: 'function'
: conversion from '__w64 int' to 'int', possible loss of data
../../shared\libs\expat-1.95.8\lib\xmlparse.c(3938) : 
warning C4244: '=' : conve
rsion from '__w64 int' to 'int', possible loss of data
../../shared\libs\expat-1.95.8\lib\xmlparse.c(4623) : 
warning C4244: '=' : conve
rsion from '__w64 int' to 'int', possible loss of data
../../shared\libs\expat-1.95.8\lib\xmlparse.c(4669) : 
warning C4244: '=' : conve
rsion from '__w64 int' to 'int', possible loss of data
../../shared\libs\expat-1.95.8\lib\xmlparse.c(5130) : 
warning C4244: 'function'
: conversion from '__w64 int' to 'int', possible loss of data
../../shared\libs\expat-1.95.8\lib\xmlparse.c(5135) : 
warning C4244: 'function'
: conversion from '__w64 int' to 'int', possible loss of data
../../shared\libs\expat-1.95.8\lib\xmlparse.c(6017) : 
warning C4244: 'initializi
ng' : conversion from '__w64 int' to 'int', possible loss of 
data
../../shared\libs\expat-1.95.8\lib\xmlparse.c(6031) : 
warning C4244: 'initializi
ng' : conversion from '__w64 int' to 'int', possible loss of 
data

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=110127&aid=1105135&group_id=10127


More information about the Expat-bugs mailing list