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

Michal Babacek (JIRA) issues at jboss.org
Fri Aug 8 06:29:12 EDT 2014


     [ https://issues.jboss.org/browse/MODCLUSTER-266?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michal Babacek closed MODCLUSTER-266.
-------------------------------------



Closing. Clean-up.
At least one of the following applies:

  * the issue has been thoroughly tested as a part of one of the current releases
or
  * it hasn't occurred in ~2 years
or
  * it's utterly harmless

> warning while compiling on some lab boxes
> -----------------------------------------
>
>                 Key: MODCLUSTER-266
>                 URL: https://issues.jboss.org/browse/MODCLUSTER-266
>             Project: mod_cluster
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>    Affects Versions: 1.1.3.Final
>            Reporter: Jean-Frederic Clere
>            Assignee: Jean-Frederic Clere
>            Priority: Minor
>             Fix For: 1.2.0.Beta4
>
>
> 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 was sent by Atlassian JIRA
(v6.2.6#6264)


More information about the mod_cluster-issues mailing list