******************************************************************************** conan test conan-center-index/recipes/bshoshany-thread-pool/all/test_package/conanfile.py bshoshany-thread-pool/3.0.0@#61816740291fb88d20952c33fe645070 -pr /home/conan/w/prod/BuildSingleReference/45857/2b0650bf-cbb6-4a4b-9538-9a1f1edc7d4c/profile_linux_5_libstdcpp11_gcc_release_64..txt ******************************************************************************** Configuration: [settings] arch=x86_64 build_type=Release compiler=gcc compiler.libcxx=libstdc++11 compiler.version=5 os=Linux [options] [build_requires] [env] bshoshany-thread-pool/3.0.0 (test package): Installing package Requirements bshoshany-thread-pool/3.0.0 from local cache - Cache Packages bshoshany-thread-pool/3.0.0:5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 - Cache Installing (downloading, building) binaries... bshoshany-thread-pool/3.0.0: Already installed! bshoshany-thread-pool/3.0.0 (test package): Generator txt created conanbuildinfo.txt bshoshany-thread-pool/3.0.0 (test package): Generator cmake created conanbuildinfo.cmake bshoshany-thread-pool/3.0.0 (test package): Aggregating env generators bshoshany-thread-pool/3.0.0 (test package): Generated conaninfo.txt bshoshany-thread-pool/3.0.0 (test package): Generated graphinfo Using lockfile: '/home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bshoshany-thread-pool/all/test_package/build/2da8b83836e27aacd43916b404a0e9d98f21239f/conan.lock' Using cached profile from lockfile [HOOK - conan-center.py] pre_build(): [FPIC MANAGEMENT (KB-H007)] 'fPIC' option not found [HOOK - conan-center.py] pre_build(): [FPIC MANAGEMENT (KB-H007)] OK bshoshany-thread-pool/3.0.0 (test package): Calling build() ----Running------ > cd '/home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bshoshany-thread-pool/all/test_package/build/2da8b83836e27aacd43916b404a0e9d98f21239f' && cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE="Release" -DCONAN_IN_LOCAL_CACHE="OFF" -DCONAN_COMPILER="gcc" -DCONAN_COMPILER_VERSION="5" -DCONAN_CXX_FLAGS="-m64" -DCONAN_SHARED_LINKER_FLAGS="-m64" -DCONAN_C_FLAGS="-m64" -DCONAN_LIBCXX="libstdc++11" -DCMAKE_INSTALL_PREFIX="/home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bshoshany-thread-pool/all/test_package/build/2da8b83836e27aacd43916b404a0e9d98f21239f/package" -DCMAKE_INSTALL_BINDIR="bin" -DCMAKE_INSTALL_SBINDIR="bin" -DCMAKE_INSTALL_LIBEXECDIR="bin" -DCMAKE_INSTALL_LIBDIR="lib" -DCMAKE_INSTALL_INCLUDEDIR="include" -DCMAKE_INSTALL_OLDINCLUDEDIR="include" -DCMAKE_INSTALL_DATAROOTDIR="share" -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY="ON" -DCONAN_EXPORTED="1" -Wno-dev '/home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bshoshany-thread-pool/all/test_package' ----------------- -- The C compiler identification is GNU 5.4.0 -- The CXX compiler identification is GNU 5.4.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/gcc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/g++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Conan: called by CMake conan helper -- Conan: Adjusting output directories -- Conan: Using cmake global configuration -- Conan: Adjusting default RPATHs Conan policies -- Conan: Adjusting language standard -- Conan: Compiler GCC>=5, checking major version 5 -- Conan: Checking correct version: 5 -- Conan: C++ stdlib: libstdc++11 -- Configuring done -- Generating done -- Build files have been written to: /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bshoshany-thread-pool/all/test_package/build/2da8b83836e27aacd43916b404a0e9d98f21239f ----Running------ > cmake --build '/home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bshoshany-thread-pool/all/test_package/build/2da8b83836e27aacd43916b404a0e9d98f21239f' '--' '-j3' ----------------- Scanning dependencies of target test_package [ 50%] Building CXX object CMakeFiles/test_package.dir/test_package.cpp.o CMakeFiles/test_package.dir/build.make:81: recipe for target 'CMakeFiles/test_package.dir/test_package.cpp.o' failed CMakeFiles/Makefile2:94: recipe for target 'CMakeFiles/test_package.dir/all' failed Makefile:102: recipe for target 'all' failed CMake Warning: Manually-specified variables were not used by the project: CMAKE_EXPORT_NO_PACKAGE_REGISTRY CMAKE_INSTALL_BINDIR CMAKE_INSTALL_DATAROOTDIR CMAKE_INSTALL_INCLUDEDIR CMAKE_INSTALL_LIBDIR CMAKE_INSTALL_LIBEXECDIR CMAKE_INSTALL_OLDINCLUDEDIR CMAKE_INSTALL_SBINDIR In file included from /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bshoshany-thread-pool/all/test_package/test_package.cpp:36:0: /home/conan/w/prod/BuildSingleReference/.conan/data/bshoshany-thread-pool/3.0.0/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/BS_thread_pool.hpp:32:28: error: ‘invoke_result_t’ in namespace ‘std’ does not name a template type using concurrency_t = std::invoke_result_t; ^ In file included from /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bshoshany-thread-pool/all/test_package/test_package.cpp:36:0: /home/conan/w/prod/BuildSingleReference/.conan/data/bshoshany-thread-pool/3.0.0/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/BS_thread_pool.hpp:100:32: error: ‘concurrency_t’ does not name a type explicit thread_pool(const concurrency_t thread_count_ = std::thread::hardware_concurrency()) : thread_count(thread_count_ ? thread_count_ : std::thread::hardware_concurrency()), threads(std::make_unique(thread_count_ ? thread_count_ : std::thread::hardware_concurrency())) ^ /home/conan/w/prod/BuildSingleReference/.conan/data/bshoshany-thread-pool/3.0.0/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/BS_thread_pool.hpp:155:5: error: ‘concurrency_t’ does not name a type concurrency_t get_thread_count() const ^ /home/conan/w/prod/BuildSingleReference/.conan/data/bshoshany-thread-pool/3.0.0/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/BS_thread_pool.hpp:174:112: error: ‘invoke_result_t’ in namespace ‘std’ does not name a template type template , typename R = std::invoke_result_t, T, T>> ^ /home/conan/w/prod/BuildSingleReference/.conan/data/bshoshany-thread-pool/3.0.0/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/BS_thread_pool.hpp:174:127: error: expected ‘>’ before ‘<’ token template , typename R = std::invoke_result_t, T, T>> ^ /home/conan/w/prod/BuildSingleReference/.conan/data/bshoshany-thread-pool/3.0.0/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/BS_thread_pool.hpp:229:22: error: ‘concurrency_t’ does not name a type void reset(const concurrency_t thread_count_ = std::thread::hardware_concurrency()) ^ /home/conan/w/prod/BuildSingleReference/.conan/data/bshoshany-thread-pool/3.0.0/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/BS_thread_pool.hpp:251:60: error: ‘invoke_result_t’ in namespace ‘std’ does not name a template type template , std::decay_t...>> ^ /home/conan/w/prod/BuildSingleReference/.conan/data/bshoshany-thread-pool/3.0.0/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/BS_thread_pool.hpp:251:75: error: expected ‘>’ before ‘<’ token template , std::decay_t...>> ^ /home/conan/w/prod/BuildSingleReference/.conan/data/bshoshany-thread-pool/3.0.0/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/BS_thread_pool.hpp:394:5: error: ‘concurrency_t’ does not name a type concurrency_t thread_count = 0; ^ /home/conan/w/prod/BuildSingleReference/.conan/data/bshoshany-thread-pool/3.0.0/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/BS_thread_pool.hpp:302:32: error: use of deleted function ‘std::atomic::atomic(const std::atomic&)’ std::atomic paused = false; ^ In file included from /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bshoshany-thread-pool/all/test_package/test_package.cpp:17:0: /usr/include/c++/5/atomic:66:5: note: declared here atomic(const atomic&) = delete; ^ /usr/include/c++/5/atomic:70:15: note: after user-defined conversion: constexpr std::atomic::atomic(bool) constexpr atomic(bool __i) noexcept : _M_base(__i) { } ^ In file included from /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bshoshany-thread-pool/all/test_package/test_package.cpp:36:0: /home/conan/w/prod/BuildSingleReference/.conan/data/bshoshany-thread-pool/3.0.0/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/BS_thread_pool.hpp:364:33: error: use of deleted function ‘std::atomic::atomic(const std::atomic&)’ std::atomic running = false; ^ In file included from /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bshoshany-thread-pool/all/test_package/test_package.cpp:17:0: /usr/include/c++/5/atomic:66:5: note: declared here atomic(const atomic&) = delete; ^ /usr/include/c++/5/atomic:70:15: note: after user-defined conversion: constexpr std::atomic::atomic(bool) constexpr atomic(bool __i) noexcept : _M_base(__i) { } ^ In file included from /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bshoshany-thread-pool/all/test_package/test_package.cpp:36:0: /home/conan/w/prod/BuildSingleReference/.conan/data/bshoshany-thread-pool/3.0.0/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/BS_thread_pool.hpp:379:48: error: converting to ‘std::queue >’ from initializer list would use explicit constructor ‘std::queue<_Tp, _Sequence>::queue(_Sequence&&) [with _Tp = std::function; _Sequence = std::deque, std::allocator > >]’ std::queue> tasks = {}; ^ /home/conan/w/prod/BuildSingleReference/.conan/data/bshoshany-thread-pool/3.0.0/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/BS_thread_pool.hpp:384:39: error: use of deleted function ‘std::atomic::atomic(const std::atomic&)’ std::atomic tasks_total = 0; ^ In file included from /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bshoshany-thread-pool/all/test_package/test_package.cpp:17:0: /usr/include/c++/5/atomic:669:7: note: declared here atomic(const atomic&) = delete; ^ /usr/include/c++/5/atomic:673:17: note: after user-defined conversion: constexpr std::atomic::atomic(std::atomic::__integral_type) constexpr atomic(__integral_type __i) noexcept : __base_type(__i) { } ^ In file included from /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bshoshany-thread-pool/all/test_package/test_package.cpp:36:0: /home/conan/w/prod/BuildSingleReference/.conan/data/bshoshany-thread-pool/3.0.0/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/BS_thread_pool.hpp:404:33: error: use of deleted function ‘std::atomic::atomic(const std::atomic&)’ std::atomic waiting = false; ^ In file included from /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bshoshany-thread-pool/all/test_package/test_package.cpp:17:0: /usr/include/c++/5/atomic:66:5: note: declared here atomic(const atomic&) = delete; ^ /usr/include/c++/5/atomic:70:15: note: after user-defined conversion: constexpr std::atomic::atomic(bool) constexpr atomic(bool __i) noexcept : _M_base(__i) { } ^ In file included from /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bshoshany-thread-pool/all/test_package/test_package.cpp:36:0: /home/conan/w/prod/BuildSingleReference/.conan/data/bshoshany-thread-pool/3.0.0/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/BS_thread_pool.hpp: In constructor ‘BS::thread_pool::thread_pool(int)’: /home/conan/w/prod/BuildSingleReference/.conan/data/bshoshany-thread-pool/3.0.0/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/BS_thread_pool.hpp:100:101: error: class ‘BS::thread_pool’ does not have any field named ‘thread_count’ explicit thread_pool(const concurrency_t thread_count_ = std::thread::hardware_concurrency()) : thread_count(thread_count_ ? thread_count_ : std::thread::hardware_concurrency()), threads(std::make_unique(thread_count_ ? thread_count_ : std::thread::hardware_concurrency())) ^ /home/conan/w/prod/BuildSingleReference/.conan/data/bshoshany-thread-pool/3.0.0/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/BS_thread_pool.hpp: In member function ‘size_t BS::thread_pool::get_tasks_queued() const’: /home/conan/w/prod/BuildSingleReference/.conan/data/bshoshany-thread-pool/3.0.0/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/BS_thread_pool.hpp:125:20: error: ‘scoped_lock’ in namespace ‘std’ does not name a type const std::scoped_lock tasks_lock(tasks_mutex); ^ /home/conan/w/prod/BuildSingleReference/.conan/data/bshoshany-thread-pool/3.0.0/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/BS_thread_pool.hpp: In member function ‘size_t BS::thread_pool::get_tasks_running() const’: /home/conan/w/prod/BuildSingleReference/.conan/data/bshoshany-thread-pool/3.0.0/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/BS_thread_pool.hpp:136:20: error: ‘scoped_lock’ in namespace ‘std’ does not name a type const std::scoped_lock tasks_lock(tasks_mutex); ^ /home/conan/w/prod/BuildSingleReference/.conan/data/bshoshany-thread-pool/3.0.0/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/BS_thread_pool.hpp: In member function ‘BS::multi_future BS::thread_pool::parallelize_loop(const T1&, const T2&, const F&, size_t)’: /home/conan/w/prod/BuildSingleReference/.conan/data/bshoshany-thread-pool/3.0.0/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/BS_thread_pool.hpp:184:26: error: ‘thread_count’ was not declared in this scope num_blocks = thread_count; ^ /home/conan/w/prod/BuildSingleReference/.conan/data/bshoshany-thread-pool/3.0.0/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/BS_thread_pool.hpp: In member function ‘void BS::thread_pool::push_task(const F&, const A& ...)’: /home/conan/w/prod/BuildSingleReference/.conan/data/bshoshany-thread-pool/3.0.0/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/BS_thread_pool.hpp:214:24: error: ‘scoped_lock’ in namespace ‘std’ does not name a type const std::scoped_lock tasks_lock(tasks_mutex); ^ /home/conan/w/prod/BuildSingleReference/.conan/data/bshoshany-thread-pool/3.0.0/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/BS_thread_pool.hpp:215:16: error: expected ‘(’ before ‘constexpr’ if constexpr (sizeof...(args) == 0) ^ /home/conan/w/prod/BuildSingleReference/.conan/data/bshoshany-thread-pool/3.0.0/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/BS_thread_pool.hpp:217:13: error: ‘else’ without a previous ‘if’ else ^ /home/conan/w/prod/BuildSingleReference/.conan/data/bshoshany-thread-pool/3.0.0/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/BS_thread_pool.hpp: In member function ‘void BS::thread_pool::reset(int)’: /home/conan/w/prod/BuildSingleReference/.conan/data/bshoshany-thread-pool/3.0.0/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/BS_thread_pool.hpp:235:9: error: ‘thread_count’ was not declared in this scope thread_count = thread_count_ ? thread_count_ : std::thread::hardware_concurrency(); ^ /home/conan/w/prod/BuildSingleReference/.conan/data/bshoshany-thread-pool/3.0.0/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/BS_thread_pool.hpp: In lambda function: /home/conan/w/prod/BuildSingleReference/.conan/data/bshoshany-thread-pool/3.0.0/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/BS_thread_pool.hpp:260:24: error: expected ‘(’ before ‘constexpr’ if constexpr (std::is_void_v) ^ /home/conan/w/prod/BuildSingleReference/.conan/data/bshoshany-thread-pool/3.0.0/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/BS_thread_pool.hpp:265:21: error: ‘else’ without a previous ‘if’ else ^ /home/conan/w/prod/BuildSingleReference/.conan/data/bshoshany-thread-pool/3.0.0/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/BS_thread_pool.hpp: In member function ‘void BS::thread_pool::create_threads()’: /home/conan/w/prod/BuildSingleReference/.conan/data/bshoshany-thread-pool/3.0.0/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/BS_thread_pool.hpp:315:14: error: ‘concurrency_t’ was not declared in this scope for (concurrency_t i = 0; i < thread_count; ++i) ^ /home/conan/w/prod/BuildSingleReference/.conan/data/bshoshany-thread-pool/3.0.0/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/BS_thread_pool.hpp:315:35: error: ‘i’ was not declared in this scope for (concurrency_t i = 0; i < thread_count; ++i) ^ /home/conan/w/prod/BuildSingleReference/.conan/data/bshoshany-thread-pool/3.0.0/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/BS_thread_pool.hpp:315:39: error: ‘thread_count’ was not declared in this scope for (concurrency_t i = 0; i < thread_count; ++i) ^ /home/conan/w/prod/BuildSingleReference/.conan/data/bshoshany-thread-pool/3.0.0/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/BS_thread_pool.hpp: In member function ‘void BS::thread_pool::destroy_threads()’: /home/conan/w/prod/BuildSingleReference/.conan/data/bshoshany-thread-pool/3.0.0/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/BS_thread_pool.hpp:328:14: error: ‘concurrency_t’ was not declared in this scope for (concurrency_t i = 0; i < thread_count; ++i) ^ /home/conan/w/prod/BuildSingleReference/.conan/data/bshoshany-thread-pool/3.0.0/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/BS_thread_pool.hpp:328:35: error: ‘i’ was not declared in this scope for (concurrency_t i = 0; i < thread_count; ++i) ^ /home/conan/w/prod/BuildSingleReference/.conan/data/bshoshany-thread-pool/3.0.0/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/BS_thread_pool.hpp:328:39: error: ‘thread_count’ was not declared in this scope for (concurrency_t i = 0; i < thread_count; ++i) ^ /home/conan/w/prod/BuildSingleReference/.conan/data/bshoshany-thread-pool/3.0.0/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/BS_thread_pool.hpp: In member function ‘void BS::synced_stream::print(const T& ...)’: /home/conan/w/prod/BuildSingleReference/.conan/data/bshoshany-thread-pool/3.0.0/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/BS_thread_pool.hpp:435:20: error: ‘scoped_lock’ in namespace ‘std’ does not name a type const std::scoped_lock lock(stream_mutex); ^ /home/conan/w/prod/BuildSingleReference/.conan/data/bshoshany-thread-pool/3.0.0/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/BS_thread_pool.hpp:436:24: error: expected primary-expression before ‘...’ token (out_stream << ... << items); ^ /home/conan/w/prod/BuildSingleReference/.conan/data/bshoshany-thread-pool/3.0.0/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/BS_thread_pool.hpp:436:24: error: expected ‘)’ before ‘...’ token /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bshoshany-thread-pool/all/test_package/test_package.cpp: At global scope: /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bshoshany-thread-pool/all/test_package/test_package.cpp:160:5: error: ‘concurrency_t’ in namespace ‘BS’ does not name a type BS::concurrency_t count_unique_threads() ^ /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bshoshany-thread-pool/all/test_package/test_package.cpp: In function ‘void check_constructor()’: /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bshoshany-thread-pool/all/test_package/test_package.cpp:178:16: error: ‘class BS::thread_pool’ has no member named ‘get_thread_count’ check(pool.get_thread_count() == std::thread::hardware_concurrency()); ^ /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bshoshany-thread-pool/all/test_package/test_package.cpp:180:16: error: ‘class BS::thread_pool’ has no member named ‘get_thread_count’ check(pool.get_thread_count() == count_unique_threads()); ^ /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bshoshany-thread-pool/all/test_package/test_package.cpp:180:59: error: ‘count_unique_threads’ was not declared in this scope check(pool.get_thread_count() == count_unique_threads()); ^ /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bshoshany-thread-pool/all/test_package/test_package.cpp: In function ‘void check_reset()’: /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bshoshany-thread-pool/all/test_package/test_package.cpp:190:16: error: ‘class BS::thread_pool’ has no member named ‘get_thread_count’ check(pool.get_thread_count() == std::thread::hardware_concurrency() / 2); ^ /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bshoshany-thread-pool/all/test_package/test_package.cpp:192:16: error: ‘class BS::thread_pool’ has no member named ‘get_thread_count’ check(pool.get_thread_count() == count_unique_threads()); ^ /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bshoshany-thread-pool/all/test_package/test_package.cpp:192:59: error: ‘count_unique_threads’ was not declared in this scope check(pool.get_thread_count() == count_unique_threads()); ^ /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bshoshany-thread-pool/all/test_package/test_package.cpp:195:16: error: ‘class BS::thread_pool’ has no member named ‘get_thread_count’ check(pool.get_thread_count() == std::thread::hardware_concurrency()); ^ /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bshoshany-thread-pool/all/test_package/test_package.cpp:197:16: error: ‘class BS::thread_pool’ has no member named ‘get_thread_count’ check(pool.get_thread_count() == count_unique_threads()); ^ /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bshoshany-thread-pool/all/test_package/test_package.cpp: In function ‘void check_submit()’: /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bshoshany-thread-pool/all/test_package/test_package.cpp:247:37: error: no matching function for call to ‘BS::thread_pool::submit(check_submit()::)’ { flag = true; }) ^ In file included from /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bshoshany-thread-pool/all/test_package/test_package.cpp:36:0: /home/conan/w/prod/BuildSingleReference/.conan/data/bshoshany-thread-pool/3.0.0/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/BS_thread_pool.hpp:252:20: note: candidate: template std::future BS::thread_pool::submit(const F&, const A& ...) std::future submit(const F& task, const A&... args) ^ /home/conan/w/prod/BuildSingleReference/.conan/data/bshoshany-thread-pool/3.0.0/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/BS_thread_pool.hpp:252:20: note: template argument deduction/substitution failed: /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bshoshany-thread-pool/all/test_package/test_package.cpp:256:26: error: no matching function for call to ‘BS::thread_pool::submit(check_submit()::, bool*)’ &flag) ^ In file included from /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bshoshany-thread-pool/all/test_package/test_package.cpp:36:0: /home/conan/w/prod/BuildSingleReference/.conan/data/bshoshany-thread-pool/3.0.0/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/BS_thread_pool.hpp:252:20: note: candidate: template std::future BS::thread_pool::submit(const F&, const A& ...) std::future submit(const F& task, const A&... args) ^ /home/conan/w/prod/BuildSingleReference/.conan/data/bshoshany-thread-pool/3.0.0/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/BS_thread_pool.hpp:252:20: note: template argument deduction/substitution failed: /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bshoshany-thread-pool/all/test_package/test_package.cpp:266:35: error: no matching function for call to ‘BS::thread_pool::submit(check_submit()::, bool*, bool*)’ &flag1, &flag2) ^ In file included from /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bshoshany-thread-pool/all/test_package/test_package.cpp:36:0: /home/conan/w/prod/BuildSingleReference/.conan/data/bshoshany-thread-pool/3.0.0/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/BS_thread_pool.hpp:252:20: note: candidate: template std::future BS::thread_pool::submit(const F&, const A& ...) std::future submit(const F& task, const A&... args) ^ /home/conan/w/prod/BuildSingleReference/.conan/data/bshoshany-thread-pool/3.0.0/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/BS_thread_pool.hpp:252:20: note: template argument deduction/substitution failed: /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bshoshany-thread-pool/all/test_package/test_package.cpp:278:14: error: no matching function for call to ‘BS::thread_pool::submit(check_submit()::)’ }); ^ In file included from /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bshoshany-thread-pool/all/test_package/test_package.cpp:36:0: /home/conan/w/prod/BuildSingleReference/.conan/data/bshoshany-thread-pool/3.0.0/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/BS_thread_pool.hpp:252:20: note: candidate: template std::future BS::thread_pool::submit(const F&, const A& ...) std::future submit(const F& task, const A&... args) ^ /home/conan/w/prod/BuildSingleReference/.conan/data/bshoshany-thread-pool/3.0.0/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/BS_thread_pool.hpp:252:20: note: template argument deduction/substitution failed: /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bshoshany-thread-pool/all/test_package/test_package.cpp:290:18: error: no matching function for call to ‘BS::thread_pool::submit(check_submit()::, bool*)’ &flag); ^ In file included from /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bshoshany-thread-pool/all/test_package/test_package.cpp:36:0: /home/conan/w/prod/BuildSingleReference/.conan/data/bshoshany-thread-pool/3.0.0/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/BS_thread_pool.hpp:252:20: note: candidate: template std::future BS::thread_pool::submit(const F&, const A& ...) std::future submit(const F& task, const A&... args) ^ /home/conan/w/prod/BuildSingleReference/.conan/data/bshoshany-thread-pool/3.0.0/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/BS_thread_pool.hpp:252:20: note: template argument deduction/substitution failed: /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bshoshany-thread-pool/all/test_package/test_package.cpp:303:27: error: no matching function for call to ‘BS::thread_pool::submit(check_submit()::, bool*, bool*)’ &flag1, &flag2); ^ In file included from /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bshoshany-thread-pool/all/test_package/test_package.cpp:36:0: /home/conan/w/prod/BuildSingleReference/.conan/data/bshoshany-thread-pool/3.0.0/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/BS_thread_pool.hpp:252:20: note: candidate: template std::future BS::thread_pool::submit(const F&, const A& ...) std::future submit(const F& task, const A&... args) ^ /home/conan/w/prod/BuildSingleReference/.conan/data/bshoshany-thread-pool/3.0.0/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/BS_thread_pool.hpp:252:20: note: template argument deduction/substitution failed: /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bshoshany-thread-pool/all/test_package/test_package.cpp: In function ‘void check_wait_for_tasks()’: /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bshoshany-thread-pool/all/test_package/test_package.cpp:313:15: error: ‘concurrency_t’ in namespace ‘BS’ does not name a type const BS::concurrency_t n = pool.get_thread_count() * 10; ^ /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bshoshany-thread-pool/all/test_package/test_package.cpp:314:42: error: ‘n’ was not declared in this scope std::vector> flags(n); ^ /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bshoshany-thread-pool/all/test_package/test_package.cpp:315:10: error: ‘concurrency_t’ is not a member of ‘BS’ for (BS::concurrency_t i = 0; i < n; ++i) ^ /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bshoshany-thread-pool/all/test_package/test_package.cpp:315:35: error: ‘i’ was not declared in this scope for (BS::concurrency_t i = 0; i < n; ++i) ^ /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bshoshany-thread-pool/all/test_package/test_package.cpp: In lambda function: /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bshoshany-thread-pool/all/test_package/test_package.cpp:320:23: error: ‘i’ is not captured flags[i] = true; ^ /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bshoshany-thread-pool/all/test_package/test_package.cpp:317:23: note: the lambda has no capture-default [&flags, i] ^ /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bshoshany-thread-pool/all/test_package/test_package.cpp:315:35: note: ‘i’ declared here for (BS::concurrency_t i = 0; i < n; ++i) ^ /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bshoshany-thread-pool/all/test_package/test_package.cpp: In function ‘void check_wait_for_tasks()’: /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bshoshany-thread-pool/all/test_package/test_package.cpp:324:10: error: ‘concurrency_t’ is not a member of ‘BS’ for (BS::concurrency_t i = 0; i < n; ++i) ^ /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bshoshany-thread-pool/all/test_package/test_package.cpp:324:35: error: ‘i’ was not declared in this scope for (BS::concurrency_t i = 0; i < n; ++i) ^ /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bshoshany-thread-pool/all/test_package/test_package.cpp: At global scope: /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bshoshany-thread-pool/all/test_package/test_package.cpp:340:97: error: ‘concurrency_t’ in namespace ‘BS’ does not name a type void check_parallelize_loop_no_return(const int64_t random_start, int64_t random_end, const BS::concurrency_t num_tasks) ^ /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bshoshany-thread-pool/all/test_package/test_package.cpp: In function ‘void check_parallelize_loop_no_return(int64_t, int64_t, int)’: /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bshoshany-thread-pool/all/test_package/test_package.cpp:355:22: error: no matching function for call to ‘BS::thread_pool::parallelize_loop(const int64_t&, int64_t&, check_parallelize_loop_no_return(int64_t, int64_t, int)::, const int&)’ num_tasks) ^ In file included from /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bshoshany-thread-pool/all/test_package/test_package.cpp:36:0: /home/conan/w/prod/BuildSingleReference/.conan/data/bshoshany-thread-pool/3.0.0/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/BS_thread_pool.hpp:175:21: note: candidate: template BS::multi_future BS::thread_pool::parallelize_loop(const T1&, const T2&, const F&, size_t) multi_future parallelize_loop(const T1& first_index, const T2& index_after_last, const F& loop, size_t num_blocks = 0) ^ /home/conan/w/prod/BuildSingleReference/.conan/data/bshoshany-thread-pool/3.0.0/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/BS_thread_pool.hpp:175:21: note: template argument deduction/substitution failed: /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bshoshany-thread-pool/all/test_package/test_package.cpp: At global scope: /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bshoshany-thread-pool/all/test_package/test_package.cpp:370:94: error: ‘concurrency_t’ in namespace ‘BS’ does not name a type void check_parallelize_loop_return(const int64_t random_start, int64_t random_end, const BS::concurrency_t num_tasks) ^ /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bshoshany-thread-pool/all/test_package/test_package.cpp: In function ‘void check_parallelize_loop_return(int64_t, int64_t, int)’: /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bshoshany-thread-pool/all/test_package/test_package.cpp:384:63: error: no matching function for call to ‘BS::thread_pool::parallelize_loop(const int64_t&, int64_t&, check_parallelize_loop_return(int64_t, int64_t, int)::, const int&)’ num_tasks) ^ In file included from /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bshoshany-thread-pool/all/test_package/test_package.cpp:36:0: /home/conan/w/prod/BuildSingleReference/.conan/data/bshoshany-thread-pool/3.0.0/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/BS_thread_pool.hpp:175:21: note: candidate: template BS::multi_future BS::thread_pool::parallelize_loop(const T1&, const T2&, const F&, size_t) multi_future parallelize_loop(const T1& first_index, const T2& index_after_last, const F& loop, size_t num_blocks = 0) ^ /home/conan/w/prod/BuildSingleReference/.conan/data/bshoshany-thread-pool/3.0.0/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/BS_thread_pool.hpp:175:21: note: template argument deduction/substitution failed: /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bshoshany-thread-pool/all/test_package/test_package.cpp: In function ‘void check_parallelize_loop()’: /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bshoshany-thread-pool/all/test_package/test_package.cpp:399:35: error: ‘concurrency_t’ is not a member of ‘BS’ std::uniform_int_distribution task_dist(1, pool.get_thread_count()); ^ /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bshoshany-thread-pool/all/test_package/test_package.cpp:399:35: error: ‘concurrency_t’ is not a member of ‘BS’ /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bshoshany-thread-pool/all/test_package/test_package.cpp:399:52: error: template argument 1 is invalid std::uniform_int_distribution task_dist(1, pool.get_thread_count()); ^ /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bshoshany-thread-pool/all/test_package/test_package.cpp:399:72: error: ‘class BS::thread_pool’ has no member named ‘get_thread_count’ std::uniform_int_distribution task_dist(1, pool.get_thread_count()); ^ /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bshoshany-thread-pool/all/test_package/test_package.cpp:399:90: error: expression list treated as compound expression in initializer [-fpermissive] std::uniform_int_distribution task_dist(1, pool.get_thread_count()); ^ /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bshoshany-thread-pool/all/test_package/test_package.cpp:402:86: error: ‘task_dist’ cannot be used as a function check_parallelize_loop_no_return(index_dist(mt), index_dist(mt), task_dist(mt)); ^ /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bshoshany-thread-pool/all/test_package/test_package.cpp:404:83: error: ‘task_dist’ cannot be used as a function check_parallelize_loop_return(index_dist(mt), index_dist(mt), task_dist(mt)); ^ /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bshoshany-thread-pool/all/test_package/test_package.cpp: In function ‘void check_task_monitoring()’: /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bshoshany-thread-pool/all/test_package/test_package.cpp:416:5: error: ‘concurrency_t’ is not a member of ‘BS’ BS::concurrency_t n = std::min(std::thread::hardware_concurrency(), 4); ^ /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bshoshany-thread-pool/all/test_package/test_package.cpp:417:40: error: ‘n’ was not declared in this scope dual_println("Resetting pool to ", n, " threads."); ^ /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bshoshany-thread-pool/all/test_package/test_package.cpp:421:10: error: ‘concurrency_t’ is not a member of ‘BS’ for (BS::concurrency_t i = 0; i < n * 3; ++i) ^ /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bshoshany-thread-pool/all/test_package/test_package.cpp:421:35: error: ‘i’ was not declared in this scope for (BS::concurrency_t i = 0; i < n * 3; ++i) ^ /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bshoshany-thread-pool/all/test_package/test_package.cpp: In lambda function: /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bshoshany-thread-pool/all/test_package/test_package.cpp:425:33: error: ‘i’ is not captured while (!release[i]) ^ /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bshoshany-thread-pool/all/test_package/test_package.cpp:423:25: note: the lambda has no capture-default [&release, i] ^ /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bshoshany-thread-pool/all/test_package/test_package.cpp:421:35: note: ‘i’ declared here for (BS::concurrency_t i = 0; i < n * 3; ++i) ^ /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bshoshany-thread-pool/all/test_package/test_package.cpp:427:39: error: ‘i’ is not captured dual_println("Task ", i, " released."); ^ /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bshoshany-thread-pool/all/test_package/test_package.cpp:423:25: note: the lambda has no capture-default [&release, i] ^ /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bshoshany-thread-pool/all/test_package/test_package.cpp:421:35: note: ‘i’ declared here for (BS::concurrency_t i = 0; i < n * 3; ++i) ^ /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bshoshany-thread-pool/all/test_package/test_package.cpp: In function ‘void check_task_monitoring()’: /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bshoshany-thread-pool/all/test_package/test_package.cpp:433:10: error: ‘concurrency_t’ is not a member of ‘BS’ for (BS::concurrency_t i = 0; i < n; ++i) ^ /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bshoshany-thread-pool/all/test_package/test_package.cpp:433:35: error: ‘i’ was not declared in this scope for (BS::concurrency_t i = 0; i < n; ++i) ^ /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bshoshany-thread-pool/all/test_package/test_package.cpp:438:10: error: ‘concurrency_t’ is not a member of ‘BS’ for (BS::concurrency_t i = n; i < n * 2; ++i) ^ /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bshoshany-thread-pool/all/test_package/test_package.cpp:438:35: error: ‘i’ was not declared in this scope for (BS::concurrency_t i = n; i < n * 2; ++i) ^ /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bshoshany-thread-pool/all/test_package/test_package.cpp:443:10: error: ‘concurrency_t’ is not a member of ‘BS’ for (BS::concurrency_t i = n * 2; i < n * 3; ++i) ^ /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bshoshany-thread-pool/all/test_package/test_package.cpp:443:39: error: ‘i’ was not declared in this scope for (BS::concurrency_t i = n * 2; i < n * 3; ++i) ^ /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bshoshany-thread-pool/all/test_package/test_package.cpp: In function ‘void check_pausing()’: /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bshoshany-thread-pool/all/test_package/test_package.cpp:457:5: error: ‘concurrency_t’ is not a member of ‘BS’ BS::concurrency_t n = std::min(std::thread::hardware_concurrency(), 4); ^ /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bshoshany-thread-pool/all/test_package/test_package.cpp:458:40: error: ‘n’ was not declared in this scope dual_println("Resetting pool to ", n, " threads."); ^ /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bshoshany-thread-pool/all/test_package/test_package.cpp:463:10: error: ‘concurrency_t’ is not a member of ‘BS’ for (BS::concurrency_t i = 0; i < n * 3; ++i) ^ /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bshoshany-thread-pool/all/test_package/test_package.cpp:463:35: error: ‘i’ was not declared in this scope for (BS::concurrency_t i = 0; i < n * 3; ++i) ^ /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bshoshany-thread-pool/all/test_package/test_package.cpp: In lambda function: /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bshoshany-thread-pool/all/test_package/test_package.cpp:468:39: error: ‘i’ is not captured dual_println("Task ", i, " done."); ^ /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bshoshany-thread-pool/all/test_package/test_package.cpp:465:15: note: the lambda has no capture-default [i] ^ /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bshoshany-thread-pool/all/test_package/test_package.cpp:463:35: note: ‘i’ declared here for (BS::concurrency_t i = 0; i < n * 3; ++i) ^ /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bshoshany-thread-pool/all/test_package/test_package.cpp: In function ‘void check_exceptions()’: /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bshoshany-thread-pool/all/test_package/test_package.cpp:508:97: error: no matching function for call to ‘BS::thread_pool::submit(check_exceptions()::)’ { throw std::runtime_error("Exception thrown!"); }); ^ In file included from /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bshoshany-thread-pool/all/test_package/test_package.cpp:36:0: /home/conan/w/prod/BuildSingleReference/.conan/data/bshoshany-thread-pool/3.0.0/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/BS_thread_pool.hpp:252:20: note: candidate: template std::future BS::thread_pool::submit(const F&, const A& ...) std::future submit(const F& task, const A&... args) ^ /home/conan/w/prod/BuildSingleReference/.conan/data/bshoshany-thread-pool/3.0.0/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/BS_thread_pool.hpp:252:20: note: template argument deduction/substitution failed: /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bshoshany-thread-pool/all/test_package/test_package.cpp: At global scope: /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bshoshany-thread-pool/all/test_package/test_package.cpp:528:63: error: ‘concurrency_t’ in namespace ‘BS’ does not name a type void check_vector_of_size(const size_t vector_size, const BS::concurrency_t num_tasks) ^ /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bshoshany-thread-pool/all/test_package/test_package.cpp: In function ‘void check_vector_of_size(size_t, int)’: /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bshoshany-thread-pool/all/test_package/test_package.cpp:551:22: error: no matching function for call to ‘BS::thread_pool::parallelize_loop(int, const size_t&, check_vector_of_size(size_t, int)::, const int&)’ num_tasks) ^ In file included from /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bshoshany-thread-pool/all/test_package/test_package.cpp:36:0: /home/conan/w/prod/BuildSingleReference/.conan/data/bshoshany-thread-pool/3.0.0/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/BS_thread_pool.hpp:175:21: note: candidate: template BS::multi_future BS::thread_pool::parallelize_loop(const T1&, const T2&, const F&, size_t) multi_future parallelize_loop(const T1& first_index, const T2& index_after_last, const F& loop, size_t num_blocks = 0) ^ /home/conan/w/prod/BuildSingleReference/.conan/data/bshoshany-thread-pool/3.0.0/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/BS_thread_pool.hpp:175:21: note: template argument deduction/substitution failed: /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bshoshany-thread-pool/all/test_package/test_package.cpp: In function ‘void check_vectors()’: /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bshoshany-thread-pool/all/test_package/test_package.cpp:567:35: error: ‘concurrency_t’ is not a member of ‘BS’ std::uniform_int_distribution task_dist(1, pool.get_thread_count()); ^ /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bshoshany-thread-pool/all/test_package/test_package.cpp:567:35: error: ‘concurrency_t’ is not a member of ‘BS’ /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bshoshany-thread-pool/all/test_package/test_package.cpp:567:52: error: template argument 1 is invalid std::uniform_int_distribution task_dist(1, pool.get_thread_count()); ^ /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bshoshany-thread-pool/all/test_package/test_package.cpp:567:72: error: ‘class BS::thread_pool’ has no member named ‘get_thread_count’ std::uniform_int_distribution task_dist(1, pool.get_thread_count()); ^ /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bshoshany-thread-pool/all/test_package/test_package.cpp:567:90: error: expression list treated as compound expression in initializer [-fpermissive] std::uniform_int_distribution task_dist(1, pool.get_thread_count()); ^ /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bshoshany-thread-pool/all/test_package/test_package.cpp:569:57: error: ‘task_dist’ cannot be used as a function check_vector_of_size(size_dist(mt), task_dist(mt)); ^ /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bshoshany-thread-pool/all/test_package/test_package.cpp: At global scope: /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bshoshany-thread-pool/all/test_package/test_package.cpp:622:29: error: ‘concurrency_t’ in namespace ‘BS’ does not name a type void print_timing(const BS::concurrency_t num_tasks, const std::pair &mean_sd) ^ /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bshoshany-thread-pool/all/test_package/test_package.cpp:638:66: error: ‘concurrency_t’ in namespace ‘BS’ does not name a type void print_speedup(const std::vector &timings, const BS::concurrency_t try_tasks[]) ^ /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bshoshany-thread-pool/all/test_package/test_package.cpp: In function ‘void print_speedup(const std::vector&, const int*)’: /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bshoshany-thread-pool/all/test_package/test_package.cpp:642:15: error: ‘concurrency_t’ in namespace ‘BS’ does not name a type const BS::concurrency_t num_tasks = try_tasks[min_el - std::begin(timings)]; ^ /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bshoshany-thread-pool/all/test_package/test_package.cpp:643:113: error: ‘num_tasks’ was not declared in this scope dual_println("Maximum speedup obtained by multithreading vs. single-threading: ", max_speedup, "x, using ", num_tasks, " tasks."); ^ /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bshoshany-thread-pool/all/test_package/test_package.cpp: In function ‘std::pair analyze(const std::vector&)’: /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bshoshany-thread-pool/all/test_package/test_package.cpp:661:21: error: missing template arguments before ‘(’ token return std::pair(mean, sd); ^ /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bshoshany-thread-pool/all/test_package/test_package.cpp: In function ‘void check_performance()’: /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bshoshany-thread-pool/all/test_package/test_package.cpp:694:15: error: ‘concurrency_t’ in namespace ‘BS’ does not name a type const BS::concurrency_t thread_count = pool.get_thread_count(); ^ /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bshoshany-thread-pool/all/test_package/test_package.cpp:695:28: error: ‘thread_count’ was not declared in this scope dual_println("Using ", thread_count, " threads."); ^ /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bshoshany-thread-pool/all/test_package/test_package.cpp:698:15: error: ‘concurrency_t’ in namespace ‘BS’ does not name a type const BS::concurrency_t try_tasks[] = {0, thread_count / 4, thread_count / 2, thread_count, thread_count * 2, thread_count * 4}; ^ /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bshoshany-thread-pool/all/test_package/test_package.cpp:736:10: error: ‘concurrency_t’ is not a member of ‘BS’ for (BS::concurrency_t n : try_tasks) ^ /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bshoshany-thread-pool/all/test_package/test_package.cpp:774:40: error: ‘try_tasks’ was not declared in this scope print_speedup(different_n_timings, try_tasks); ^ /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bshoshany-thread-pool/all/test_package/test_package.cpp:775:1: error: expected primary-expression before ‘}’ token } ^ /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bshoshany-thread-pool/all/test_package/test_package.cpp:775:1: error: expected ‘)’ before ‘}’ token /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bshoshany-thread-pool/all/test_package/test_package.cpp:775:1: error: expected primary-expression before ‘}’ token make[2]: *** [CMakeFiles/test_package.dir/test_package.cpp.o] Error 1 make[1]: *** [CMakeFiles/test_package.dir/all] Error 2 make: *** [all] Error 2 ERROR: bshoshany-thread-pool/3.0.0 (test package): Error in build() method, line 12 cmake.build() ConanException: Error 2 while executing cmake --build '/home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bshoshany-thread-pool/all/test_package/build/2da8b83836e27aacd43916b404a0e9d98f21239f' '--' '-j3'