Skip to content

Build error on Debian #1

@werdahias

Description

@werdahias

If I try to build the library, the build fails:
Compiler: GCC 11
OS: debian testing

 g++ -std=c++11 -O3 -pthread main.cpp
In file included from main.cpp:1:
threadpool.hpp: In member function ‘bool astp::ThreadPool::_thread_is_to_kill(std::thread::id)’:
threadpool.hpp:1080:62: error: ‘find_if’ is not a member of ‘std’
 1080 |            std::vector<std::thread::id>::iterator it = std::find_if(_threads_to_kill_id.begin(),
      |                                                             ^~

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions