You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Steve Huston (JIRA)" <qp...@incubator.apache.org> on 2008/06/26 23:45:45 UTC

[jira] Updated: (QPID-1155) Compile warning re casts in cpp/src/tests/InlineVector.cpp

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

Steve Huston updated QPID-1155:
-------------------------------

    Attachment: qpid1155.diff

Patch to resolve this issue.

> 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
>            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.