You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Dmitry Potapov (JIRA)" <ji...@apache.org> on 2011/06/29 05:31:28 UTC
[jira] [Created] (QPID-3327) gcc error: "dereferencing pointer
'pretmp.2013' does break strict-aliasing rules"
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:dev-subscribe@qpid.apache.org
[jira] [Commented] (QPID-3327) gcc error: "dereferencing pointer
'pretmp.2013' does break strict-aliasing rules"
Posted by "Dmitry Potapov (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/QPID-3327?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13056973#comment-13056973 ]
Dmitry Potapov commented on QPID-3327:
--------------------------------------
There is workaround for this issue. It is enough to change step 3 to:
3. CXXFLAGS="-Wno-error" ./configure
> 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:dev-subscribe@qpid.apache.org