[mod_cluster-issues] [JBoss JIRA] (MODCLUSTER-266) warning while compiling on some lab boxes

Jean-Frederic Clere (JIRA) jira-events at lists.jboss.org
Wed Jan 18 09:33:20 EST 2012


    [ https://issues.jboss.org/browse/MODCLUSTER-266?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12660172#comment-12660172 ] 

Jean-Frederic Clere commented on MODCLUSTER-266:
------------------------------------------------

probably using -Wall with gcc
                
> warning while compiling on some lab boxes
> -----------------------------------------
>
>                 Key: MODCLUSTER-266
>                 URL: https://issues.jboss.org/browse/MODCLUSTER-266
>             Project: mod_cluster
>          Issue Type: Bug
>    Affects Versions: 1.1.3.Final
>            Reporter: Jean-Frederic Clere
>            Assignee: Jean-Frederic Clere
>            Priority: Minor
>
> size_t != int on any platform (on 64-bit its usually 64)
> However think you are not using +2G sizes. However it might
> break on negative values due to unsigned int64 -> int32 conversion.
> .\mod_proxy_cluster.c(677) : warning C4267: '=' : conversion from 'size_t' to 'int', possible loss of data
> .\mod_proxy_cluster.c(1026) : warning C4267: '=' : conversion from 'size_t' to 'int', possible loss of data
> .\mod_proxy_cluster.c(1020) : warning C4101: 'name' : unreferenced local variable
> .\mod_proxy_cluster.c(1092) : warning C4101: 'ret' : unreferenced local variable
> .\mod_proxy_cluster.c(1225) : warning C4267: '=' : conversion from 'size_t' to 'int', possible loss of data
> .\mod_proxy_cluster.c(1226) : warning C4267: '=' : conversion from 'size_t' to 'int', possible loss of data
> .\mod_proxy_cluster.c(1910) : warning C4244: 'return' : conversion from '__int64' to 'int', possible loss of data
> .\mod_proxy_cluster.c(2040) : warning C4267: 'function' : conversion from 'size_t' to 'int', possible loss of data

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the mod_cluster-issues mailing list