You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Andrew Stitcher (JIRA)" <ji...@apache.org> on 2016/08/12 22:32:21 UTC

[jira] [Resolved] (QPID-7392) Template code gives warnings for some instantiations

     [ https://issues.apache.org/jira/browse/QPID-7392?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrew Stitcher resolved QPID-7392.
-----------------------------------
    Resolution: Fixed

> Template code gives warnings for some instantiations
> ----------------------------------------------------
>
>                 Key: QPID-7392
>                 URL: https://issues.apache.org/jira/browse/QPID-7392
>             Project: Qpid
>          Issue Type: Improvement
>            Reporter: Andrew Stitcher
>            Assignee: Andrew Stitcher
>
> This is largely because the FieldValue template code is a bit too general for some types.
> For instance shifting right or left (>> or <<) doesn't work very well for booleans, and shifting 8 bits doesn't work for uint8_t or int8_t.
> Also the Variant numeric convertFromString conversion code produces warnings for unsigned types due to use of unary -.



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

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