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

Gordon Sim reassigned QPID-1155:
--------------------------------

    Assignee: Gordon Sim

> Compile warning re casts in cpp/src/tests/InlineVector.cpp
> ----------------------------------------------------------
>
>                 Key: QPID-1155
>                 URL: https://issues.apache.org/jira/browse/QPID-1155
>             Project: Qpid
>          Issue Type: Bug
>          Components: C++ Client
>    Affects Versions: M3
>         Environment: Red Hat Enterprise Linux 4, g++ 3.4.6
>            Reporter: Steve Huston
>            Assignee: Gordon Sim
>            Priority: Minor
>         Attachments: qpid1155.diff
>
>
> There's a compile warning in cpp/src/tests/InlineVector.cpp that build 
> settings convert to an error:
> InlineVector.cpp: In function `bool InlineVectorTestSuite::isInline(const 
> InlineVectorTestSuite::Vec&)':
> InlineVector.cpp:33: warning: cast from `const InlineVectorTestSuite::Vec*' 
> to `char*' discards qualifiers from pointer target type
> InlineVector.cpp:33: warning: cast from `const int*' to `char*' discards 
> qualifiers from pointer target type
> InlineVector.cpp:34: warning: cast from `const int*' to `char*' discards 
> qualifiers from pointer target type
> InlineVector.cpp:34: warning: cast from `const InlineVectorTestSuite::Vec*' 
> to `char*' discards qualifiers from pointer target type
> The attached patch fixes this issue.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to