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

sync_queue missing include when setting BOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS #397

Open
dvirtz opened this issue Oct 26, 2023 · 0 comments

Comments

@dvirtz
Copy link

dvirtz commented Oct 26, 2023

In file included from /opt/compiler-explorer/libs/boost_1_83_0/boost/thread/sync_queue.hpp:14:
In file included from /opt/compiler-explorer/libs/boost_1_83_0/boost/thread/concurrent_queues/sync_queue.hpp:15:
/opt/compiler-explorer/libs/boost_1_83_0/boost/thread/concurrent_queues/detail/sync_queue_base.hpp:74:23: error: no template named 'lock_guard'; did you mean 'std::lock_guard'?
   74 |     inline bool empty(lock_guard<mutex>& ) const BOOST_NOEXCEPT
      |                       ^

https://godbolt.org/z/185hWToY9

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

1 participant