Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compile AsyncLogging_test.cc error under gcc-7.3.0 ubuntu 14.04 #20

Open
tonychen007 opened this issue Aug 13, 2018 · 2 comments
Open

Comments

@tonychen007
Copy link

tonychen007 commented Aug 13, 2018

ubuntu 14.04 : kernel 4.4
gcc ver: 7.3.0
boost ver : 1.58

/usr/include/boost/ptr_container/detail/static_move_ptr.hpp:168:57: error: no type named ‘error’ in ‘class boost::ptr_container_detail::static_move_ptr<muduo::detail::FixedBuffer<4000000>, boost::ptr_container_detail::clone_deleter<boost::ptr_container_detail::reversible_ptr_container<boost::ptr_container_detail::sequence_config<muduo::detail::FixedBuffer<4000000>, std::vector<void*, std::allocator<void*> > >, boost::heap_clone_allocator>::null_clone_allocator<false> > >’ typedef typename static_move_ptr<TT, DD>::error type;

To explicitly disable copy ctor and copy assign func of class AsyncLoggingDoubleBuffering can resolve this issue. But why it needs such behavior given the class has already privatly inherited from boost::noncopyable?

Many thanks.

@wnch
Copy link

wnch commented May 24, 2019

这个问题解决没

@Tridu33
Copy link

Tridu33 commented Sep 16, 2021

the same porblem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants