Opened 7 years ago
Last modified 6 years ago
#11817 closed Bugs
'sync_queue_is_closed' was not declared in boost/thread/executors/thread_executor.hpp — at Version 3
Reported by: | Owned by: | viboes | |
---|---|---|---|
Milestone: | Boost 1.60.0 | Component: | thread |
Version: | Boost 1.59.0 | Severity: | Problem |
Keywords: | Cc: |
Description (last modified by )
boost-1.59.0/include/boost/thread/executors/thread_executor.hpp: In member function 'void boost::executors::thread_executor::submit(void (*)())': boost-1.59.0/include/boost/thread/executors/thread_executor.hpp:122:68: error: 'sync_queue_is_closed' was not declared in this scope if (closed(lk)) BOOST_THROW_EXCEPTION( sync_queue_is_closed() ); ^ boost-1.59.0/include/boost/thread/executors/thread_executor.hpp: In member function 'void boost::executors::thread_executor::submit(Closure&&)': boost-1.59.0/include/boost/thread/executors/thread_executor.hpp:132:68: error: there are no arguments to 'sync_queue_is_closed' that depend on a template parameter, so a declaration of 'sync_queue_is_closed' must be available [-fpermissive] if (closed(lk)) BOOST_THROW_EXCEPTION( sync_queue_is_closed() );
Change History (3)
comment:1 by , 7 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:2 by , 7 years ago
comment:3 by , 7 years ago
Description: | modified (diff) |
---|
Hi,
there is a missing
#include <boost/thread/concurrent_queues/queue_op_status.hpp>
Note:
See TracTickets
for help on using tickets.
Hi Vibose,
Xiaoshuang LU