axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Patrick van Beem (JIRA)" <j...@apache.org>
Subject [jira] Created: (AXIS2C-1318) (at least) mime_part.c does not compile on 64 bit without conversion wanrings.
Date Thu, 11 Dec 2008 07:57:44 GMT
(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


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.


Mime
View raw message