[ 
https://issues.apache.org/jira/browse/PROTON-1375?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15749253#comment-15749253
 ] 

Andrew Stitcher commented on PROTON-1375:
-----------------------------------------

This annoying, because your fix adds in a double -> float narrowing conversion.

I think a better fix is to swap the capacity and load_factor parameters and to 
fix up the callers (this is test only code so that's fine I think).

> Compile without warnings under clang 4.0
> ----------------------------------------
>
>                 Key: PROTON-1375
>                 URL: https://issues.apache.org/jira/browse/PROTON-1375
>             Project: Qpid Proton
>          Issue Type: Bug
>          Components: proton-c
>    Affects Versions: 0.16.0
>         Environment: Debian Jessie. Install latest clang 4.0 snapshot from 
> http://apt.llvm.org/.
>            Reporter: Jiri Danek
>            Assignee: Andrew Stitcher
>            Priority: Minor
>              Labels: patch
>             Fix For: 0.17.0
>
>
> A new warning in clang is causing proton-c compilation to fail.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org

Reply via email to