You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@qpid.apache.org by 钱晓明 <ma...@163.com> on 2014/12/02 07:14:10 UTC

Building error under CentOS 6.6

Hi, I am building Qpid 0.3 under CentOS 6.6 and get these output:


cc1plus: warnings being treated as errors
/root/qpid-cpp-0.30/src/../include/qpid/framing/DeliveryProperties.h: In member function ‘bool qpid::client::LocalQueueImpl::get(qpid::client::Message&, qpid::sys::Duration)’:
/root/qpid-cpp-0.30/src/../include/qpid/framing/DeliveryProperties.h:39: error: dereferencing pointer ‘pretmp.2356’ does break strict-aliasing rules

......
cc1plus: note: initialized from here
......
make[2]: *** [src/CMakeFiles/qpidclient.dir/qpid/client/LocalQueueImpl.cpp.o] Error 1
make[1]: *** [src/CMakeFiles/qpidclient.dir/all] Error 2


I think I should change some g++ option but I am not familiar with cmake. How can I fix this?
Thanks.