linuxdcpp-team team mailing list archive
-
linuxdcpp-team team
-
Mailing list archive
-
Message #01967
[Bug 643233] Re: not compile. rev 387
Try a clean checkout, it looks like you have an old buffer.h...
** Changed in: adchpp
Status: New => Invalid
--
not compile. rev 387
https://bugs.launchpad.net/bugs/643233
You received this bug notification because you are a member of
Dcplusplus-team, which is subscribed to ADCH++.
Status in ADCH++: Invalid
Bug description:
# scons
scons: Reading SConscript files ...
Checking for C header file poll.h... (cached) yes
Checking for C header file sys/epoll.h... (cached) yes
Checking for dlopen() in C library dl... (cached) yes
Checking for pthread_create() in C library pthread... (cached) yes
Checking for SSL_connect() in C library ssl... (cached) yes
Invalid Python version: 24 - skipping Python module
scons: done reading SConscript files.
scons: Building targets ...
Compiling build/debug-default/adchpp/AdcCommand.os (shared)
adchpp/AdcCommand.cpp: In member function ‘const adchpp::BufferPtr& adchpp::AdcCommand::getBuffer() const’:
adchpp/AdcCommand.cpp:185: error: no match for ‘operator=’ in ‘((const adchpp::AdcCommand*)this)->adchpp::AdcCommand::buffer = std::make_shared(_Args&& ...) [with _Tp = adchpp::Buffer, _Args = std::string]()’
boost/boost/smart_ptr/intrusive_ptr.hpp:123: note: candidates are: boost::intrusive_ptr<T>& boost::intrusive_ptr<T>::operator=(boost::intrusive_ptr<T>&&) [with T = adchpp::Buffer]
boost/boost/smart_ptr/intrusive_ptr.hpp:131: note: boost::intrusive_ptr<T>& boost::intrusive_ptr<T>::operator=(const boost::intrusive_ptr<T>&) [with T = adchpp::Buffer]
boost/boost/smart_ptr/intrusive_ptr.hpp:137: note: boost::intrusive_ptr<T>& boost::intrusive_ptr<T>::operator=(T*) [with T = adchpp::Buffer]
In file included from /usr/lib/gcc/i386-redhat-linux6E/4.4.0/../../../../include/c++/4.4.0/memory:83,
from adchpp/adchpp.h:111,
from adchpp/AdcCommand.cpp:19:
adchpp/Buffer.h: In member function ‘void std::_Sp_counted_ptr<_Ptr, _Lp>::_M_dispose() [with _Ptr = adchpp::Buffer*, __gnu_cxx::_Lock_policy _Lp = (__gnu_cxx::_Lock_policy)2u]’:
adchpp/AdcCommand.cpp:259: instantiated from here
adchpp/Buffer.h:60: error: ‘adchpp::Buffer::~Buffer()’ is private
/usr/lib/gcc/i386-redhat-linux6E/4.4.0/../../../../include/c++/4.4.0/bits/shared_ptr.h:78: error: within this context
adchpp/Buffer.h: In member function ‘void std::_Sp_destroy_inplace<_Tp>::operator()(_Tp*) const [with _Tp = adchpp::Buffer]’:
/usr/lib/gcc/i386-redhat-linux6E/4.4.0/../../../../include/c++/4.4.0/bits/shared_ptr.h:134: instantiated from ‘void std::_Sp_counted_deleter<_Ptr, _Deleter, _Alloc, _Lp>::_M_dispose() [with _Ptr = adchpp::Buffer*, _Deleter = std::_Sp_destroy_inplace<adchpp::Buffer>, _Alloc = std::allocator<adchpp::Buffer>, __gnu_cxx::_Lock_policy _Lp = (__gnu_cxx::_Lock_policy)2u]’
adchpp/AdcCommand.cpp:259: instantiated from here
adchpp/Buffer.h:60: error: ‘adchpp::Buffer::~Buffer()’ is private
/usr/lib/gcc/i386-redhat-linux6E/4.4.0/../../../../include/c++/4.4.0/bits/shared_ptr.h:157: error: within this context
scons: *** [build/debug-default/adchpp/AdcCommand.os] Error 1
scons: building terminated because of errors.
References