Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Won't Fix
-
0.12
-
SUSE Linux Enterprise Server 11 SP1 (x86_64)
gcc version 4.3.4 [gcc-4_3-branch revision 152973] (SUSE Linux)
boost version 1.36.0-11.17
Description
I'm creating this ticket at the request of Steve on behalf of Greg based on the mailing list discussion that started with this thread:
I downloaded the latest release 0.12. During compilation on SLES11.1 (boost 1.36) the following error occurs:
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../include -I../include -I. -I=. -Werror -pedantic -Wall -Wextra -Wno-shadow -Wpointer-arith -Wcast-qual -Wcast-align -Wno-long-long -Wvolatile-register-var -Winvalid-pch -Wno-system-headers -Woverloaded-virtual -DQPID_LIBEXEC_DIR=\"/usr/lib64/qpid\" -DBOOST_FILESYSTEM_VERSION=2 -O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -MT qpid/management/Mutex.lo -MD -MP -MF qpid/management/.deps/Mutex.Tpo -c qpid/management/Mutex.cpp -fPIC -DPIC -o qpid/management/.libs/Mutex.o
./qpid/RefCounted.h: In function 'void
boost::intrusive_ptr_release(const T*) [with T =
boost::exception_detail::error_info_container]':
/usr/include/boost/intrusive_ptr.hpp:101: instantiated from
'boost::intrusive_ptr<T>::~intrusive_ptr() [with T = boost::exception_detail::error_info_container]'
/usr/include/boost/exception/exception.hpp:60: instantiated from here
./qpid/RefCounted.h:59: error: 'qpid::RefCounted' is not a base of 'const boost::exception_detail::error_info_container'
./qpid/RefCounted.h: In function 'void
boost::intrusive_ptr_add_ref(const T*) [with T =
boost::exception_detail::error_info_container]':
/usr/include/boost/intrusive_ptr.hpp:96: instantiated from
'boost::intrusive_ptr<T>::intrusive_ptr(const boost::intrusive_ptr<T>&) [with T = boost::exception_detail::error_info_container]'
/usr/include/boost/exception/exception.hpp:64: instantiated from here
./qpid/RefCounted.h:57: error: 'qpid::RefCounted' is not a base of 'const boost::exception_detail::error_info_container'
The problem seems related to this change: