gcc error: "dereferencing pointer 'pretmp.2013' does break strict-aliasing
rules"
---------------------------------------------------------------------------------
Key: QPID-3327
URL: https://issues.apache.org/jira/browse/QPID-3327
Project: Qpid
Issue Type: Bug
Components: C++ Client
Affects Versions: 0.10
Environment: Linux 2.6.39-gentoo-r2
gcc 4.4.5
glibc 2.12.2
Reporter: Dmitry Potapov
Priority: Minor
GCC reports error when compiling Qpid C++ broker & client:
../include/qpid/framing/DeliveryProperties.h: In member function 'bool
qpid::client::LocalQueueImpl::get(qpid::client::Message&, qpid::sys::Duration)':
../include/qpid/framing/DeliveryProperties.h:38: error: dereferencing pointer
'pretmp.2013' does break strict-aliasing rules
... more errors
Steps to reproduce:
1. wget "http://www.apache.org/dyn/closer.cgi/qpid/0.10/qpid-cpp-0.10.tar.gz"
2. tar zxf qpid-cpp-0.10.tar.gz
3. cd qpidc-0.10
4. ./configure
5. make
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project: http://qpid.apache.org
Use/Interact: mailto:[email protected]