Skip to content

sync_queue missing include when setting BOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS #397

@dvirtz

Description

@dvirtz
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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions