[ https://issues.apache.org/jira/browse/AXIS2C-1318?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Manjula Peiris updated AXIS2C-1318: ----------------------------------- Fix Version/s: (was: 1.6.0) Cannot guarantee compilation of Axis2/C in 64 bit. This may not be fixed immediately. Please disable warnings for the time being in a 64 bit compiler. > (at least) mime_part.c does not compile on 64 bit without conversion wanrings. > ------------------------------------------------------------------------------ > > Key: AXIS2C-1318 > URL: https://issues.apache.org/jira/browse/AXIS2C-1318 > Project: Axis2-C > Issue Type: Bug > Components: xml/om > Affects Versions: Current (Nightly) > Environment: Win64 > Reporter: Patrick van Beem > Original Estimate: 48h > Remaining Estimate: 48h > > mime_part.c gives conversion warnings. Instead of int, size_t should be use > where appropriate (memory allocation, pointer arrithmetic) > mime_part.c > ..\..\axiom\src\attachments\mime_parser.c(339) : error C2220: warning treated > as error - no 'object' file generated > ..\..\axiom\src\attachments\mime_parser.c(339) : warning C4267: '=' : > conversion from 'size_t' to 'int', possible loss of data > ..\..\axiom\src\attachments\mime_parser.c(393) : warning C4244: '=' : > conversion from '__int64' to 'int', possible loss of data > ..\..\axiom\src\attachments\mime_parser.c(690) : warning C4244: '=' : > conversion from '__int64' to 'int', possible loss of data > ..\..\axiom\src\attachments\mime_parser.c(1381) : warning C4244: 'function' : > conversion from '__int64' to 'int', possible loss of data > ..\..\axiom\src\attachments\mime_parser.c(1392) : warning C4244: 'function' : > conversion from '__int64' to 'int', possible loss of data > ..\..\axiom\src\attachments\mime_parser.c(1405) : warning C4244: 'function' : > conversion from '__int64' to 'int', possible loss of data > ..\..\axiom\src\attachments\mime_parser.c(1502) : warning C4244: '=' : > conversion from '__int64' to 'int', possible loss of data > ..\..\axiom\src\attachments\mime_parser.c(1594) : warning C4267: '=' : > conversion from 'size_t' to 'int', possible loss of data > ..\..\axiom\src\attachments\mime_parser.c(1610) : warning C4244: '=' : > conversion from '__int64' to 'int', possible loss of data > ..\..\axiom\src\attachments\mime_parser.c(1630) : warning C4244: '=' : > conversion from '__int64' to 'int', possible loss of data > ..\..\axiom\src\attachments\mime_parser.c(1669) : warning C4244: '=' : > conversion from '__int64' to 'int', possible loss of data > ..\..\axiom\src\attachments\mime_parser.c(1680) : warning C4244: '=' : > conversion from '__int64' to 'int', possible loss of data > ..\..\axiom\src\attachments\mime_parser.c(1701) : warning C4244: '=' : > conversion from '__int64' to 'int', possible loss of data > ..\..\axiom\src\attachments\mime_parser.c(2146) : warning C4267: '=' : > conversion from 'size_t' to 'int', possible loss of data > NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio > 8\VC\BIN\amd64\cl.exe"' : return code '0x2' > Stop. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.