Compile warning re casts in cpp/src/qpid/framing/Blob.h
-------------------------------------------------------
Key: QPID-1156
URL: https://issues.apache.org/jira/browse/QPID-1156
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
Building the C++ tests (make check) there's a compile warning that gets
promoted to an error:
../../src/qpid/framing/Blob.h:141: instantiated from
`qpid::framing::Blob<Size, BaseType>::Blob(const qpid::framing::Blob<Size,
BaseType>&) [with unsigned int Size = 12u, BaseType = BlobTestSuite::Base]'
Blob.cpp:63: instantiated from here
../../src/qpid/framing/Blob.h:132: warning: cast from `const
qpid::framing::Blob<12u, BlobTestSuite::Base>*' to `char*' discards qualifiers
from pointer target type
The attached patch resolves this issue.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.