You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Chuck Rolke (JIRA)" <ji...@apache.org> on 2013/01/10 22:26:12 UTC

[jira] [Commented] (QPID-4531) Variant.cpp cast of -0 failing with older GCC

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

Chuck Rolke commented on QPID-4531:
-----------------------------------

Visual Studio 2010 complains twice:
warning C4146: unary minus operator applied to unsigned type, result still unsigned	D:\svn\Phase7\qpid\cpp\src\qpid\types\Variant.cpp	125

Build still completes ok.

                
> Variant.cpp cast of -0 failing with older GCC
> ---------------------------------------------
>
>                 Key: QPID-4531
>                 URL: https://issues.apache.org/jira/browse/QPID-4531
>             Project: Qpid
>          Issue Type: Bug
>          Components: C++ Broker
>            Reporter: michael goulish
>            Assignee: michael goulish
>            Priority: Minor
>             Fix For: 0.21
>
>
> Cast of negative zero to a signed type is throwing with GCC 4.1.2, but not with GCC 4.4.6 .
> This causes a failure in unit tests.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

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