Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- In file included from /tmp/spheretest/minetest/src/network/connection.h:30:0,
- from /tmp/spheretest/minetest/src/server.h:23,
- from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
- /tmp/spheretest/minetest/src/util/thread.h: In member function ‘MutexAutoLock* MutexedVariable<T>::getLock()’:
- /tmp/spheretest/minetest/src/util/thread.h:52:35: error: no matching function for call to ‘std::unique_lock<std::mutex>::unique_lock(Mutex&)’
- return new MutexAutoLock(m_mutex);
- ^
- In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
- from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
- from /tmp/spheretest/minetest/src/util/container.h:26,
- from /tmp/spheretest/minetest/src/network/connection.h:29,
- from /tmp/spheretest/minetest/src/server.h:23,
- from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:238:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>&&) [with _Mutex = std::mutex]
- unique_lock(unique_lock&& __u) noexcept
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:238:7: note: no known conversion for argument 1 from ‘Mutex’ to ‘std::unique_lock<std::mutex>&&’
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:223:2: note: candidate: template<class _Rep, class _Period> std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, const std::chrono::duration<_Rep, _Period>&)
- unique_lock(mutex_type& __m,
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:223:2: note: template argument deduction/substitution failed:
- In file included from /tmp/spheretest/minetest/src/network/connection.h:30:0,
- from /tmp/spheretest/minetest/src/server.h:23,
- from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
- /tmp/spheretest/minetest/src/util/thread.h:52:35: note: candidate expects 2 arguments, 1 provided
- return new MutexAutoLock(m_mutex);
- ^
- In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
- from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
- from /tmp/spheretest/minetest/src/util/container.h:26,
- from /tmp/spheretest/minetest/src/network/connection.h:29,
- from /tmp/spheretest/minetest/src/server.h:23,
- from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:216:2: note: candidate: template<class _Clock, class _Duration> std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, const std::chrono::time_point<_Clock, _Duration>&)
- unique_lock(mutex_type& __m,
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:216:2: note: template argument deduction/substitution failed:
- In file included from /tmp/spheretest/minetest/src/network/connection.h:30:0,
- from /tmp/spheretest/minetest/src/server.h:23,
- from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
- /tmp/spheretest/minetest/src/util/thread.h:52:35: note: candidate expects 2 arguments, 1 provided
- return new MutexAutoLock(m_mutex);
- ^
- In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
- from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
- from /tmp/spheretest/minetest/src/util/container.h:26,
- from /tmp/spheretest/minetest/src/network/connection.h:29,
- from /tmp/spheretest/minetest/src/server.h:23,
- from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:209:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::adopt_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
- unique_lock(mutex_type& __m, adopt_lock_t)
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:209:7: note: candidate expects 2 arguments, 1 provided
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:205:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::try_to_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
- unique_lock(mutex_type& __m, try_to_lock_t)
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:205:7: note: candidate expects 2 arguments, 1 provided
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:201:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::defer_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
- unique_lock(mutex_type& __m, defer_lock_t) noexcept
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:201:7: note: candidate expects 2 arguments, 1 provided
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:194:16: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
- explicit unique_lock(mutex_type& __m)
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:194:16: note: no known conversion for argument 1 from ‘Mutex’ to ‘std::unique_lock<std::mutex>::mutex_type& {aka std::mutex&}’
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:190:7: note: candidate: std::unique_lock<_Mutex>::unique_lock() [with _Mutex = std::mutex]
- unique_lock() noexcept
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:190:7: note: candidate expects 0 arguments, 1 provided
- In file included from /tmp/spheretest/minetest/src/server.h:23:0,
- from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
- /tmp/spheretest/minetest/src/network/connection.h: In member function ‘const float con::Channel::getCurrentDownloadRateKB()’:
- /tmp/spheretest/minetest/src/network/connection.h:522:40: error: no matching function for call to ‘std::unique_lock<std::mutex>::unique_lock(Mutex&)’
- { MutexAutoLock lock(m_internal_mutex); return cur_kbps; };
- ^
- In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
- from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
- from /tmp/spheretest/minetest/src/util/container.h:26,
- from /tmp/spheretest/minetest/src/network/connection.h:29,
- from /tmp/spheretest/minetest/src/server.h:23,
- from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:238:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>&&) [with _Mutex = std::mutex]
- unique_lock(unique_lock&& __u) noexcept
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:238:7: note: no known conversion for argument 1 from ‘Mutex’ to ‘std::unique_lock<std::mutex>&&’
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:223:2: note: candidate: template<class _Rep, class _Period> std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, const std::chrono::duration<_Rep, _Period>&)
- unique_lock(mutex_type& __m,
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:223:2: note: template argument deduction/substitution failed:
- In file included from /tmp/spheretest/minetest/src/server.h:23:0,
- from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
- /tmp/spheretest/minetest/src/network/connection.h:522:40: note: candidate expects 2 arguments, 1 provided
- { MutexAutoLock lock(m_internal_mutex); return cur_kbps; };
- ^
- In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
- from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
- from /tmp/spheretest/minetest/src/util/container.h:26,
- from /tmp/spheretest/minetest/src/network/connection.h:29,
- from /tmp/spheretest/minetest/src/server.h:23,
- from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:216:2: note: candidate: template<class _Clock, class _Duration> std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, const std::chrono::time_point<_Clock, _Duration>&)
- unique_lock(mutex_type& __m,
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:216:2: note: template argument deduction/substitution failed:
- In file included from /tmp/spheretest/minetest/src/server.h:23:0,
- from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
- /tmp/spheretest/minetest/src/network/connection.h:522:40: note: candidate expects 2 arguments, 1 provided
- { MutexAutoLock lock(m_internal_mutex); return cur_kbps; };
- ^
- In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
- from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
- from /tmp/spheretest/minetest/src/util/container.h:26,
- from /tmp/spheretest/minetest/src/network/connection.h:29,
- from /tmp/spheretest/minetest/src/server.h:23,
- from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:209:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::adopt_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
- unique_lock(mutex_type& __m, adopt_lock_t)
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:209:7: note: candidate expects 2 arguments, 1 provided
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:205:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::try_to_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
- unique_lock(mutex_type& __m, try_to_lock_t)
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:205:7: note: candidate expects 2 arguments, 1 provided
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:201:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::defer_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
- unique_lock(mutex_type& __m, defer_lock_t) noexcept
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:201:7: note: candidate expects 2 arguments, 1 provided
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:194:16: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
- explicit unique_lock(mutex_type& __m)
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:194:16: note: no known conversion for argument 1 from ‘Mutex’ to ‘std::unique_lock<std::mutex>::mutex_type& {aka std::mutex&}’
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:190:7: note: candidate: std::unique_lock<_Mutex>::unique_lock() [with _Mutex = std::mutex]
- unique_lock() noexcept
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:190:7: note: candidate expects 0 arguments, 1 provided
- In file included from /tmp/spheretest/minetest/src/server.h:23:0,
- from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
- /tmp/spheretest/minetest/src/network/connection.h: In member function ‘const float con::Channel::getMaxDownloadRateKB()’:
- /tmp/spheretest/minetest/src/network/connection.h:524:40: error: no matching function for call to ‘std::unique_lock<std::mutex>::unique_lock(Mutex&)’
- { MutexAutoLock lock(m_internal_mutex); return max_kbps; };
- ^
- In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
- from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
- from /tmp/spheretest/minetest/src/util/container.h:26,
- from /tmp/spheretest/minetest/src/network/connection.h:29,
- from /tmp/spheretest/minetest/src/server.h:23,
- from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:238:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>&&) [with _Mutex = std::mutex]
- unique_lock(unique_lock&& __u) noexcept
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:238:7: note: no known conversion for argument 1 from ‘Mutex’ to ‘std::unique_lock<std::mutex>&&’
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:223:2: note: candidate: template<class _Rep, class _Period> std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, const std::chrono::duration<_Rep, _Period>&)
- unique_lock(mutex_type& __m,
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:223:2: note: template argument deduction/substitution failed:
- In file included from /tmp/spheretest/minetest/src/server.h:23:0,
- from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
- /tmp/spheretest/minetest/src/network/connection.h:524:40: note: candidate expects 2 arguments, 1 provided
- { MutexAutoLock lock(m_internal_mutex); return max_kbps; };
- ^
- In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
- from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
- from /tmp/spheretest/minetest/src/util/container.h:26,
- from /tmp/spheretest/minetest/src/network/connection.h:29,
- from /tmp/spheretest/minetest/src/server.h:23,
- from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:216:2: note: candidate: template<class _Clock, class _Duration> std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, const std::chrono::time_point<_Clock, _Duration>&)
- unique_lock(mutex_type& __m,
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:216:2: note: template argument deduction/substitution failed:
- In file included from /tmp/spheretest/minetest/src/server.h:23:0,
- from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
- /tmp/spheretest/minetest/src/network/connection.h:524:40: note: candidate expects 2 arguments, 1 provided
- { MutexAutoLock lock(m_internal_mutex); return max_kbps; };
- ^
- In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
- from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
- from /tmp/spheretest/minetest/src/util/container.h:26,
- from /tmp/spheretest/minetest/src/network/connection.h:29,
- from /tmp/spheretest/minetest/src/server.h:23,
- from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:209:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::adopt_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
- unique_lock(mutex_type& __m, adopt_lock_t)
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:209:7: note: candidate expects 2 arguments, 1 provided
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:205:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::try_to_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
- unique_lock(mutex_type& __m, try_to_lock_t)
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:205:7: note: candidate expects 2 arguments, 1 provided
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:201:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::defer_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
- unique_lock(mutex_type& __m, defer_lock_t) noexcept
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:201:7: note: candidate expects 2 arguments, 1 provided
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:194:16: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
- explicit unique_lock(mutex_type& __m)
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:194:16: note: no known conversion for argument 1 from ‘Mutex’ to ‘std::unique_lock<std::mutex>::mutex_type& {aka std::mutex&}’
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:190:7: note: candidate: std::unique_lock<_Mutex>::unique_lock() [with _Mutex = std::mutex]
- unique_lock() noexcept
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:190:7: note: candidate expects 0 arguments, 1 provided
- In file included from /tmp/spheretest/minetest/src/server.h:23:0,
- from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
- /tmp/spheretest/minetest/src/network/connection.h: In member function ‘const float con::Channel::getCurrentLossRateKB()’:
- /tmp/spheretest/minetest/src/network/connection.h:527:40: error: no matching function for call to ‘std::unique_lock<std::mutex>::unique_lock(Mutex&)’
- { MutexAutoLock lock(m_internal_mutex); return cur_kbps_lost; };
- ^
- In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
- from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
- from /tmp/spheretest/minetest/src/util/container.h:26,
- from /tmp/spheretest/minetest/src/network/connection.h:29,
- from /tmp/spheretest/minetest/src/server.h:23,
- from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:238:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>&&) [with _Mutex = std::mutex]
- unique_lock(unique_lock&& __u) noexcept
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:238:7: note: no known conversion for argument 1 from ‘Mutex’ to ‘std::unique_lock<std::mutex>&&’
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:223:2: note: candidate: template<class _Rep, class _Period> std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, const std::chrono::duration<_Rep, _Period>&)
- unique_lock(mutex_type& __m,
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:223:2: note: template argument deduction/substitution failed:
- In file included from /tmp/spheretest/minetest/src/server.h:23:0,
- from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
- /tmp/spheretest/minetest/src/network/connection.h:527:40: note: candidate expects 2 arguments, 1 provided
- { MutexAutoLock lock(m_internal_mutex); return cur_kbps_lost; };
- ^
- In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
- from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
- from /tmp/spheretest/minetest/src/util/container.h:26,
- from /tmp/spheretest/minetest/src/network/connection.h:29,
- from /tmp/spheretest/minetest/src/server.h:23,
- from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:216:2: note: candidate: template<class _Clock, class _Duration> std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, const std::chrono::time_point<_Clock, _Duration>&)
- unique_lock(mutex_type& __m,
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:216:2: note: template argument deduction/substitution failed:
- In file included from /tmp/spheretest/minetest/src/server.h:23:0,
- from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
- /tmp/spheretest/minetest/src/network/connection.h:527:40: note: candidate expects 2 arguments, 1 provided
- { MutexAutoLock lock(m_internal_mutex); return cur_kbps_lost; };
- ^
- In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
- from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
- from /tmp/spheretest/minetest/src/util/container.h:26,
- from /tmp/spheretest/minetest/src/network/connection.h:29,
- from /tmp/spheretest/minetest/src/server.h:23,
- from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:209:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::adopt_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
- unique_lock(mutex_type& __m, adopt_lock_t)
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:209:7: note: candidate expects 2 arguments, 1 provided
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:205:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::try_to_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
- unique_lock(mutex_type& __m, try_to_lock_t)
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:205:7: note: candidate expects 2 arguments, 1 provided
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:201:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::defer_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
- unique_lock(mutex_type& __m, defer_lock_t) noexcept
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:201:7: note: candidate expects 2 arguments, 1 provided
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:194:16: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
- explicit unique_lock(mutex_type& __m)
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:194:16: note: no known conversion for argument 1 from ‘Mutex’ to ‘std::unique_lock<std::mutex>::mutex_type& {aka std::mutex&}’
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:190:7: note: candidate: std::unique_lock<_Mutex>::unique_lock() [with _Mutex = std::mutex]
- unique_lock() noexcept
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:190:7: note: candidate expects 0 arguments, 1 provided
- In file included from /tmp/spheretest/minetest/src/server.h:23:0,
- from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
- /tmp/spheretest/minetest/src/network/connection.h: In member function ‘const float con::Channel::getMaxLossRateKB()’:
- /tmp/spheretest/minetest/src/network/connection.h:529:40: error: no matching function for call to ‘std::unique_lock<std::mutex>::unique_lock(Mutex&)’
- { MutexAutoLock lock(m_internal_mutex); return max_kbps_lost; };
- ^
- In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
- from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
- from /tmp/spheretest/minetest/src/util/container.h:26,
- from /tmp/spheretest/minetest/src/network/connection.h:29,
- from /tmp/spheretest/minetest/src/server.h:23,
- from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:238:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>&&) [with _Mutex = std::mutex]
- unique_lock(unique_lock&& __u) noexcept
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:238:7: note: no known conversion for argument 1 from ‘Mutex’ to ‘std::unique_lock<std::mutex>&&’
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:223:2: note: candidate: template<class _Rep, class _Period> std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, const std::chrono::duration<_Rep, _Period>&)
- unique_lock(mutex_type& __m,
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:223:2: note: template argument deduction/substitution failed:
- In file included from /tmp/spheretest/minetest/src/server.h:23:0,
- from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
- /tmp/spheretest/minetest/src/network/connection.h:529:40: note: candidate expects 2 arguments, 1 provided
- { MutexAutoLock lock(m_internal_mutex); return max_kbps_lost; };
- ^
- In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
- from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
- from /tmp/spheretest/minetest/src/util/container.h:26,
- from /tmp/spheretest/minetest/src/network/connection.h:29,
- from /tmp/spheretest/minetest/src/server.h:23,
- from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:216:2: note: candidate: template<class _Clock, class _Duration> std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, const std::chrono::time_point<_Clock, _Duration>&)
- unique_lock(mutex_type& __m,
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:216:2: note: template argument deduction/substitution failed:
- In file included from /tmp/spheretest/minetest/src/server.h:23:0,
- from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
- /tmp/spheretest/minetest/src/network/connection.h:529:40: note: candidate expects 2 arguments, 1 provided
- { MutexAutoLock lock(m_internal_mutex); return max_kbps_lost; };
- ^
- In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
- from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
- from /tmp/spheretest/minetest/src/util/container.h:26,
- from /tmp/spheretest/minetest/src/network/connection.h:29,
- from /tmp/spheretest/minetest/src/server.h:23,
- from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:209:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::adopt_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
- unique_lock(mutex_type& __m, adopt_lock_t)
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:209:7: note: candidate expects 2 arguments, 1 provided
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:205:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::try_to_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
- unique_lock(mutex_type& __m, try_to_lock_t)
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:205:7: note: candidate expects 2 arguments, 1 provided
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:201:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::defer_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
- unique_lock(mutex_type& __m, defer_lock_t) noexcept
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:201:7: note: candidate expects 2 arguments, 1 provided
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:194:16: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
- explicit unique_lock(mutex_type& __m)
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:194:16: note: no known conversion for argument 1 from ‘Mutex’ to ‘std::unique_lock<std::mutex>::mutex_type& {aka std::mutex&}’
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:190:7: note: candidate: std::unique_lock<_Mutex>::unique_lock() [with _Mutex = std::mutex]
- unique_lock() noexcept
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:190:7: note: candidate expects 0 arguments, 1 provided
- In file included from /tmp/spheretest/minetest/src/server.h:23:0,
- from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
- /tmp/spheretest/minetest/src/network/connection.h: In member function ‘const float con::Channel::getCurrentIncomingRateKB()’:
- /tmp/spheretest/minetest/src/network/connection.h:532:40: error: no matching function for call to ‘std::unique_lock<std::mutex>::unique_lock(Mutex&)’
- { MutexAutoLock lock(m_internal_mutex); return cur_incoming_kbps; };
- ^
- In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
- from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
- from /tmp/spheretest/minetest/src/util/container.h:26,
- from /tmp/spheretest/minetest/src/network/connection.h:29,
- from /tmp/spheretest/minetest/src/server.h:23,
- from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:238:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>&&) [with _Mutex = std::mutex]
- unique_lock(unique_lock&& __u) noexcept
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:238:7: note: no known conversion for argument 1 from ‘Mutex’ to ‘std::unique_lock<std::mutex>&&’
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:223:2: note: candidate: template<class _Rep, class _Period> std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, const std::chrono::duration<_Rep, _Period>&)
- unique_lock(mutex_type& __m,
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:223:2: note: template argument deduction/substitution failed:
- In file included from /tmp/spheretest/minetest/src/server.h:23:0,
- from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
- /tmp/spheretest/minetest/src/network/connection.h:532:40: note: candidate expects 2 arguments, 1 provided
- { MutexAutoLock lock(m_internal_mutex); return cur_incoming_kbps; };
- ^
- In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
- from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
- from /tmp/spheretest/minetest/src/util/container.h:26,
- from /tmp/spheretest/minetest/src/network/connection.h:29,
- from /tmp/spheretest/minetest/src/server.h:23,
- from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:216:2: note: candidate: template<class _Clock, class _Duration> std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, const std::chrono::time_point<_Clock, _Duration>&)
- unique_lock(mutex_type& __m,
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:216:2: note: template argument deduction/substitution failed:
- In file included from /tmp/spheretest/minetest/src/server.h:23:0,
- from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
- /tmp/spheretest/minetest/src/network/connection.h:532:40: note: candidate expects 2 arguments, 1 provided
- { MutexAutoLock lock(m_internal_mutex); return cur_incoming_kbps; };
- ^
- In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
- from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
- from /tmp/spheretest/minetest/src/util/container.h:26,
- from /tmp/spheretest/minetest/src/network/connection.h:29,
- from /tmp/spheretest/minetest/src/server.h:23,
- from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:209:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::adopt_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
- unique_lock(mutex_type& __m, adopt_lock_t)
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:209:7: note: candidate expects 2 arguments, 1 provided
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:205:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::try_to_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
- unique_lock(mutex_type& __m, try_to_lock_t)
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:205:7: note: candidate expects 2 arguments, 1 provided
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:201:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::defer_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
- unique_lock(mutex_type& __m, defer_lock_t) noexcept
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:201:7: note: candidate expects 2 arguments, 1 provided
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:194:16: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
- explicit unique_lock(mutex_type& __m)
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:194:16: note: no known conversion for argument 1 from ‘Mutex’ to ‘std::unique_lock<std::mutex>::mutex_type& {aka std::mutex&}’
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:190:7: note: candidate: std::unique_lock<_Mutex>::unique_lock() [with _Mutex = std::mutex]
- unique_lock() noexcept
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:190:7: note: candidate expects 0 arguments, 1 provided
- In file included from /tmp/spheretest/minetest/src/server.h:23:0,
- from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
- /tmp/spheretest/minetest/src/network/connection.h: In member function ‘const float con::Channel::getMaxIncomingRateKB()’:
- /tmp/spheretest/minetest/src/network/connection.h:534:40: error: no matching function for call to ‘std::unique_lock<std::mutex>::unique_lock(Mutex&)’
- { MutexAutoLock lock(m_internal_mutex); return max_incoming_kbps; };
- ^
- In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
- from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
- from /tmp/spheretest/minetest/src/util/container.h:26,
- from /tmp/spheretest/minetest/src/network/connection.h:29,
- from /tmp/spheretest/minetest/src/server.h:23,
- from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:238:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>&&) [with _Mutex = std::mutex]
- unique_lock(unique_lock&& __u) noexcept
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:238:7: note: no known conversion for argument 1 from ‘Mutex’ to ‘std::unique_lock<std::mutex>&&’
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:223:2: note: candidate: template<class _Rep, class _Period> std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, const std::chrono::duration<_Rep, _Period>&)
- unique_lock(mutex_type& __m,
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:223:2: note: template argument deduction/substitution failed:
- In file included from /tmp/spheretest/minetest/src/server.h:23:0,
- from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
- /tmp/spheretest/minetest/src/network/connection.h:534:40: note: candidate expects 2 arguments, 1 provided
- { MutexAutoLock lock(m_internal_mutex); return max_incoming_kbps; };
- ^
- In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
- from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
- from /tmp/spheretest/minetest/src/util/container.h:26,
- from /tmp/spheretest/minetest/src/network/connection.h:29,
- from /tmp/spheretest/minetest/src/server.h:23,
- from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:216:2: note: candidate: template<class _Clock, class _Duration> std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, const std::chrono::time_point<_Clock, _Duration>&)
- unique_lock(mutex_type& __m,
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:216:2: note: template argument deduction/substitution failed:
- In file included from /tmp/spheretest/minetest/src/server.h:23:0,
- from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
- /tmp/spheretest/minetest/src/network/connection.h:534:40: note: candidate expects 2 arguments, 1 provided
- { MutexAutoLock lock(m_internal_mutex); return max_incoming_kbps; };
- ^
- In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
- from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
- from /tmp/spheretest/minetest/src/util/container.h:26,
- from /tmp/spheretest/minetest/src/network/connection.h:29,
- from /tmp/spheretest/minetest/src/server.h:23,
- from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:209:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::adopt_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
- unique_lock(mutex_type& __m, adopt_lock_t)
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:209:7: note: candidate expects 2 arguments, 1 provided
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:205:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::try_to_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
- unique_lock(mutex_type& __m, try_to_lock_t)
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:205:7: note: candidate expects 2 arguments, 1 provided
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:201:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::defer_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
- unique_lock(mutex_type& __m, defer_lock_t) noexcept
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:201:7: note: candidate expects 2 arguments, 1 provided
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:194:16: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
- explicit unique_lock(mutex_type& __m)
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:194:16: note: no known conversion for argument 1 from ‘Mutex’ to ‘std::unique_lock<std::mutex>::mutex_type& {aka std::mutex&}’
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:190:7: note: candidate: std::unique_lock<_Mutex>::unique_lock() [with _Mutex = std::mutex]
- unique_lock() noexcept
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:190:7: note: candidate expects 0 arguments, 1 provided
- In file included from /tmp/spheretest/minetest/src/server.h:23:0,
- from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
- /tmp/spheretest/minetest/src/network/connection.h: In member function ‘const float con::Channel::getAvgDownloadRateKB()’:
- /tmp/spheretest/minetest/src/network/connection.h:537:40: error: no matching function for call to ‘std::unique_lock<std::mutex>::unique_lock(Mutex&)’
- { MutexAutoLock lock(m_internal_mutex); return avg_kbps; };
- ^
- In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
- from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
- from /tmp/spheretest/minetest/src/util/container.h:26,
- from /tmp/spheretest/minetest/src/network/connection.h:29,
- from /tmp/spheretest/minetest/src/server.h:23,
- from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:238:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>&&) [with _Mutex = std::mutex]
- unique_lock(unique_lock&& __u) noexcept
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:238:7: note: no known conversion for argument 1 from ‘Mutex’ to ‘std::unique_lock<std::mutex>&&’
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:223:2: note: candidate: template<class _Rep, class _Period> std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, const std::chrono::duration<_Rep, _Period>&)
- unique_lock(mutex_type& __m,
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:223:2: note: template argument deduction/substitution failed:
- In file included from /tmp/spheretest/minetest/src/server.h:23:0,
- from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
- /tmp/spheretest/minetest/src/network/connection.h:537:40: note: candidate expects 2 arguments, 1 provided
- { MutexAutoLock lock(m_internal_mutex); return avg_kbps; };
- ^
- In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
- from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
- from /tmp/spheretest/minetest/src/util/container.h:26,
- from /tmp/spheretest/minetest/src/network/connection.h:29,
- from /tmp/spheretest/minetest/src/server.h:23,
- from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:216:2: note: candidate: template<class _Clock, class _Duration> std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, const std::chrono::time_point<_Clock, _Duration>&)
- unique_lock(mutex_type& __m,
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:216:2: note: template argument deduction/substitution failed:
- In file included from /tmp/spheretest/minetest/src/server.h:23:0,
- from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
- /tmp/spheretest/minetest/src/network/connection.h:537:40: note: candidate expects 2 arguments, 1 provided
- { MutexAutoLock lock(m_internal_mutex); return avg_kbps; };
- ^
- In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
- from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
- from /tmp/spheretest/minetest/src/util/container.h:26,
- from /tmp/spheretest/minetest/src/network/connection.h:29,
- from /tmp/spheretest/minetest/src/server.h:23,
- from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:209:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::adopt_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
- unique_lock(mutex_type& __m, adopt_lock_t)
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:209:7: note: candidate expects 2 arguments, 1 provided
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:205:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::try_to_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
- unique_lock(mutex_type& __m, try_to_lock_t)
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:205:7: note: candidate expects 2 arguments, 1 provided
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:201:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::defer_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
- unique_lock(mutex_type& __m, defer_lock_t) noexcept
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:201:7: note: candidate expects 2 arguments, 1 provided
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:194:16: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
- explicit unique_lock(mutex_type& __m)
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:194:16: note: no known conversion for argument 1 from ‘Mutex’ to ‘std::unique_lock<std::mutex>::mutex_type& {aka std::mutex&}’
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:190:7: note: candidate: std::unique_lock<_Mutex>::unique_lock() [with _Mutex = std::mutex]
- unique_lock() noexcept
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:190:7: note: candidate expects 0 arguments, 1 provided
- In file included from /tmp/spheretest/minetest/src/server.h:23:0,
- from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
- /tmp/spheretest/minetest/src/network/connection.h: In member function ‘const float con::Channel::getAvgLossRateKB()’:
- /tmp/spheretest/minetest/src/network/connection.h:539:40: error: no matching function for call to ‘std::unique_lock<std::mutex>::unique_lock(Mutex&)’
- { MutexAutoLock lock(m_internal_mutex); return avg_kbps_lost; };
- ^
- In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
- from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
- from /tmp/spheretest/minetest/src/util/container.h:26,
- from /tmp/spheretest/minetest/src/network/connection.h:29,
- from /tmp/spheretest/minetest/src/server.h:23,
- from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:238:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>&&) [with _Mutex = std::mutex]
- unique_lock(unique_lock&& __u) noexcept
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:238:7: note: no known conversion for argument 1 from ‘Mutex’ to ‘std::unique_lock<std::mutex>&&’
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:223:2: note: candidate: template<class _Rep, class _Period> std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, const std::chrono::duration<_Rep, _Period>&)
- unique_lock(mutex_type& __m,
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:223:2: note: template argument deduction/substitution failed:
- In file included from /tmp/spheretest/minetest/src/server.h:23:0,
- from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
- /tmp/spheretest/minetest/src/network/connection.h:539:40: note: candidate expects 2 arguments, 1 provided
- { MutexAutoLock lock(m_internal_mutex); return avg_kbps_lost; };
- ^
- In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
- from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
- from /tmp/spheretest/minetest/src/util/container.h:26,
- from /tmp/spheretest/minetest/src/network/connection.h:29,
- from /tmp/spheretest/minetest/src/server.h:23,
- from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:216:2: note: candidate: template<class _Clock, class _Duration> std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, const std::chrono::time_point<_Clock, _Duration>&)
- unique_lock(mutex_type& __m,
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:216:2: note: template argument deduction/substitution failed:
- In file included from /tmp/spheretest/minetest/src/server.h:23:0,
- from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
- /tmp/spheretest/minetest/src/network/connection.h:539:40: note: candidate expects 2 arguments, 1 provided
- { MutexAutoLock lock(m_internal_mutex); return avg_kbps_lost; };
- ^
- In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
- from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
- from /tmp/spheretest/minetest/src/util/container.h:26,
- from /tmp/spheretest/minetest/src/network/connection.h:29,
- from /tmp/spheretest/minetest/src/server.h:23,
- from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:209:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::adopt_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
- unique_lock(mutex_type& __m, adopt_lock_t)
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:209:7: note: candidate expects 2 arguments, 1 provided
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:205:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::try_to_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
- unique_lock(mutex_type& __m, try_to_lock_t)
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:205:7: note: candidate expects 2 arguments, 1 provided
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:201:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::defer_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
- unique_lock(mutex_type& __m, defer_lock_t) noexcept
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:201:7: note: candidate expects 2 arguments, 1 provided
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:194:16: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
- explicit unique_lock(mutex_type& __m)
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:194:16: note: no known conversion for argument 1 from ‘Mutex’ to ‘std::unique_lock<std::mutex>::mutex_type& {aka std::mutex&}’
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:190:7: note: candidate: std::unique_lock<_Mutex>::unique_lock() [with _Mutex = std::mutex]
- unique_lock() noexcept
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:190:7: note: candidate expects 0 arguments, 1 provided
- In file included from /tmp/spheretest/minetest/src/server.h:23:0,
- from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
- /tmp/spheretest/minetest/src/network/connection.h: In member function ‘const float con::Channel::getAvgIncomingRateKB()’:
- /tmp/spheretest/minetest/src/network/connection.h:541:40: error: no matching function for call to ‘std::unique_lock<std::mutex>::unique_lock(Mutex&)’
- { MutexAutoLock lock(m_internal_mutex); return avg_incoming_kbps; };
- ^
- In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
- from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
- from /tmp/spheretest/minetest/src/util/container.h:26,
- from /tmp/spheretest/minetest/src/network/connection.h:29,
- from /tmp/spheretest/minetest/src/server.h:23,
- from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:238:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>&&) [with _Mutex = std::mutex]
- unique_lock(unique_lock&& __u) noexcept
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:238:7: note: no known conversion for argument 1 from ‘Mutex’ to ‘std::unique_lock<std::mutex>&&’
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:223:2: note: candidate: template<class _Rep, class _Period> std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, const std::chrono::duration<_Rep, _Period>&)
- unique_lock(mutex_type& __m,
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:223:2: note: template argument deduction/substitution failed:
- In file included from /tmp/spheretest/minetest/src/server.h:23:0,
- from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
- /tmp/spheretest/minetest/src/network/connection.h:541:40: note: candidate expects 2 arguments, 1 provided
- { MutexAutoLock lock(m_internal_mutex); return avg_incoming_kbps; };
- ^
- In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
- from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
- from /tmp/spheretest/minetest/src/util/container.h:26,
- from /tmp/spheretest/minetest/src/network/connection.h:29,
- from /tmp/spheretest/minetest/src/server.h:23,
- from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:216:2: note: candidate: template<class _Clock, class _Duration> std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, const std::chrono::time_point<_Clock, _Duration>&)
- unique_lock(mutex_type& __m,
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:216:2: note: template argument deduction/substitution failed:
- In file included from /tmp/spheretest/minetest/src/server.h:23:0,
- from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
- /tmp/spheretest/minetest/src/network/connection.h:541:40: note: candidate expects 2 arguments, 1 provided
- { MutexAutoLock lock(m_internal_mutex); return avg_incoming_kbps; };
- ^
- In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
- from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
- from /tmp/spheretest/minetest/src/util/container.h:26,
- from /tmp/spheretest/minetest/src/network/connection.h:29,
- from /tmp/spheretest/minetest/src/server.h:23,
- from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:209:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::adopt_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
- unique_lock(mutex_type& __m, adopt_lock_t)
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:209:7: note: candidate expects 2 arguments, 1 provided
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:205:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::try_to_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
- unique_lock(mutex_type& __m, try_to_lock_t)
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:205:7: note: candidate expects 2 arguments, 1 provided
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:201:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::defer_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
- unique_lock(mutex_type& __m, defer_lock_t) noexcept
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:201:7: note: candidate expects 2 arguments, 1 provided
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:194:16: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
- explicit unique_lock(mutex_type& __m)
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:194:16: note: no known conversion for argument 1 from ‘Mutex’ to ‘std::unique_lock<std::mutex>::mutex_type& {aka std::mutex&}’
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:190:7: note: candidate: std::unique_lock<_Mutex>::unique_lock() [with _Mutex = std::mutex]
- unique_lock() noexcept
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:190:7: note: candidate expects 0 arguments, 1 provided
- In file included from /tmp/spheretest/minetest/src/server.h:23:0,
- from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
- /tmp/spheretest/minetest/src/network/connection.h: In destructor ‘virtual con::Peer::~Peer()’:
- /tmp/spheretest/minetest/src/network/connection.h:677:53: error: no matching function for call to ‘std::unique_lock<std::mutex>::unique_lock(Mutex&)’
- MutexAutoLock usage_lock(m_exclusive_access_mutex);
- ^
- In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
- from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
- from /tmp/spheretest/minetest/src/util/container.h:26,
- from /tmp/spheretest/minetest/src/network/connection.h:29,
- from /tmp/spheretest/minetest/src/server.h:23,
- from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:238:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>&&) [with _Mutex = std::mutex]
- unique_lock(unique_lock&& __u) noexcept
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:238:7: note: no known conversion for argument 1 from ‘Mutex’ to ‘std::unique_lock<std::mutex>&&’
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:223:2: note: candidate: template<class _Rep, class _Period> std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, const std::chrono::duration<_Rep, _Period>&)
- unique_lock(mutex_type& __m,
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:223:2: note: template argument deduction/substitution failed:
- In file included from /tmp/spheretest/minetest/src/server.h:23:0,
- from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
- /tmp/spheretest/minetest/src/network/connection.h:677:53: note: candidate expects 2 arguments, 1 provided
- MutexAutoLock usage_lock(m_exclusive_access_mutex);
- ^
- In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
- from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
- from /tmp/spheretest/minetest/src/util/container.h:26,
- from /tmp/spheretest/minetest/src/network/connection.h:29,
- from /tmp/spheretest/minetest/src/server.h:23,
- from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:216:2: note: candidate: template<class _Clock, class _Duration> std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, const std::chrono::time_point<_Clock, _Duration>&)
- unique_lock(mutex_type& __m,
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:216:2: note: template argument deduction/substitution failed:
- In file included from /tmp/spheretest/minetest/src/server.h:23:0,
- from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
- /tmp/spheretest/minetest/src/network/connection.h:677:53: note: candidate expects 2 arguments, 1 provided
- MutexAutoLock usage_lock(m_exclusive_access_mutex);
- ^
- In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
- from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
- from /tmp/spheretest/minetest/src/util/container.h:26,
- from /tmp/spheretest/minetest/src/network/connection.h:29,
- from /tmp/spheretest/minetest/src/server.h:23,
- from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:209:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::adopt_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
- unique_lock(mutex_type& __m, adopt_lock_t)
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:209:7: note: candidate expects 2 arguments, 1 provided
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:205:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::try_to_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
- unique_lock(mutex_type& __m, try_to_lock_t)
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:205:7: note: candidate expects 2 arguments, 1 provided
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:201:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::defer_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
- unique_lock(mutex_type& __m, defer_lock_t) noexcept
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:201:7: note: candidate expects 2 arguments, 1 provided
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:194:16: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
- explicit unique_lock(mutex_type& __m)
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:194:16: note: no known conversion for argument 1 from ‘Mutex’ to ‘std::unique_lock<std::mutex>::mutex_type& {aka std::mutex&}’
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:190:7: note: candidate: std::unique_lock<_Mutex>::unique_lock() [with _Mutex = std::mutex]
- unique_lock() noexcept
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:190:7: note: candidate expects 0 arguments, 1 provided
- In file included from /tmp/spheretest/minetest/src/server.h:23:0,
- from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
- /tmp/spheretest/minetest/src/network/connection.h: In member function ‘bool con::Peer::isPendingDeletion()’:
- /tmp/spheretest/minetest/src/network/connection.h:692:48: error: no matching function for call to ‘std::unique_lock<std::mutex>::unique_lock(Mutex&)’
- { MutexAutoLock lock(m_exclusive_access_mutex); return m_pending_deletion; };
- ^
- In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
- from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
- from /tmp/spheretest/minetest/src/util/container.h:26,
- from /tmp/spheretest/minetest/src/network/connection.h:29,
- from /tmp/spheretest/minetest/src/server.h:23,
- from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:238:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>&&) [with _Mutex = std::mutex]
- unique_lock(unique_lock&& __u) noexcept
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:238:7: note: no known conversion for argument 1 from ‘Mutex’ to ‘std::unique_lock<std::mutex>&&’
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:223:2: note: candidate: template<class _Rep, class _Period> std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, const std::chrono::duration<_Rep, _Period>&)
- unique_lock(mutex_type& __m,
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:223:2: note: template argument deduction/substitution failed:
- In file included from /tmp/spheretest/minetest/src/server.h:23:0,
- from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
- /tmp/spheretest/minetest/src/network/connection.h:692:48: note: candidate expects 2 arguments, 1 provided
- { MutexAutoLock lock(m_exclusive_access_mutex); return m_pending_deletion; };
- ^
- In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
- from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
- from /tmp/spheretest/minetest/src/util/container.h:26,
- from /tmp/spheretest/minetest/src/network/connection.h:29,
- from /tmp/spheretest/minetest/src/server.h:23,
- from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:216:2: note: candidate: template<class _Clock, class _Duration> std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, const std::chrono::time_point<_Clock, _Duration>&)
- unique_lock(mutex_type& __m,
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:216:2: note: template argument deduction/substitution failed:
- In file included from /tmp/spheretest/minetest/src/server.h:23:0,
- from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
- /tmp/spheretest/minetest/src/network/connection.h:692:48: note: candidate expects 2 arguments, 1 provided
- { MutexAutoLock lock(m_exclusive_access_mutex); return m_pending_deletion; };
- ^
- In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
- from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
- from /tmp/spheretest/minetest/src/util/container.h:26,
- from /tmp/spheretest/minetest/src/network/connection.h:29,
- from /tmp/spheretest/minetest/src/server.h:23,
- from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:209:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::adopt_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
- unique_lock(mutex_type& __m, adopt_lock_t)
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:209:7: note: candidate expects 2 arguments, 1 provided
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:205:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::try_to_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
- unique_lock(mutex_type& __m, try_to_lock_t)
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:205:7: note: candidate expects 2 arguments, 1 provided
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:201:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::defer_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
- unique_lock(mutex_type& __m, defer_lock_t) noexcept
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:201:7: note: candidate expects 2 arguments, 1 provided
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:194:16: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
- explicit unique_lock(mutex_type& __m)
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:194:16: note: no known conversion for argument 1 from ‘Mutex’ to ‘std::unique_lock<std::mutex>::mutex_type& {aka std::mutex&}’
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:190:7: note: candidate: std::unique_lock<_Mutex>::unique_lock() [with _Mutex = std::mutex]
- unique_lock() noexcept
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:190:7: note: candidate expects 0 arguments, 1 provided
- In file included from /tmp/spheretest/minetest/src/server.h:23:0,
- from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
- /tmp/spheretest/minetest/src/network/connection.h: In member function ‘void con::Peer::ResetTimeout()’:
- /tmp/spheretest/minetest/src/network/connection.h:695:48: error: no matching function for call to ‘std::unique_lock<std::mutex>::unique_lock(Mutex&)’
- {MutexAutoLock lock(m_exclusive_access_mutex); m_timeout_counter=0.0; };
- ^
- In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
- from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
- from /tmp/spheretest/minetest/src/util/container.h:26,
- from /tmp/spheretest/minetest/src/network/connection.h:29,
- from /tmp/spheretest/minetest/src/server.h:23,
- from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:238:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>&&) [with _Mutex = std::mutex]
- unique_lock(unique_lock&& __u) noexcept
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:238:7: note: no known conversion for argument 1 from ‘Mutex’ to ‘std::unique_lock<std::mutex>&&’
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:223:2: note: candidate: template<class _Rep, class _Period> std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, const std::chrono::duration<_Rep, _Period>&)
- unique_lock(mutex_type& __m,
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:223:2: note: template argument deduction/substitution failed:
- In file included from /tmp/spheretest/minetest/src/server.h:23:0,
- from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
- /tmp/spheretest/minetest/src/network/connection.h:695:48: note: candidate expects 2 arguments, 1 provided
- {MutexAutoLock lock(m_exclusive_access_mutex); m_timeout_counter=0.0; };
- ^
- In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
- from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
- from /tmp/spheretest/minetest/src/util/container.h:26,
- from /tmp/spheretest/minetest/src/network/connection.h:29,
- from /tmp/spheretest/minetest/src/server.h:23,
- from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:216:2: note: candidate: template<class _Clock, class _Duration> std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, const std::chrono::time_point<_Clock, _Duration>&)
- unique_lock(mutex_type& __m,
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:216:2: note: template argument deduction/substitution failed:
- In file included from /tmp/spheretest/minetest/src/server.h:23:0,
- from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
- /tmp/spheretest/minetest/src/network/connection.h:695:48: note: candidate expects 2 arguments, 1 provided
- {MutexAutoLock lock(m_exclusive_access_mutex); m_timeout_counter=0.0; };
- ^
- In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
- from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
- from /tmp/spheretest/minetest/src/util/container.h:26,
- from /tmp/spheretest/minetest/src/network/connection.h:29,
- from /tmp/spheretest/minetest/src/server.h:23,
- from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:209:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::adopt_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
- unique_lock(mutex_type& __m, adopt_lock_t)
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:209:7: note: candidate expects 2 arguments, 1 provided
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:205:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::try_to_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
- unique_lock(mutex_type& __m, try_to_lock_t)
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:205:7: note: candidate expects 2 arguments, 1 provided
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:201:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::defer_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
- unique_lock(mutex_type& __m, defer_lock_t) noexcept
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:201:7: note: candidate expects 2 arguments, 1 provided
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:194:16: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
- explicit unique_lock(mutex_type& __m)
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:194:16: note: no known conversion for argument 1 from ‘Mutex’ to ‘std::unique_lock<std::mutex>::mutex_type& {aka std::mutex&}’
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:190:7: note: candidate: std::unique_lock<_Mutex>::unique_lock() [with _Mutex = std::mutex]
- unique_lock() noexcept
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:190:7: note: candidate expects 0 arguments, 1 provided
- In file included from /tmp/spheretest/minetest/src/server.h:23:0,
- from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
- /tmp/spheretest/minetest/src/network/connection.h: In member function ‘float con::UDPPeer::getResendTimeout()’:
- /tmp/spheretest/minetest/src/network/connection.h:818:48: error: no matching function for call to ‘std::unique_lock<std::mutex>::unique_lock(Mutex&)’
- { MutexAutoLock lock(m_exclusive_access_mutex); return resend_timeout; }
- ^
- In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
- from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
- from /tmp/spheretest/minetest/src/util/container.h:26,
- from /tmp/spheretest/minetest/src/network/connection.h:29,
- from /tmp/spheretest/minetest/src/server.h:23,
- from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:238:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>&&) [with _Mutex = std::mutex]
- unique_lock(unique_lock&& __u) noexcept
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:238:7: note: no known conversion for argument 1 from ‘Mutex’ to ‘std::unique_lock<std::mutex>&&’
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:223:2: note: candidate: template<class _Rep, class _Period> std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, const std::chrono::duration<_Rep, _Period>&)
- unique_lock(mutex_type& __m,
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:223:2: note: template argument deduction/substitution failed:
- In file included from /tmp/spheretest/minetest/src/server.h:23:0,
- from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
- /tmp/spheretest/minetest/src/network/connection.h:818:48: note: candidate expects 2 arguments, 1 provided
- { MutexAutoLock lock(m_exclusive_access_mutex); return resend_timeout; }
- ^
- In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
- from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
- from /tmp/spheretest/minetest/src/util/container.h:26,
- from /tmp/spheretest/minetest/src/network/connection.h:29,
- from /tmp/spheretest/minetest/src/server.h:23,
- from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:216:2: note: candidate: template<class _Clock, class _Duration> std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, const std::chrono::time_point<_Clock, _Duration>&)
- unique_lock(mutex_type& __m,
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:216:2: note: template argument deduction/substitution failed:
- In file included from /tmp/spheretest/minetest/src/server.h:23:0,
- from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
- /tmp/spheretest/minetest/src/network/connection.h:818:48: note: candidate expects 2 arguments, 1 provided
- { MutexAutoLock lock(m_exclusive_access_mutex); return resend_timeout; }
- ^
- In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
- from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
- from /tmp/spheretest/minetest/src/util/container.h:26,
- from /tmp/spheretest/minetest/src/network/connection.h:29,
- from /tmp/spheretest/minetest/src/server.h:23,
- from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:209:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::adopt_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
- unique_lock(mutex_type& __m, adopt_lock_t)
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:209:7: note: candidate expects 2 arguments, 1 provided
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:205:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::try_to_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
- unique_lock(mutex_type& __m, try_to_lock_t)
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:205:7: note: candidate expects 2 arguments, 1 provided
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:201:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::defer_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
- unique_lock(mutex_type& __m, defer_lock_t) noexcept
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:201:7: note: candidate expects 2 arguments, 1 provided
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:194:16: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
- explicit unique_lock(mutex_type& __m)
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:194:16: note: no known conversion for argument 1 from ‘Mutex’ to ‘std::unique_lock<std::mutex>::mutex_type& {aka std::mutex&}’
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:190:7: note: candidate: std::unique_lock<_Mutex>::unique_lock() [with _Mutex = std::mutex]
- unique_lock() noexcept
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:190:7: note: candidate expects 0 arguments, 1 provided
- In file included from /tmp/spheretest/minetest/src/server.h:23:0,
- from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
- /tmp/spheretest/minetest/src/network/connection.h: In member function ‘void con::UDPPeer::setResendTimeout(float)’:
- /tmp/spheretest/minetest/src/network/connection.h:821:48: error: no matching function for call to ‘std::unique_lock<std::mutex>::unique_lock(Mutex&)’
- { MutexAutoLock lock(m_exclusive_access_mutex); resend_timeout = timeout; }
- ^
- In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
- from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
- from /tmp/spheretest/minetest/src/util/container.h:26,
- from /tmp/spheretest/minetest/src/network/connection.h:29,
- from /tmp/spheretest/minetest/src/server.h:23,
- from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:238:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>&&) [with _Mutex = std::mutex]
- unique_lock(unique_lock&& __u) noexcept
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:238:7: note: no known conversion for argument 1 from ‘Mutex’ to ‘std::unique_lock<std::mutex>&&’
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:223:2: note: candidate: template<class _Rep, class _Period> std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, const std::chrono::duration<_Rep, _Period>&)
- unique_lock(mutex_type& __m,
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:223:2: note: template argument deduction/substitution failed:
- In file included from /tmp/spheretest/minetest/src/server.h:23:0,
- from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
- /tmp/spheretest/minetest/src/network/connection.h:821:48: note: candidate expects 2 arguments, 1 provided
- { MutexAutoLock lock(m_exclusive_access_mutex); resend_timeout = timeout; }
- ^
- In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
- from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
- from /tmp/spheretest/minetest/src/util/container.h:26,
- from /tmp/spheretest/minetest/src/network/connection.h:29,
- from /tmp/spheretest/minetest/src/server.h:23,
- from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:216:2: note: candidate: template<class _Clock, class _Duration> std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, const std::chrono::time_point<_Clock, _Duration>&)
- unique_lock(mutex_type& __m,
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:216:2: note: template argument deduction/substitution failed:
- In file included from /tmp/spheretest/minetest/src/server.h:23:0,
- from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
- /tmp/spheretest/minetest/src/network/connection.h:821:48: note: candidate expects 2 arguments, 1 provided
- { MutexAutoLock lock(m_exclusive_access_mutex); resend_timeout = timeout; }
- ^
- In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
- from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
- from /tmp/spheretest/minetest/src/util/container.h:26,
- from /tmp/spheretest/minetest/src/network/connection.h:29,
- from /tmp/spheretest/minetest/src/server.h:23,
- from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:209:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::adopt_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
- unique_lock(mutex_type& __m, adopt_lock_t)
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:209:7: note: candidate expects 2 arguments, 1 provided
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:205:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::try_to_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
- unique_lock(mutex_type& __m, try_to_lock_t)
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:205:7: note: candidate expects 2 arguments, 1 provided
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:201:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::defer_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
- unique_lock(mutex_type& __m, defer_lock_t) noexcept
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:201:7: note: candidate expects 2 arguments, 1 provided
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:194:16: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
- explicit unique_lock(mutex_type& __m)
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:194:16: note: no known conversion for argument 1 from ‘Mutex’ to ‘std::unique_lock<std::mutex>::mutex_type& {aka std::mutex&}’
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:190:7: note: candidate: std::unique_lock<_Mutex>::unique_lock() [with _Mutex = std::mutex]
- unique_lock() noexcept
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:190:7: note: candidate expects 0 arguments, 1 provided
- [ 26%] Building CXX object src/CMakeFiles/minetest.dir/client/tile.cpp.obj
- In file included from /tmp/spheretest/minetest/src/server.h:23:0,
- from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
- /tmp/spheretest/minetest/src/network/connection.h: In member function ‘std::__cxx11::list<short unsigned int> con::Connection::getPeerIDs()’:
- /tmp/spheretest/minetest/src/network/connection.h:1046:39: error: no matching function for call to ‘std::unique_lock<std::mutex>::unique_lock(Mutex&)’
- MutexAutoLock peerlock(m_peers_mutex);
- ^
- In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
- from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
- from /tmp/spheretest/minetest/src/util/container.h:26,
- from /tmp/spheretest/minetest/src/network/connection.h:29,
- from /tmp/spheretest/minetest/src/server.h:23,
- from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:238:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>&&) [with _Mutex = std::mutex]
- unique_lock(unique_lock&& __u) noexcept
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:238:7: note: no known conversion for argument 1 from ‘Mutex’ to ‘std::unique_lock<std::mutex>&&’
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:223:2: note: candidate: template<class _Rep, class _Period> std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, const std::chrono::duration<_Rep, _Period>&)
- unique_lock(mutex_type& __m,
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:223:2: note: template argument deduction/substitution failed:
- In file included from /tmp/spheretest/minetest/src/server.h:23:0,
- from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
- /tmp/spheretest/minetest/src/network/connection.h:1046:39: note: candidate expects 2 arguments, 1 provided
- MutexAutoLock peerlock(m_peers_mutex);
- ^
- In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
- from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
- from /tmp/spheretest/minetest/src/util/container.h:26,
- from /tmp/spheretest/minetest/src/network/connection.h:29,
- from /tmp/spheretest/minetest/src/server.h:23,
- from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:216:2: note: candidate: template<class _Clock, class _Duration> std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, const std::chrono::time_point<_Clock, _Duration>&)
- unique_lock(mutex_type& __m,
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:216:2: note: template argument deduction/substitution failed:
- In file included from /tmp/spheretest/minetest/src/server.h:23:0,
- from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
- /tmp/spheretest/minetest/src/network/connection.h:1046:39: note: candidate expects 2 arguments, 1 provided
- MutexAutoLock peerlock(m_peers_mutex);
- ^
- In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
- from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
- from /tmp/spheretest/minetest/src/util/container.h:26,
- from /tmp/spheretest/minetest/src/network/connection.h:29,
- from /tmp/spheretest/minetest/src/server.h:23,
- from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:209:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::adopt_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
- unique_lock(mutex_type& __m, adopt_lock_t)
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:209:7: note: candidate expects 2 arguments, 1 provided
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:205:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::try_to_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
- unique_lock(mutex_type& __m, try_to_lock_t)
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:205:7: note: candidate expects 2 arguments, 1 provided
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:201:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::defer_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
- unique_lock(mutex_type& __m, defer_lock_t) noexcept
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:201:7: note: candidate expects 2 arguments, 1 provided
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:194:16: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
- explicit unique_lock(mutex_type& __m)
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:194:16: note: no known conversion for argument 1 from ‘Mutex’ to ‘std::unique_lock<std::mutex>::mutex_type& {aka std::mutex&}’
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:190:7: note: candidate: std::unique_lock<_Mutex>::unique_lock() [with _Mutex = std::mutex]
- unique_lock() noexcept
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:190:7: note: candidate expects 0 arguments, 1 provided
- In file included from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:29:0:
- /tmp/spheretest/minetest/src/profiler.h: In member function ‘void Profiler::add(const string&, float)’:
- /tmp/spheretest/minetest/src/profiler.h:52:29: error: no matching function for call to ‘std::unique_lock<std::mutex>::unique_lock(Mutex&)’
- MutexAutoLock lock(m_mutex);
- ^
- In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
- from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
- from /tmp/spheretest/minetest/src/util/container.h:26,
- from /tmp/spheretest/minetest/src/network/connection.h:29,
- from /tmp/spheretest/minetest/src/server.h:23,
- from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:238:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>&&) [with _Mutex = std::mutex]
- unique_lock(unique_lock&& __u) noexcept
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:238:7: note: no known conversion for argument 1 from ‘Mutex’ to ‘std::unique_lock<std::mutex>&&’
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:223:2: note: candidate: template<class _Rep, class _Period> std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, const std::chrono::duration<_Rep, _Period>&)
- unique_lock(mutex_type& __m,
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:223:2: note: template argument deduction/substitution failed:
- In file included from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:29:0:
- /tmp/spheretest/minetest/src/profiler.h:52:29: note: candidate expects 2 arguments, 1 provided
- MutexAutoLock lock(m_mutex);
- ^
- In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
- from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
- from /tmp/spheretest/minetest/src/util/container.h:26,
- from /tmp/spheretest/minetest/src/network/connection.h:29,
- from /tmp/spheretest/minetest/src/server.h:23,
- from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:216:2: note: candidate: template<class _Clock, class _Duration> std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, const std::chrono::time_point<_Clock, _Duration>&)
- unique_lock(mutex_type& __m,
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:216:2: note: template argument deduction/substitution failed:
- In file included from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:29:0:
- /tmp/spheretest/minetest/src/profiler.h:52:29: note: candidate expects 2 arguments, 1 provided
- MutexAutoLock lock(m_mutex);
- ^
- In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
- from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
- from /tmp/spheretest/minetest/src/util/container.h:26,
- from /tmp/spheretest/minetest/src/network/connection.h:29,
- from /tmp/spheretest/minetest/src/server.h:23,
- from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:209:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::adopt_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
- unique_lock(mutex_type& __m, adopt_lock_t)
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:209:7: note: candidate expects 2 arguments, 1 provided
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:205:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::try_to_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
- unique_lock(mutex_type& __m, try_to_lock_t)
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:205:7: note: candidate expects 2 arguments, 1 provided
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:201:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::defer_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
- unique_lock(mutex_type& __m, defer_lock_t) noexcept
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:201:7: note: candidate expects 2 arguments, 1 provided
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:194:16: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
- explicit unique_lock(mutex_type& __m)
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:194:16: note: no known conversion for argument 1 from ‘Mutex’ to ‘std::unique_lock<std::mutex>::mutex_type& {aka std::mutex&}’
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:190:7: note: candidate: std::unique_lock<_Mutex>::unique_lock() [with _Mutex = std::mutex]
- unique_lock() noexcept
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:190:7: note: candidate expects 0 arguments, 1 provided
- In file included from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:29:0:
- /tmp/spheretest/minetest/src/profiler.h: In member function ‘void Profiler::avg(const string&, float)’:
- /tmp/spheretest/minetest/src/profiler.h:75:29: error: no matching function for call to ‘std::unique_lock<std::mutex>::unique_lock(Mutex&)’
- MutexAutoLock lock(m_mutex);
- ^
- In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
- from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
- from /tmp/spheretest/minetest/src/util/container.h:26,
- from /tmp/spheretest/minetest/src/network/connection.h:29,
- from /tmp/spheretest/minetest/src/server.h:23,
- from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:238:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>&&) [with _Mutex = std::mutex]
- unique_lock(unique_lock&& __u) noexcept
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:238:7: note: no known conversion for argument 1 from ‘Mutex’ to ‘std::unique_lock<std::mutex>&&’
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:223:2: note: candidate: template<class _Rep, class _Period> std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, const std::chrono::duration<_Rep, _Period>&)
- unique_lock(mutex_type& __m,
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:223:2: note: template argument deduction/substitution failed:
- In file included from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:29:0:
- /tmp/spheretest/minetest/src/profiler.h:75:29: note: candidate expects 2 arguments, 1 provided
- MutexAutoLock lock(m_mutex);
- ^
- In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
- from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
- from /tmp/spheretest/minetest/src/util/container.h:26,
- from /tmp/spheretest/minetest/src/network/connection.h:29,
- from /tmp/spheretest/minetest/src/server.h:23,
- from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:216:2: note: candidate: template<class _Clock, class _Duration> std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, const std::chrono::time_point<_Clock, _Duration>&)
- unique_lock(mutex_type& __m,
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:216:2: note: template argument deduction/substitution failed:
- In file included from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:29:0:
- /tmp/spheretest/minetest/src/profiler.h:75:29: note: candidate expects 2 arguments, 1 provided
- MutexAutoLock lock(m_mutex);
- ^
- In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
- from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
- from /tmp/spheretest/minetest/src/util/container.h:26,
- from /tmp/spheretest/minetest/src/network/connection.h:29,
- from /tmp/spheretest/minetest/src/server.h:23,
- from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:209:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::adopt_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
- unique_lock(mutex_type& __m, adopt_lock_t)
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:209:7: note: candidate expects 2 arguments, 1 provided
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:205:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::try_to_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
- unique_lock(mutex_type& __m, try_to_lock_t)
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:205:7: note: candidate expects 2 arguments, 1 provided
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:201:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::defer_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
- unique_lock(mutex_type& __m, defer_lock_t) noexcept
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:201:7: note: candidate expects 2 arguments, 1 provided
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:194:16: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
- explicit unique_lock(mutex_type& __m)
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:194:16: note: no known conversion for argument 1 from ‘Mutex’ to ‘std::unique_lock<std::mutex>::mutex_type& {aka std::mutex&}’
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:190:7: note: candidate: std::unique_lock<_Mutex>::unique_lock() [with _Mutex = std::mutex]
- unique_lock() noexcept
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:190:7: note: candidate expects 0 arguments, 1 provided
- In file included from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:29:0:
- /tmp/spheretest/minetest/src/profiler.h: In member function ‘void Profiler::clear()’:
- /tmp/spheretest/minetest/src/profiler.h:85:29: error: no matching function for call to ‘std::unique_lock<std::mutex>::unique_lock(Mutex&)’
- MutexAutoLock lock(m_mutex);
- ^
- In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
- from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
- from /tmp/spheretest/minetest/src/util/container.h:26,
- from /tmp/spheretest/minetest/src/network/connection.h:29,
- from /tmp/spheretest/minetest/src/server.h:23,
- from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:238:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>&&) [with _Mutex = std::mutex]
- unique_lock(unique_lock&& __u) noexcept
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:238:7: note: no known conversion for argument 1 from ‘Mutex’ to ‘std::unique_lock<std::mutex>&&’
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:223:2: note: candidate: template<class _Rep, class _Period> std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, const std::chrono::duration<_Rep, _Period>&)
- unique_lock(mutex_type& __m,
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:223:2: note: template argument deduction/substitution failed:
- In file included from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:29:0:
- /tmp/spheretest/minetest/src/profiler.h:85:29: note: candidate expects 2 arguments, 1 provided
- MutexAutoLock lock(m_mutex);
- ^
- In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
- from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
- from /tmp/spheretest/minetest/src/util/container.h:26,
- from /tmp/spheretest/minetest/src/network/connection.h:29,
- from /tmp/spheretest/minetest/src/server.h:23,
- from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:216:2: note: candidate: template<class _Clock, class _Duration> std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, const std::chrono::time_point<_Clock, _Duration>&)
- unique_lock(mutex_type& __m,
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:216:2: note: template argument deduction/substitution failed:
- In file included from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:29:0:
- /tmp/spheretest/minetest/src/profiler.h:85:29: note: candidate expects 2 arguments, 1 provided
- MutexAutoLock lock(m_mutex);
- ^
- In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
- from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
- from /tmp/spheretest/minetest/src/util/container.h:26,
- from /tmp/spheretest/minetest/src/network/connection.h:29,
- from /tmp/spheretest/minetest/src/server.h:23,
- from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:209:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::adopt_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
- unique_lock(mutex_type& __m, adopt_lock_t)
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:209:7: note: candidate expects 2 arguments, 1 provided
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:205:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::try_to_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
- unique_lock(mutex_type& __m, try_to_lock_t)
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:205:7: note: candidate expects 2 arguments, 1 provided
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:201:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::defer_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
- unique_lock(mutex_type& __m, defer_lock_t) noexcept
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:201:7: note: candidate expects 2 arguments, 1 provided
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:194:16: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
- explicit unique_lock(mutex_type& __m)
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:194:16: note: no known conversion for argument 1 from ‘Mutex’ to ‘std::unique_lock<std::mutex>::mutex_type& {aka std::mutex&}’
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:190:7: note: candidate: std::unique_lock<_Mutex>::unique_lock() [with _Mutex = std::mutex]
- unique_lock() noexcept
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:190:7: note: candidate expects 0 arguments, 1 provided
- In file included from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:29:0:
- /tmp/spheretest/minetest/src/profiler.h: In member function ‘void Profiler::printPage(std::ostream&, irr::u32, irr::u32)’:
- /tmp/spheretest/minetest/src/profiler.h:117:29: error: no matching function for call to ‘std::unique_lock<std::mutex>::unique_lock(Mutex&)’
- MutexAutoLock lock(m_mutex);
- ^
- In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
- from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
- from /tmp/spheretest/minetest/src/util/container.h:26,
- from /tmp/spheretest/minetest/src/network/connection.h:29,
- from /tmp/spheretest/minetest/src/server.h:23,
- from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:238:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>&&) [with _Mutex = std::mutex]
- unique_lock(unique_lock&& __u) noexcept
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:238:7: note: no known conversion for argument 1 from ‘Mutex’ to ‘std::unique_lock<std::mutex>&&’
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:223:2: note: candidate: template<class _Rep, class _Period> std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, const std::chrono::duration<_Rep, _Period>&)
- unique_lock(mutex_type& __m,
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:223:2: note: template argument deduction/substitution failed:
- In file included from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:29:0:
- /tmp/spheretest/minetest/src/profiler.h:117:29: note: candidate expects 2 arguments, 1 provided
- MutexAutoLock lock(m_mutex);
- ^
- In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
- from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
- from /tmp/spheretest/minetest/src/util/container.h:26,
- from /tmp/spheretest/minetest/src/network/connection.h:29,
- from /tmp/spheretest/minetest/src/server.h:23,
- from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:216:2: note: candidate: template<class _Clock, class _Duration> std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, const std::chrono::time_point<_Clock, _Duration>&)
- unique_lock(mutex_type& __m,
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:216:2: note: template argument deduction/substitution failed:
- In file included from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:29:0:
- /tmp/spheretest/minetest/src/profiler.h:117:29: note: candidate expects 2 arguments, 1 provided
- MutexAutoLock lock(m_mutex);
- ^
- In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
- from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
- from /tmp/spheretest/minetest/src/util/container.h:26,
- from /tmp/spheretest/minetest/src/network/connection.h:29,
- from /tmp/spheretest/minetest/src/server.h:23,
- from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:209:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::adopt_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
- unique_lock(mutex_type& __m, adopt_lock_t)
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:209:7: note: candidate expects 2 arguments, 1 provided
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:205:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::try_to_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
- unique_lock(mutex_type& __m, try_to_lock_t)
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:205:7: note: candidate expects 2 arguments, 1 provided
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:201:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::defer_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
- unique_lock(mutex_type& __m, defer_lock_t) noexcept
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:201:7: note: candidate expects 2 arguments, 1 provided
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:194:16: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
- explicit unique_lock(mutex_type& __m)
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:194:16: note: no known conversion for argument 1 from ‘Mutex’ to ‘std::unique_lock<std::mutex>::mutex_type& {aka std::mutex&}’
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:190:7: note: candidate: std::unique_lock<_Mutex>::unique_lock() [with _Mutex = std::mutex]
- unique_lock() noexcept
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:190:7: note: candidate expects 0 arguments, 1 provided
- In file included from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:29:0:
- /tmp/spheretest/minetest/src/profiler.h: In member function ‘void Profiler::graphAdd(const string&, float)’:
- /tmp/spheretest/minetest/src/profiler.h:162:29: error: no matching function for call to ‘std::unique_lock<std::mutex>::unique_lock(Mutex&)’
- MutexAutoLock lock(m_mutex);
- ^
- In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
- from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
- from /tmp/spheretest/minetest/src/util/container.h:26,
- from /tmp/spheretest/minetest/src/network/connection.h:29,
- from /tmp/spheretest/minetest/src/server.h:23,
- from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:238:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>&&) [with _Mutex = std::mutex]
- unique_lock(unique_lock&& __u) noexcept
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:238:7: note: no known conversion for argument 1 from ‘Mutex’ to ‘std::unique_lock<std::mutex>&&’
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:223:2: note: candidate: template<class _Rep, class _Period> std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, const std::chrono::duration<_Rep, _Period>&)
- unique_lock(mutex_type& __m,
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:223:2: note: template argument deduction/substitution failed:
- In file included from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:29:0:
- /tmp/spheretest/minetest/src/profiler.h:162:29: note: candidate expects 2 arguments, 1 provided
- MutexAutoLock lock(m_mutex);
- ^
- In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
- from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
- from /tmp/spheretest/minetest/src/util/container.h:26,
- from /tmp/spheretest/minetest/src/network/connection.h:29,
- from /tmp/spheretest/minetest/src/server.h:23,
- from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:216:2: note: candidate: template<class _Clock, class _Duration> std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, const std::chrono::time_point<_Clock, _Duration>&)
- unique_lock(mutex_type& __m,
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:216:2: note: template argument deduction/substitution failed:
- In file included from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:29:0:
- /tmp/spheretest/minetest/src/profiler.h:162:29: note: candidate expects 2 arguments, 1 provided
- MutexAutoLock lock(m_mutex);
- ^
- In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
- from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
- from /tmp/spheretest/minetest/src/util/container.h:26,
- from /tmp/spheretest/minetest/src/network/connection.h:29,
- from /tmp/spheretest/minetest/src/server.h:23,
- from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:209:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::adopt_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
- unique_lock(mutex_type& __m, adopt_lock_t)
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:209:7: note: candidate expects 2 arguments, 1 provided
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:205:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::try_to_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
- unique_lock(mutex_type& __m, try_to_lock_t)
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:205:7: note: candidate expects 2 arguments, 1 provided
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:201:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::defer_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
- unique_lock(mutex_type& __m, defer_lock_t) noexcept
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:201:7: note: candidate expects 2 arguments, 1 provided
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:194:16: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
- explicit unique_lock(mutex_type& __m)
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:194:16: note: no known conversion for argument 1 from ‘Mutex’ to ‘std::unique_lock<std::mutex>::mutex_type& {aka std::mutex&}’
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:190:7: note: candidate: std::unique_lock<_Mutex>::unique_lock() [with _Mutex = std::mutex]
- unique_lock() noexcept
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:190:7: note: candidate expects 0 arguments, 1 provided
- In file included from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:29:0:
- /tmp/spheretest/minetest/src/profiler.h: In member function ‘void Profiler::graphGet(Profiler::GraphValues&)’:
- /tmp/spheretest/minetest/src/profiler.h:172:29: error: no matching function for call to ‘std::unique_lock<std::mutex>::unique_lock(Mutex&)’
- MutexAutoLock lock(m_mutex);
- ^
- In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
- from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
- from /tmp/spheretest/minetest/src/util/container.h:26,
- from /tmp/spheretest/minetest/src/network/connection.h:29,
- from /tmp/spheretest/minetest/src/server.h:23,
- from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:238:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>&&) [with _Mutex = std::mutex]
- unique_lock(unique_lock&& __u) noexcept
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:238:7: note: no known conversion for argument 1 from ‘Mutex’ to ‘std::unique_lock<std::mutex>&&’
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:223:2: note: candidate: template<class _Rep, class _Period> std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, const std::chrono::duration<_Rep, _Period>&)
- unique_lock(mutex_type& __m,
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:223:2: note: template argument deduction/substitution failed:
- In file included from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:29:0:
- /tmp/spheretest/minetest/src/profiler.h:172:29: note: candidate expects 2 arguments, 1 provided
- MutexAutoLock lock(m_mutex);
- ^
- In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
- from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
- from /tmp/spheretest/minetest/src/util/container.h:26,
- from /tmp/spheretest/minetest/src/network/connection.h:29,
- from /tmp/spheretest/minetest/src/server.h:23,
- from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:216:2: note: candidate: template<class _Clock, class _Duration> std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, const std::chrono::time_point<_Clock, _Duration>&)
- unique_lock(mutex_type& __m,
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:216:2: note: template argument deduction/substitution failed:
- In file included from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:29:0:
- /tmp/spheretest/minetest/src/profiler.h:172:29: note: candidate expects 2 arguments, 1 provided
- MutexAutoLock lock(m_mutex);
- ^
- In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
- from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
- from /tmp/spheretest/minetest/src/util/container.h:26,
- from /tmp/spheretest/minetest/src/network/connection.h:29,
- from /tmp/spheretest/minetest/src/server.h:23,
- from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:209:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::adopt_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
- unique_lock(mutex_type& __m, adopt_lock_t)
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:209:7: note: candidate expects 2 arguments, 1 provided
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:205:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::try_to_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
- unique_lock(mutex_type& __m, try_to_lock_t)
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:205:7: note: candidate expects 2 arguments, 1 provided
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:201:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::defer_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
- unique_lock(mutex_type& __m, defer_lock_t) noexcept
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:201:7: note: candidate expects 2 arguments, 1 provided
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:194:16: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
- explicit unique_lock(mutex_type& __m)
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:194:16: note: no known conversion for argument 1 from ‘Mutex’ to ‘std::unique_lock<std::mutex>::mutex_type& {aka std::mutex&}’
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:190:7: note: candidate: std::unique_lock<_Mutex>::unique_lock() [with _Mutex = std::mutex]
- unique_lock() noexcept
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:190:7: note: candidate expects 0 arguments, 1 provided
- In file included from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:29:0:
- /tmp/spheretest/minetest/src/profiler.h: In member function ‘void Profiler::remove(const string&)’:
- /tmp/spheretest/minetest/src/profiler.h:179:29: error: no matching function for call to ‘std::unique_lock<std::mutex>::unique_lock(Mutex&)’
- MutexAutoLock lock(m_mutex);
- ^
- In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
- from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
- from /tmp/spheretest/minetest/src/util/container.h:26,
- from /tmp/spheretest/minetest/src/network/connection.h:29,
- from /tmp/spheretest/minetest/src/server.h:23,
- from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:238:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>&&) [with _Mutex = std::mutex]
- unique_lock(unique_lock&& __u) noexcept
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:238:7: note: no known conversion for argument 1 from ‘Mutex’ to ‘std::unique_lock<std::mutex>&&’
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:223:2: note: candidate: template<class _Rep, class _Period> std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, const std::chrono::duration<_Rep, _Period>&)
- unique_lock(mutex_type& __m,
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:223:2: note: template argument deduction/substitution failed:
- In file included from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:29:0:
- /tmp/spheretest/minetest/src/profiler.h:179:29: note: candidate expects 2 arguments, 1 provided
- MutexAutoLock lock(m_mutex);
- ^
- In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
- from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
- from /tmp/spheretest/minetest/src/util/container.h:26,
- from /tmp/spheretest/minetest/src/network/connection.h:29,
- from /tmp/spheretest/minetest/src/server.h:23,
- from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:216:2: note: candidate: template<class _Clock, class _Duration> std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, const std::chrono::time_point<_Clock, _Duration>&)
- unique_lock(mutex_type& __m,
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:216:2: note: template argument deduction/substitution failed:
- In file included from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:29:0:
- /tmp/spheretest/minetest/src/profiler.h:179:29: note: candidate expects 2 arguments, 1 provided
- MutexAutoLock lock(m_mutex);
- ^
- In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
- from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
- from /tmp/spheretest/minetest/src/util/container.h:26,
- from /tmp/spheretest/minetest/src/network/connection.h:29,
- from /tmp/spheretest/minetest/src/server.h:23,
- from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:209:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::adopt_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
- unique_lock(mutex_type& __m, adopt_lock_t)
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:209:7: note: candidate expects 2 arguments, 1 provided
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:205:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::try_to_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
- unique_lock(mutex_type& __m, try_to_lock_t)
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:205:7: note: candidate expects 2 arguments, 1 provided
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:201:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::defer_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
- unique_lock(mutex_type& __m, defer_lock_t) noexcept
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:201:7: note: candidate expects 2 arguments, 1 provided
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:194:16: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
- explicit unique_lock(mutex_type& __m)
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:194:16: note: no known conversion for argument 1 from ‘Mutex’ to ‘std::unique_lock<std::mutex>::mutex_type& {aka std::mutex&}’
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:190:7: note: candidate: std::unique_lock<_Mutex>::unique_lock() [with _Mutex = std::mutex]
- unique_lock() noexcept
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:190:7: note: candidate expects 0 arguments, 1 provided
- In file included from /tmp/spheretest/minetest/src/network/connection.h:30:0,
- from /tmp/spheretest/minetest/src/server.h:23,
- from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
- /tmp/spheretest/minetest/src/util/thread.h: In instantiation of ‘void MutexedVariable<T>::set(T) [with T = std::__cxx11::basic_string<char>]’:
- /tmp/spheretest/minetest/src/server.h:333:35: required from here
- /tmp/spheretest/minetest/src/util/thread.h:45:29: error: no matching function for call to ‘std::unique_lock<std::mutex>::unique_lock(Mutex&)’
- MutexAutoLock lock(m_mutex);
- ^
- In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
- from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
- from /tmp/spheretest/minetest/src/util/container.h:26,
- from /tmp/spheretest/minetest/src/network/connection.h:29,
- from /tmp/spheretest/minetest/src/server.h:23,
- from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:238:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>&&) [with _Mutex = std::mutex]
- unique_lock(unique_lock&& __u) noexcept
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:238:7: note: no known conversion for argument 1 from ‘Mutex’ to ‘std::unique_lock<std::mutex>&&’
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:223:2: note: candidate: template<class _Rep, class _Period> std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, const std::chrono::duration<_Rep, _Period>&)
- unique_lock(mutex_type& __m,
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:223:2: note: template argument deduction/substitution failed:
- In file included from /tmp/spheretest/minetest/src/network/connection.h:30:0,
- from /tmp/spheretest/minetest/src/server.h:23,
- from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
- /tmp/spheretest/minetest/src/util/thread.h:45:29: note: candidate expects 2 arguments, 1 provided
- MutexAutoLock lock(m_mutex);
- ^
- In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
- from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
- from /tmp/spheretest/minetest/src/util/container.h:26,
- from /tmp/spheretest/minetest/src/network/connection.h:29,
- from /tmp/spheretest/minetest/src/server.h:23,
- from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:216:2: note: candidate: template<class _Clock, class _Duration> std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, const std::chrono::time_point<_Clock, _Duration>&)
- unique_lock(mutex_type& __m,
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:216:2: note: template argument deduction/substitution failed:
- In file included from /tmp/spheretest/minetest/src/network/connection.h:30:0,
- from /tmp/spheretest/minetest/src/server.h:23,
- from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
- /tmp/spheretest/minetest/src/util/thread.h:45:29: note: candidate expects 2 arguments, 1 provided
- MutexAutoLock lock(m_mutex);
- ^
- In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
- from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
- from /tmp/spheretest/minetest/src/util/container.h:26,
- from /tmp/spheretest/minetest/src/network/connection.h:29,
- from /tmp/spheretest/minetest/src/server.h:23,
- from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:209:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::adopt_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
- unique_lock(mutex_type& __m, adopt_lock_t)
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:209:7: note: candidate expects 2 arguments, 1 provided
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:205:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::try_to_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
- unique_lock(mutex_type& __m, try_to_lock_t)
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:205:7: note: candidate expects 2 arguments, 1 provided
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:201:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::defer_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
- unique_lock(mutex_type& __m, defer_lock_t) noexcept
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:201:7: note: candidate expects 2 arguments, 1 provided
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:194:16: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
- explicit unique_lock(mutex_type& __m)
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:194:16: note: no known conversion for argument 1 from ‘Mutex’ to ‘std::unique_lock<std::mutex>::mutex_type& {aka std::mutex&}’
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:190:7: note: candidate: std::unique_lock<_Mutex>::unique_lock() [with _Mutex = std::mutex]
- unique_lock() noexcept
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:190:7: note: candidate expects 0 arguments, 1 provided
- In file included from /tmp/spheretest/minetest/src/client/tile.cpp:25:0:
- /tmp/spheretest/minetest/src/util/thread.h: In member function ‘MutexAutoLock* MutexedVariable<T>::getLock()’:
- /tmp/spheretest/minetest/src/util/thread.h:52:35: error: no matching function for call to ‘std::unique_lock<std::mutex>::unique_lock(Mutex&)’
- return new MutexAutoLock(m_mutex);
- ^
- In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
- from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
- from /tmp/spheretest/minetest/src/util/container.h:26,
- from /tmp/spheretest/minetest/src/client/tile.cpp:24:
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:238:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>&&) [with _Mutex = std::mutex]
- unique_lock(unique_lock&& __u) noexcept
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:238:7: note: no known conversion for argument 1 from ‘Mutex’ to ‘std::unique_lock<std::mutex>&&’
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:223:2: note: candidate: template<class _Rep, class _Period> std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, const std::chrono::duration<_Rep, _Period>&)
- unique_lock(mutex_type& __m,
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:223:2: note: template argument deduction/substitution failed:
- In file included from /tmp/spheretest/minetest/src/client/tile.cpp:25:0:
- /tmp/spheretest/minetest/src/util/thread.h:52:35: note: candidate expects 2 arguments, 1 provided
- return new MutexAutoLock(m_mutex);
- ^
- In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
- from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
- from /tmp/spheretest/minetest/src/util/container.h:26,
- from /tmp/spheretest/minetest/src/client/tile.cpp:24:
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:216:2: note: candidate: template<class _Clock, class _Duration> std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, const std::chrono::time_point<_Clock, _Duration>&)
- unique_lock(mutex_type& __m,
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:216:2: note: template argument deduction/substitution failed:
- In file included from /tmp/spheretest/minetest/src/client/tile.cpp:25:0:
- /tmp/spheretest/minetest/src/util/thread.h:52:35: note: candidate expects 2 arguments, 1 provided
- return new MutexAutoLock(m_mutex);
- ^
- In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
- from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
- from /tmp/spheretest/minetest/src/util/container.h:26,
- from /tmp/spheretest/minetest/src/client/tile.cpp:24:
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:209:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::adopt_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
- unique_lock(mutex_type& __m, adopt_lock_t)
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:209:7: note: candidate expects 2 arguments, 1 provided
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:205:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::try_to_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
- unique_lock(mutex_type& __m, try_to_lock_t)
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:205:7: note: candidate expects 2 arguments, 1 provided
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:201:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::defer_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
- unique_lock(mutex_type& __m, defer_lock_t) noexcept
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:201:7: note: candidate expects 2 arguments, 1 provided
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:194:16: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
- explicit unique_lock(mutex_type& __m)
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:194:16: note: no known conversion for argument 1 from ‘Mutex’ to ‘std::unique_lock<std::mutex>::mutex_type& {aka std::mutex&}’
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:190:7: note: candidate: std::unique_lock<_Mutex>::unique_lock() [with _Mutex = std::mutex]
- unique_lock() noexcept
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:190:7: note: candidate expects 0 arguments, 1 provided
- /tmp/spheretest/minetest/src/client/tile.cpp: In member function ‘virtual irr::u32 TextureSource::getTextureId(const string&)’:
- /tmp/spheretest/minetest/src/client/tile.cpp:493:47: error: no matching function for call to ‘std::unique_lock<std::mutex>::unique_lock(Mutex&)’
- MutexAutoLock lock(m_textureinfo_cache_mutex);
- ^
- In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
- from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
- from /tmp/spheretest/minetest/src/util/container.h:26,
- from /tmp/spheretest/minetest/src/client/tile.cpp:24:
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:238:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>&&) [with _Mutex = std::mutex]
- unique_lock(unique_lock&& __u) noexcept
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:238:7: note: no known conversion for argument 1 from ‘Mutex’ to ‘std::unique_lock<std::mutex>&&’
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:223:2: note: candidate: template<class _Rep, class _Period> std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, const std::chrono::duration<_Rep, _Period>&)
- unique_lock(mutex_type& __m,
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:223:2: note: template argument deduction/substitution failed:
- /tmp/spheretest/minetest/src/client/tile.cpp:493:47: note: candidate expects 2 arguments, 1 provided
- MutexAutoLock lock(m_textureinfo_cache_mutex);
- ^
- In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
- from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
- from /tmp/spheretest/minetest/src/util/container.h:26,
- from /tmp/spheretest/minetest/src/client/tile.cpp:24:
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:216:2: note: candidate: template<class _Clock, class _Duration> std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, const std::chrono::time_point<_Clock, _Duration>&)
- unique_lock(mutex_type& __m,
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:216:2: note: template argument deduction/substitution failed:
- /tmp/spheretest/minetest/src/client/tile.cpp:493:47: note: candidate expects 2 arguments, 1 provided
- MutexAutoLock lock(m_textureinfo_cache_mutex);
- ^
- In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
- from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
- from /tmp/spheretest/minetest/src/util/container.h:26,
- from /tmp/spheretest/minetest/src/client/tile.cpp:24:
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:209:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::adopt_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
- unique_lock(mutex_type& __m, adopt_lock_t)
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:209:7: note: candidate expects 2 arguments, 1 provided
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:205:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::try_to_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
- unique_lock(mutex_type& __m, try_to_lock_t)
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:205:7: note: candidate expects 2 arguments, 1 provided
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:201:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::defer_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
- unique_lock(mutex_type& __m, defer_lock_t) noexcept
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:201:7: note: candidate expects 2 arguments, 1 provided
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:194:16: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
- explicit unique_lock(mutex_type& __m)
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:194:16: note: no known conversion for argument 1 from ‘Mutex’ to ‘std::unique_lock<std::mutex>::mutex_type& {aka std::mutex&}’
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:190:7: note: candidate: std::unique_lock<_Mutex>::unique_lock() [with _Mutex = std::mutex]
- unique_lock() noexcept
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:190:7: note: candidate expects 0 arguments, 1 provided
- make[2]: *** [src/CMakeFiles/minetest.dir/build.make:68: src/CMakeFiles/minetest.dir/client/clientlauncher.cpp.obj] Error 1
- make[2]: *** Waiting for unfinished jobs....
- /tmp/spheretest/minetest/src/client/tile.cpp: In member function ‘irr::u32 TextureSource::generateTexture(const string&)’:
- /tmp/spheretest/minetest/src/client/tile.cpp:598:47: error: no matching function for call to ‘std::unique_lock<std::mutex>::unique_lock(Mutex&)’
- MutexAutoLock lock(m_textureinfo_cache_mutex);
- ^
- In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
- from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
- from /tmp/spheretest/minetest/src/util/container.h:26,
- from /tmp/spheretest/minetest/src/client/tile.cpp:24:
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:238:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>&&) [with _Mutex = std::mutex]
- unique_lock(unique_lock&& __u) noexcept
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:238:7: note: no known conversion for argument 1 from ‘Mutex’ to ‘std::unique_lock<std::mutex>&&’
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:223:2: note: candidate: template<class _Rep, class _Period> std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, const std::chrono::duration<_Rep, _Period>&)
- unique_lock(mutex_type& __m,
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:223:2: note: template argument deduction/substitution failed:
- /tmp/spheretest/minetest/src/client/tile.cpp:598:47: note: candidate expects 2 arguments, 1 provided
- MutexAutoLock lock(m_textureinfo_cache_mutex);
- ^
- In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
- from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
- from /tmp/spheretest/minetest/src/util/container.h:26,
- from /tmp/spheretest/minetest/src/client/tile.cpp:24:
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:216:2: note: candidate: template<class _Clock, class _Duration> std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, const std::chrono::time_point<_Clock, _Duration>&)
- unique_lock(mutex_type& __m,
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:216:2: note: template argument deduction/substitution failed:
- /tmp/spheretest/minetest/src/client/tile.cpp:598:47: note: candidate expects 2 arguments, 1 provided
- MutexAutoLock lock(m_textureinfo_cache_mutex);
- ^
- In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
- from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
- from /tmp/spheretest/minetest/src/util/container.h:26,
- from /tmp/spheretest/minetest/src/client/tile.cpp:24:
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:209:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::adopt_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
- unique_lock(mutex_type& __m, adopt_lock_t)
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:209:7: note: candidate expects 2 arguments, 1 provided
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:205:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::try_to_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
- unique_lock(mutex_type& __m, try_to_lock_t)
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:205:7: note: candidate expects 2 arguments, 1 provided
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:201:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::defer_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
- unique_lock(mutex_type& __m, defer_lock_t) noexcept
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:201:7: note: candidate expects 2 arguments, 1 provided
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:194:16: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
- explicit unique_lock(mutex_type& __m)
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:194:16: note: no known conversion for argument 1 from ‘Mutex’ to ‘std::unique_lock<std::mutex>::mutex_type& {aka std::mutex&}’
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:190:7: note: candidate: std::unique_lock<_Mutex>::unique_lock() [with _Mutex = std::mutex]
- unique_lock() noexcept
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:190:7: note: candidate expects 0 arguments, 1 provided
- /tmp/spheretest/minetest/src/client/tile.cpp:636:46: error: no matching function for call to ‘std::unique_lock<std::mutex>::unique_lock(Mutex&)’
- MutexAutoLock lock(m_textureinfo_cache_mutex);
- ^
- In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
- from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
- from /tmp/spheretest/minetest/src/util/container.h:26,
- from /tmp/spheretest/minetest/src/client/tile.cpp:24:
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:238:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>&&) [with _Mutex = std::mutex]
- unique_lock(unique_lock&& __u) noexcept
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:238:7: note: no known conversion for argument 1 from ‘Mutex’ to ‘std::unique_lock<std::mutex>&&’
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:223:2: note: candidate: template<class _Rep, class _Period> std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, const std::chrono::duration<_Rep, _Period>&)
- unique_lock(mutex_type& __m,
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:223:2: note: template argument deduction/substitution failed:
- /tmp/spheretest/minetest/src/client/tile.cpp:636:46: note: candidate expects 2 arguments, 1 provided
- MutexAutoLock lock(m_textureinfo_cache_mutex);
- ^
- In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
- from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
- from /tmp/spheretest/minetest/src/util/container.h:26,
- from /tmp/spheretest/minetest/src/client/tile.cpp:24:
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:216:2: note: candidate: template<class _Clock, class _Duration> std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, const std::chrono::time_point<_Clock, _Duration>&)
- unique_lock(mutex_type& __m,
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:216:2: note: template argument deduction/substitution failed:
- /tmp/spheretest/minetest/src/client/tile.cpp:636:46: note: candidate expects 2 arguments, 1 provided
- MutexAutoLock lock(m_textureinfo_cache_mutex);
- ^
- In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
- from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
- from /tmp/spheretest/minetest/src/util/container.h:26,
- from /tmp/spheretest/minetest/src/client/tile.cpp:24:
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:209:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::adopt_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
- unique_lock(mutex_type& __m, adopt_lock_t)
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:209:7: note: candidate expects 2 arguments, 1 provided
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:205:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::try_to_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
- unique_lock(mutex_type& __m, try_to_lock_t)
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:205:7: note: candidate expects 2 arguments, 1 provided
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:201:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::defer_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
- unique_lock(mutex_type& __m, defer_lock_t) noexcept
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:201:7: note: candidate expects 2 arguments, 1 provided
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:194:16: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
- explicit unique_lock(mutex_type& __m)
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:194:16: note: no known conversion for argument 1 from ‘Mutex’ to ‘std::unique_lock<std::mutex>::mutex_type& {aka std::mutex&}’
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:190:7: note: candidate: std::unique_lock<_Mutex>::unique_lock() [with _Mutex = std::mutex]
- unique_lock() noexcept
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:190:7: note: candidate expects 0 arguments, 1 provided
- /tmp/spheretest/minetest/src/client/tile.cpp: In member function ‘virtual std::__cxx11::string TextureSource::getTextureName(irr::u32)’:
- /tmp/spheretest/minetest/src/client/tile.cpp:648:46: error: no matching function for call to ‘std::unique_lock<std::mutex>::unique_lock(Mutex&)’
- MutexAutoLock lock(m_textureinfo_cache_mutex);
- ^
- In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
- from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
- from /tmp/spheretest/minetest/src/util/container.h:26,
- from /tmp/spheretest/minetest/src/client/tile.cpp:24:
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:238:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>&&) [with _Mutex = std::mutex]
- unique_lock(unique_lock&& __u) noexcept
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:238:7: note: no known conversion for argument 1 from ‘Mutex’ to ‘std::unique_lock<std::mutex>&&’
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:223:2: note: candidate: template<class _Rep, class _Period> std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, const std::chrono::duration<_Rep, _Period>&)
- unique_lock(mutex_type& __m,
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:223:2: note: template argument deduction/substitution failed:
- /tmp/spheretest/minetest/src/client/tile.cpp:648:46: note: candidate expects 2 arguments, 1 provided
- MutexAutoLock lock(m_textureinfo_cache_mutex);
- ^
- In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
- from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
- from /tmp/spheretest/minetest/src/util/container.h:26,
- from /tmp/spheretest/minetest/src/client/tile.cpp:24:
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:216:2: note: candidate: template<class _Clock, class _Duration> std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, const std::chrono::time_point<_Clock, _Duration>&)
- unique_lock(mutex_type& __m,
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:216:2: note: template argument deduction/substitution failed:
- /tmp/spheretest/minetest/src/client/tile.cpp:648:46: note: candidate expects 2 arguments, 1 provided
- MutexAutoLock lock(m_textureinfo_cache_mutex);
- ^
- In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
- from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
- from /tmp/spheretest/minetest/src/util/container.h:26,
- from /tmp/spheretest/minetest/src/client/tile.cpp:24:
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:209:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::adopt_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
- unique_lock(mutex_type& __m, adopt_lock_t)
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:209:7: note: candidate expects 2 arguments, 1 provided
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:205:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::try_to_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
- unique_lock(mutex_type& __m, try_to_lock_t)
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:205:7: note: candidate expects 2 arguments, 1 provided
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:201:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::defer_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
- unique_lock(mutex_type& __m, defer_lock_t) noexcept
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:201:7: note: candidate expects 2 arguments, 1 provided
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:194:16: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
- explicit unique_lock(mutex_type& __m)
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:194:16: note: no known conversion for argument 1 from ‘Mutex’ to ‘std::unique_lock<std::mutex>::mutex_type& {aka std::mutex&}’
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:190:7: note: candidate: std::unique_lock<_Mutex>::unique_lock() [with _Mutex = std::mutex]
- unique_lock() noexcept
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:190:7: note: candidate expects 0 arguments, 1 provided
- /tmp/spheretest/minetest/src/client/tile.cpp: In member function ‘virtual irr::video::ITexture* TextureSource::getTexture(irr::u32)’:
- /tmp/spheretest/minetest/src/client/tile.cpp:663:46: error: no matching function for call to ‘std::unique_lock<std::mutex>::unique_lock(Mutex&)’
- MutexAutoLock lock(m_textureinfo_cache_mutex);
- ^
- In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
- from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
- from /tmp/spheretest/minetest/src/util/container.h:26,
- from /tmp/spheretest/minetest/src/client/tile.cpp:24:
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:238:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>&&) [with _Mutex = std::mutex]
- unique_lock(unique_lock&& __u) noexcept
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:238:7: note: no known conversion for argument 1 from ‘Mutex’ to ‘std::unique_lock<std::mutex>&&’
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:223:2: note: candidate: template<class _Rep, class _Period> std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, const std::chrono::duration<_Rep, _Period>&)
- unique_lock(mutex_type& __m,
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:223:2: note: template argument deduction/substitution failed:
- /tmp/spheretest/minetest/src/client/tile.cpp:663:46: note: candidate expects 2 arguments, 1 provided
- MutexAutoLock lock(m_textureinfo_cache_mutex);
- ^
- In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
- from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
- from /tmp/spheretest/minetest/src/util/container.h:26,
- from /tmp/spheretest/minetest/src/client/tile.cpp:24:
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:216:2: note: candidate: template<class _Clock, class _Duration> std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, const std::chrono::time_point<_Clock, _Duration>&)
- unique_lock(mutex_type& __m,
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:216:2: note: template argument deduction/substitution failed:
- /tmp/spheretest/minetest/src/client/tile.cpp:663:46: note: candidate expects 2 arguments, 1 provided
- MutexAutoLock lock(m_textureinfo_cache_mutex);
- ^
- In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
- from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
- from /tmp/spheretest/minetest/src/util/container.h:26,
- from /tmp/spheretest/minetest/src/client/tile.cpp:24:
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:209:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::adopt_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
- unique_lock(mutex_type& __m, adopt_lock_t)
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:209:7: note: candidate expects 2 arguments, 1 provided
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:205:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::try_to_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
- unique_lock(mutex_type& __m, try_to_lock_t)
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:205:7: note: candidate expects 2 arguments, 1 provided
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:201:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::defer_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
- unique_lock(mutex_type& __m, defer_lock_t) noexcept
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:201:7: note: candidate expects 2 arguments, 1 provided
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:194:16: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
- explicit unique_lock(mutex_type& __m)
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:194:16: note: no known conversion for argument 1 from ‘Mutex’ to ‘std::unique_lock<std::mutex>::mutex_type& {aka std::mutex&}’
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:190:7: note: candidate: std::unique_lock<_Mutex>::unique_lock() [with _Mutex = std::mutex]
- unique_lock() noexcept
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:190:7: note: candidate expects 0 arguments, 1 provided
- /tmp/spheretest/minetest/src/client/tile.cpp: In member function ‘virtual void TextureSource::rebuildImagesAndTextures()’:
- /tmp/spheretest/minetest/src/client/tile.cpp:717:46: error: no matching function for call to ‘std::unique_lock<std::mutex>::unique_lock(Mutex&)’
- MutexAutoLock lock(m_textureinfo_cache_mutex);
- ^
- In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
- from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
- from /tmp/spheretest/minetest/src/util/container.h:26,
- from /tmp/spheretest/minetest/src/client/tile.cpp:24:
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:238:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>&&) [with _Mutex = std::mutex]
- unique_lock(unique_lock&& __u) noexcept
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:238:7: note: no known conversion for argument 1 from ‘Mutex’ to ‘std::unique_lock<std::mutex>&&’
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:223:2: note: candidate: template<class _Rep, class _Period> std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, const std::chrono::duration<_Rep, _Period>&)
- unique_lock(mutex_type& __m,
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:223:2: note: template argument deduction/substitution failed:
- /tmp/spheretest/minetest/src/client/tile.cpp:717:46: note: candidate expects 2 arguments, 1 provided
- MutexAutoLock lock(m_textureinfo_cache_mutex);
- ^
- In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
- from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
- from /tmp/spheretest/minetest/src/util/container.h:26,
- from /tmp/spheretest/minetest/src/client/tile.cpp:24:
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:216:2: note: candidate: template<class _Clock, class _Duration> std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, const std::chrono::time_point<_Clock, _Duration>&)
- unique_lock(mutex_type& __m,
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:216:2: note: template argument deduction/substitution failed:
- /tmp/spheretest/minetest/src/client/tile.cpp:717:46: note: candidate expects 2 arguments, 1 provided
- MutexAutoLock lock(m_textureinfo_cache_mutex);
- ^
- In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
- from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
- from /tmp/spheretest/minetest/src/util/container.h:26,
- from /tmp/spheretest/minetest/src/client/tile.cpp:24:
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:209:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::adopt_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
- unique_lock(mutex_type& __m, adopt_lock_t)
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:209:7: note: candidate expects 2 arguments, 1 provided
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:205:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::try_to_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
- unique_lock(mutex_type& __m, try_to_lock_t)
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:205:7: note: candidate expects 2 arguments, 1 provided
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:201:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::defer_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
- unique_lock(mutex_type& __m, defer_lock_t) noexcept
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:201:7: note: candidate expects 2 arguments, 1 provided
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:194:16: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
- explicit unique_lock(mutex_type& __m)
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:194:16: note: no known conversion for argument 1 from ‘Mutex’ to ‘std::unique_lock<std::mutex>::mutex_type& {aka std::mutex&}’
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:190:7: note: candidate: std::unique_lock<_Mutex>::unique_lock() [with _Mutex = std::mutex]
- unique_lock() noexcept
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:190:7: note: candidate expects 0 arguments, 1 provided
- In file included from /tmp/spheretest/minetest/src/client/tile.cpp:24:0:
- /tmp/spheretest/minetest/src/util/container.h: In instantiation of ‘bool MutexedMap<Key, Value>::get(const Key&, Value*) const [with Key = std::__cxx11::basic_string<char>; Value = std::__cxx11::basic_string<char>]’:
- /tmp/spheretest/minetest/src/client/tile.cpp:130:68: required from here
- /tmp/spheretest/minetest/src/util/container.h:94:29: error: no matching function for call to ‘std::unique_lock<std::mutex>::unique_lock(Mutex&)’
- MutexAutoLock lock(m_mutex);
- ^
- In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
- from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
- from /tmp/spheretest/minetest/src/util/container.h:26,
- from /tmp/spheretest/minetest/src/client/tile.cpp:24:
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:238:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>&&) [with _Mutex = std::mutex]
- unique_lock(unique_lock&& __u) noexcept
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:238:7: note: no known conversion for argument 1 from ‘Mutex’ to ‘std::unique_lock<std::mutex>&&’
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:223:2: note: candidate: template<class _Rep, class _Period> std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, const std::chrono::duration<_Rep, _Period>&)
- unique_lock(mutex_type& __m,
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:223:2: note: template argument deduction/substitution failed:
- In file included from /tmp/spheretest/minetest/src/client/tile.cpp:24:0:
- /tmp/spheretest/minetest/src/util/container.h:94:29: note: candidate expects 2 arguments, 1 provided
- MutexAutoLock lock(m_mutex);
- ^
- In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
- from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
- from /tmp/spheretest/minetest/src/util/container.h:26,
- from /tmp/spheretest/minetest/src/client/tile.cpp:24:
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:216:2: note: candidate: template<class _Clock, class _Duration> std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, const std::chrono::time_point<_Clock, _Duration>&)
- unique_lock(mutex_type& __m,
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:216:2: note: template argument deduction/substitution failed:
- In file included from /tmp/spheretest/minetest/src/client/tile.cpp:24:0:
- /tmp/spheretest/minetest/src/util/container.h:94:29: note: candidate expects 2 arguments, 1 provided
- MutexAutoLock lock(m_mutex);
- ^
- In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
- from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
- from /tmp/spheretest/minetest/src/util/container.h:26,
- from /tmp/spheretest/minetest/src/client/tile.cpp:24:
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:209:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::adopt_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
- unique_lock(mutex_type& __m, adopt_lock_t)
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:209:7: note: candidate expects 2 arguments, 1 provided
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:205:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::try_to_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
- unique_lock(mutex_type& __m, try_to_lock_t)
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:205:7: note: candidate expects 2 arguments, 1 provided
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:201:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::defer_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
- unique_lock(mutex_type& __m, defer_lock_t) noexcept
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:201:7: note: candidate expects 2 arguments, 1 provided
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:194:16: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
- explicit unique_lock(mutex_type& __m)
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:194:16: note: no known conversion for argument 1 from ‘Mutex’ to ‘std::unique_lock<std::mutex>::mutex_type& {aka std::mutex&}’
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:190:7: note: candidate: std::unique_lock<_Mutex>::unique_lock() [with _Mutex = std::mutex]
- unique_lock() noexcept
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:190:7: note: candidate expects 0 arguments, 1 provided
- In file included from /tmp/spheretest/minetest/src/client/tile.cpp:24:0:
- /tmp/spheretest/minetest/src/util/container.h: In instantiation of ‘void MutexedMap<Key, Value>::set(const Key&, const Value&) [with Key = std::__cxx11::basic_string<char>; Value = std::__cxx11::basic_string<char>]’:
- /tmp/spheretest/minetest/src/client/tile.cpp:158:52: required from here
- /tmp/spheretest/minetest/src/util/container.h:88:29: error: no matching function for call to ‘std::unique_lock<std::mutex>::unique_lock(Mutex&)’
- MutexAutoLock lock(m_mutex);
- ^
- In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
- from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
- from /tmp/spheretest/minetest/src/util/container.h:26,
- from /tmp/spheretest/minetest/src/client/tile.cpp:24:
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:238:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>&&) [with _Mutex = std::mutex]
- unique_lock(unique_lock&& __u) noexcept
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:238:7: note: no known conversion for argument 1 from ‘Mutex’ to ‘std::unique_lock<std::mutex>&&’
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:223:2: note: candidate: template<class _Rep, class _Period> std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, const std::chrono::duration<_Rep, _Period>&)
- unique_lock(mutex_type& __m,
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:223:2: note: template argument deduction/substitution failed:
- In file included from /tmp/spheretest/minetest/src/client/tile.cpp:24:0:
- /tmp/spheretest/minetest/src/util/container.h:88:29: note: candidate expects 2 arguments, 1 provided
- MutexAutoLock lock(m_mutex);
- ^
- In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
- from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
- from /tmp/spheretest/minetest/src/util/container.h:26,
- from /tmp/spheretest/minetest/src/client/tile.cpp:24:
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:216:2: note: candidate: template<class _Clock, class _Duration> std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, const std::chrono::time_point<_Clock, _Duration>&)
- unique_lock(mutex_type& __m,
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:216:2: note: template argument deduction/substitution failed:
- In file included from /tmp/spheretest/minetest/src/client/tile.cpp:24:0:
- /tmp/spheretest/minetest/src/util/container.h:88:29: note: candidate expects 2 arguments, 1 provided
- MutexAutoLock lock(m_mutex);
- ^
- In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
- from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
- from /tmp/spheretest/minetest/src/util/container.h:26,
- from /tmp/spheretest/minetest/src/client/tile.cpp:24:
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:209:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::adopt_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
- unique_lock(mutex_type& __m, adopt_lock_t)
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:209:7: note: candidate expects 2 arguments, 1 provided
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:205:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::try_to_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
- unique_lock(mutex_type& __m, try_to_lock_t)
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:205:7: note: candidate expects 2 arguments, 1 provided
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:201:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::defer_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
- unique_lock(mutex_type& __m, defer_lock_t) noexcept
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:201:7: note: candidate expects 2 arguments, 1 provided
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:194:16: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
- explicit unique_lock(mutex_type& __m)
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:194:16: note: no known conversion for argument 1 from ‘Mutex’ to ‘std::unique_lock<std::mutex>::mutex_type& {aka std::mutex&}’
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:190:7: note: candidate: std::unique_lock<_Mutex>::unique_lock() [with _Mutex = std::mutex]
- unique_lock() noexcept
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:190:7: note: candidate expects 0 arguments, 1 provided
- In file included from /tmp/spheretest/minetest/src/client/tile.cpp:24:0:
- /tmp/spheretest/minetest/src/util/container.h: In instantiation of ‘bool MutexedMap<Key, Value>::get(const Key&, Value*) const [with Key = std::__cxx11::basic_string<char>; Value = bool]’:
- /tmp/spheretest/minetest/src/client/tile.cpp:354:66: required from here
- /tmp/spheretest/minetest/src/util/container.h:94:29: error: no matching function for call to ‘std::unique_lock<std::mutex>::unique_lock(Mutex&)’
- MutexAutoLock lock(m_mutex);
- ^
- In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
- from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
- from /tmp/spheretest/minetest/src/util/container.h:26,
- from /tmp/spheretest/minetest/src/client/tile.cpp:24:
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:238:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>&&) [with _Mutex = std::mutex]
- unique_lock(unique_lock&& __u) noexcept
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:238:7: note: no known conversion for argument 1 from ‘Mutex’ to ‘std::unique_lock<std::mutex>&&’
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:223:2: note: candidate: template<class _Rep, class _Period> std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, const std::chrono::duration<_Rep, _Period>&)
- unique_lock(mutex_type& __m,
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:223:2: note: template argument deduction/substitution failed:
- In file included from /tmp/spheretest/minetest/src/client/tile.cpp:24:0:
- /tmp/spheretest/minetest/src/util/container.h:94:29: note: candidate expects 2 arguments, 1 provided
- MutexAutoLock lock(m_mutex);
- ^
- In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
- from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
- from /tmp/spheretest/minetest/src/util/container.h:26,
- from /tmp/spheretest/minetest/src/client/tile.cpp:24:
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:216:2: note: candidate: template<class _Clock, class _Duration> std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, const std::chrono::time_point<_Clock, _Duration>&)
- unique_lock(mutex_type& __m,
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:216:2: note: template argument deduction/substitution failed:
- In file included from /tmp/spheretest/minetest/src/client/tile.cpp:24:0:
- /tmp/spheretest/minetest/src/util/container.h:94:29: note: candidate expects 2 arguments, 1 provided
- MutexAutoLock lock(m_mutex);
- ^
- In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
- from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
- from /tmp/spheretest/minetest/src/util/container.h:26,
- from /tmp/spheretest/minetest/src/client/tile.cpp:24:
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:209:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::adopt_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
- unique_lock(mutex_type& __m, adopt_lock_t)
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:209:7: note: candidate expects 2 arguments, 1 provided
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:205:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::try_to_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
- unique_lock(mutex_type& __m, try_to_lock_t)
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:205:7: note: candidate expects 2 arguments, 1 provided
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:201:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::defer_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
- unique_lock(mutex_type& __m, defer_lock_t) noexcept
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:201:7: note: candidate expects 2 arguments, 1 provided
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:194:16: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
- explicit unique_lock(mutex_type& __m)
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:194:16: note: no known conversion for argument 1 from ‘Mutex’ to ‘std::unique_lock<std::mutex>::mutex_type& {aka std::mutex&}’
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:190:7: note: candidate: std::unique_lock<_Mutex>::unique_lock() [with _Mutex = std::mutex]
- unique_lock() noexcept
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:190:7: note: candidate expects 0 arguments, 1 provided
- In file included from /tmp/spheretest/minetest/src/client/tile.cpp:24:0:
- /tmp/spheretest/minetest/src/util/container.h: In instantiation of ‘void MutexedMap<Key, Value>::set(const Key&, const Value&) [with Key = std::__cxx11::basic_string<char>; Value = bool]’:
- /tmp/spheretest/minetest/src/client/tile.cpp:359:46: required from here
- /tmp/spheretest/minetest/src/util/container.h:88:29: error: no matching function for call to ‘std::unique_lock<std::mutex>::unique_lock(Mutex&)’
- MutexAutoLock lock(m_mutex);
- ^
- In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
- from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
- from /tmp/spheretest/minetest/src/util/container.h:26,
- from /tmp/spheretest/minetest/src/client/tile.cpp:24:
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:238:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>&&) [with _Mutex = std::mutex]
- unique_lock(unique_lock&& __u) noexcept
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:238:7: note: no known conversion for argument 1 from ‘Mutex’ to ‘std::unique_lock<std::mutex>&&’
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:223:2: note: candidate: template<class _Rep, class _Period> std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, const std::chrono::duration<_Rep, _Period>&)
- unique_lock(mutex_type& __m,
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:223:2: note: template argument deduction/substitution failed:
- In file included from /tmp/spheretest/minetest/src/client/tile.cpp:24:0:
- /tmp/spheretest/minetest/src/util/container.h:88:29: note: candidate expects 2 arguments, 1 provided
- MutexAutoLock lock(m_mutex);
- ^
- In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
- from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
- from /tmp/spheretest/minetest/src/util/container.h:26,
- from /tmp/spheretest/minetest/src/client/tile.cpp:24:
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:216:2: note: candidate: template<class _Clock, class _Duration> std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, const std::chrono::time_point<_Clock, _Duration>&)
- unique_lock(mutex_type& __m,
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:216:2: note: template argument deduction/substitution failed:
- In file included from /tmp/spheretest/minetest/src/client/tile.cpp:24:0:
- /tmp/spheretest/minetest/src/util/container.h:88:29: note: candidate expects 2 arguments, 1 provided
- MutexAutoLock lock(m_mutex);
- ^
- In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
- from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
- from /tmp/spheretest/minetest/src/util/container.h:26,
- from /tmp/spheretest/minetest/src/client/tile.cpp:24:
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:209:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::adopt_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
- unique_lock(mutex_type& __m, adopt_lock_t)
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:209:7: note: candidate expects 2 arguments, 1 provided
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:205:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::try_to_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
- unique_lock(mutex_type& __m, try_to_lock_t)
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:205:7: note: candidate expects 2 arguments, 1 provided
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:201:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::defer_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
- unique_lock(mutex_type& __m, defer_lock_t) noexcept
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:201:7: note: candidate expects 2 arguments, 1 provided
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:194:16: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
- explicit unique_lock(mutex_type& __m)
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:194:16: note: no known conversion for argument 1 from ‘Mutex’ to ‘std::unique_lock<std::mutex>::mutex_type& {aka std::mutex&}’
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:190:7: note: candidate: std::unique_lock<_Mutex>::unique_lock() [with _Mutex = std::mutex]
- unique_lock() noexcept
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:190:7: note: candidate expects 0 arguments, 1 provided
- In file included from /tmp/spheretest/minetest/src/client/tile.cpp:25:0:
- /tmp/spheretest/minetest/src/util/thread.h: In instantiation of ‘void RequestQueue<Key, T, Caller, CallerData>::add(Key, Caller, CallerData, ResultQueue<Key, T, Caller, CallerData>*) [with Key = std::__cxx11::basic_string<char>; T = unsigned int; Caller = unsigned char; CallerData = unsigned char]’:
- /tmp/spheretest/minetest/src/client/tile.cpp:517:52: required from here
- /tmp/spheretest/minetest/src/util/thread.h:121:41: error: no matching function for call to ‘std::unique_lock<std::mutex>::unique_lock(Mutex&)’
- MutexAutoLock lock(m_queue.getMutex());
- ^
- In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
- from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
- from /tmp/spheretest/minetest/src/util/container.h:26,
- from /tmp/spheretest/minetest/src/client/tile.cpp:24:
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:238:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>&&) [with _Mutex = std::mutex]
- unique_lock(unique_lock&& __u) noexcept
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:238:7: note: no known conversion for argument 1 from ‘Mutex’ to ‘std::unique_lock<std::mutex>&&’
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:223:2: note: candidate: template<class _Rep, class _Period> std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, const std::chrono::duration<_Rep, _Period>&)
- unique_lock(mutex_type& __m,
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:223:2: note: template argument deduction/substitution failed:
- In file included from /tmp/spheretest/minetest/src/client/tile.cpp:25:0:
- /tmp/spheretest/minetest/src/util/thread.h:121:41: note: candidate expects 2 arguments, 1 provided
- MutexAutoLock lock(m_queue.getMutex());
- ^
- In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
- from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
- from /tmp/spheretest/minetest/src/util/container.h:26,
- from /tmp/spheretest/minetest/src/client/tile.cpp:24:
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:216:2: note: candidate: template<class _Clock, class _Duration> std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, const std::chrono::time_point<_Clock, _Duration>&)
- unique_lock(mutex_type& __m,
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:216:2: note: template argument deduction/substitution failed:
- In file included from /tmp/spheretest/minetest/src/client/tile.cpp:25:0:
- /tmp/spheretest/minetest/src/util/thread.h:121:41: note: candidate expects 2 arguments, 1 provided
- MutexAutoLock lock(m_queue.getMutex());
- ^
- In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
- from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
- from /tmp/spheretest/minetest/src/util/container.h:26,
- from /tmp/spheretest/minetest/src/client/tile.cpp:24:
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:209:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::adopt_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
- unique_lock(mutex_type& __m, adopt_lock_t)
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:209:7: note: candidate expects 2 arguments, 1 provided
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:205:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::try_to_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
- unique_lock(mutex_type& __m, try_to_lock_t)
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:205:7: note: candidate expects 2 arguments, 1 provided
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:201:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::defer_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
- unique_lock(mutex_type& __m, defer_lock_t) noexcept
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:201:7: note: candidate expects 2 arguments, 1 provided
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:194:16: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
- explicit unique_lock(mutex_type& __m)
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:194:16: note: no known conversion for argument 1 from ‘Mutex’ to ‘std::unique_lock<std::mutex>::mutex_type& {aka std::mutex&}’
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:190:7: note: candidate: std::unique_lock<_Mutex>::unique_lock() [with _Mutex = std::mutex]
- unique_lock() noexcept
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:190:7: note: candidate expects 0 arguments, 1 provided
- In file included from /tmp/spheretest/minetest/src/client/tile.cpp:24:0:
- /tmp/spheretest/minetest/src/util/container.h: In instantiation of ‘T MutexedQueue<T>::pop_front(irr::u32) [with T = GetResult<std::__cxx11::basic_string<char>, unsigned int, unsigned char, unsigned char>; irr::u32 = unsigned int]’:
- /tmp/spheretest/minetest/src/client/tile.cpp:527:42: required from here
- /tmp/spheretest/minetest/src/util/container.h:166:30: error: no matching function for call to ‘std::unique_lock<std::mutex>::unique_lock(Mutex&)’
- MutexAutoLock lock(m_mutex);
- ^
- In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
- from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
- from /tmp/spheretest/minetest/src/util/container.h:26,
- from /tmp/spheretest/minetest/src/client/tile.cpp:24:
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:238:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>&&) [with _Mutex = std::mutex]
- unique_lock(unique_lock&& __u) noexcept
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:238:7: note: no known conversion for argument 1 from ‘Mutex’ to ‘std::unique_lock<std::mutex>&&’
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:223:2: note: candidate: template<class _Rep, class _Period> std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, const std::chrono::duration<_Rep, _Period>&)
- unique_lock(mutex_type& __m,
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:223:2: note: template argument deduction/substitution failed:
- In file included from /tmp/spheretest/minetest/src/client/tile.cpp:24:0:
- /tmp/spheretest/minetest/src/util/container.h:166:30: note: candidate expects 2 arguments, 1 provided
- MutexAutoLock lock(m_mutex);
- ^
- In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
- from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
- from /tmp/spheretest/minetest/src/util/container.h:26,
- from /tmp/spheretest/minetest/src/client/tile.cpp:24:
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:216:2: note: candidate: template<class _Clock, class _Duration> std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, const std::chrono::time_point<_Clock, _Duration>&)
- unique_lock(mutex_type& __m,
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:216:2: note: template argument deduction/substitution failed:
- In file included from /tmp/spheretest/minetest/src/client/tile.cpp:24:0:
- /tmp/spheretest/minetest/src/util/container.h:166:30: note: candidate expects 2 arguments, 1 provided
- MutexAutoLock lock(m_mutex);
- ^
- In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
- from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
- from /tmp/spheretest/minetest/src/util/container.h:26,
- from /tmp/spheretest/minetest/src/client/tile.cpp:24:
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:209:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::adopt_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
- unique_lock(mutex_type& __m, adopt_lock_t)
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:209:7: note: candidate expects 2 arguments, 1 provided
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:205:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::try_to_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
- unique_lock(mutex_type& __m, try_to_lock_t)
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:205:7: note: candidate expects 2 arguments, 1 provided
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:201:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::defer_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
- unique_lock(mutex_type& __m, defer_lock_t) noexcept
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:201:7: note: candidate expects 2 arguments, 1 provided
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:194:16: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
- explicit unique_lock(mutex_type& __m)
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:194:16: note: no known conversion for argument 1 from ‘Mutex’ to ‘std::unique_lock<std::mutex>::mutex_type& {aka std::mutex&}’
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:190:7: note: candidate: std::unique_lock<_Mutex>::unique_lock() [with _Mutex = std::mutex]
- unique_lock() noexcept
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:190:7: note: candidate expects 0 arguments, 1 provided
- In file included from /tmp/spheretest/minetest/src/client/tile.cpp:24:0:
- /tmp/spheretest/minetest/src/util/container.h: In instantiation of ‘bool MutexedQueue<T>::empty() const [with T = GetRequest<std::__cxx11::basic_string<char>, unsigned int, unsigned char, unsigned char>]’:
- /tmp/spheretest/minetest/src/util/thread.h:111:24: required from ‘bool RequestQueue<Key, T, Caller, CallerData>::empty() [with Key = std::__cxx11::basic_string<char>; T = unsigned int; Caller = unsigned char; CallerData = unsigned char]’
- /tmp/spheretest/minetest/src/client/tile.cpp:691:33: required from here
- /tmp/spheretest/minetest/src/util/container.h:136:29: error: no matching function for call to ‘std::unique_lock<std::mutex>::unique_lock(Mutex&)’
- MutexAutoLock lock(m_mutex);
- ^
- In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
- from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
- from /tmp/spheretest/minetest/src/util/container.h:26,
- from /tmp/spheretest/minetest/src/client/tile.cpp:24:
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:238:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>&&) [with _Mutex = std::mutex]
- unique_lock(unique_lock&& __u) noexcept
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:238:7: note: no known conversion for argument 1 from ‘Mutex’ to ‘std::unique_lock<std::mutex>&&’
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:223:2: note: candidate: template<class _Rep, class _Period> std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, const std::chrono::duration<_Rep, _Period>&)
- unique_lock(mutex_type& __m,
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:223:2: note: template argument deduction/substitution failed:
- In file included from /tmp/spheretest/minetest/src/client/tile.cpp:24:0:
- /tmp/spheretest/minetest/src/util/container.h:136:29: note: candidate expects 2 arguments, 1 provided
- MutexAutoLock lock(m_mutex);
- ^
- In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
- from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
- from /tmp/spheretest/minetest/src/util/container.h:26,
- from /tmp/spheretest/minetest/src/client/tile.cpp:24:
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:216:2: note: candidate: template<class _Clock, class _Duration> std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, const std::chrono::time_point<_Clock, _Duration>&)
- unique_lock(mutex_type& __m,
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:216:2: note: template argument deduction/substitution failed:
- In file included from /tmp/spheretest/minetest/src/client/tile.cpp:24:0:
- /tmp/spheretest/minetest/src/util/container.h:136:29: note: candidate expects 2 arguments, 1 provided
- MutexAutoLock lock(m_mutex);
- ^
- In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
- from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
- from /tmp/spheretest/minetest/src/util/container.h:26,
- from /tmp/spheretest/minetest/src/client/tile.cpp:24:
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:209:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::adopt_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
- unique_lock(mutex_type& __m, adopt_lock_t)
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:209:7: note: candidate expects 2 arguments, 1 provided
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:205:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::try_to_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
- unique_lock(mutex_type& __m, try_to_lock_t)
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:205:7: note: candidate expects 2 arguments, 1 provided
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:201:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::defer_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
- unique_lock(mutex_type& __m, defer_lock_t) noexcept
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:201:7: note: candidate expects 2 arguments, 1 provided
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:194:16: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
- explicit unique_lock(mutex_type& __m)
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:194:16: note: no known conversion for argument 1 from ‘Mutex’ to ‘std::unique_lock<std::mutex>::mutex_type& {aka std::mutex&}’
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:190:7: note: candidate: std::unique_lock<_Mutex>::unique_lock() [with _Mutex = std::mutex]
- unique_lock() noexcept
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:190:7: note: candidate expects 0 arguments, 1 provided
- In file included from /tmp/spheretest/minetest/src/client/tile.cpp:24:0:
- /tmp/spheretest/minetest/src/util/container.h: In instantiation of ‘T MutexedQueue<T>::pop_frontNoEx() [with T = GetRequest<std::__cxx11::basic_string<char>, unsigned int, unsigned char, unsigned char>]’:
- /tmp/spheretest/minetest/src/util/thread.h:170:32: required from ‘GetRequest<Key, T, Caller, CallerData> RequestQueue<Key, T, Caller, CallerData>::pop() [with Key = std::__cxx11::basic_string<char>; T = unsigned int; Caller = unsigned char; CallerData = unsigned char]’
- /tmp/spheretest/minetest/src/client/tile.cpp:694:39: required from here
- /tmp/spheretest/minetest/src/util/container.h:180:29: error: no matching function for call to ‘std::unique_lock<std::mutex>::unique_lock(Mutex&)’
- MutexAutoLock lock(m_mutex);
- ^
- In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
- from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
- from /tmp/spheretest/minetest/src/util/container.h:26,
- from /tmp/spheretest/minetest/src/client/tile.cpp:24:
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:238:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>&&) [with _Mutex = std::mutex]
- unique_lock(unique_lock&& __u) noexcept
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:238:7: note: no known conversion for argument 1 from ‘Mutex’ to ‘std::unique_lock<std::mutex>&&’
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:223:2: note: candidate: template<class _Rep, class _Period> std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, const std::chrono::duration<_Rep, _Period>&)
- unique_lock(mutex_type& __m,
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:223:2: note: template argument deduction/substitution failed:
- In file included from /tmp/spheretest/minetest/src/client/tile.cpp:24:0:
- /tmp/spheretest/minetest/src/util/container.h:180:29: note: candidate expects 2 arguments, 1 provided
- MutexAutoLock lock(m_mutex);
- ^
- In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
- from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
- from /tmp/spheretest/minetest/src/util/container.h:26,
- from /tmp/spheretest/minetest/src/client/tile.cpp:24:
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:216:2: note: candidate: template<class _Clock, class _Duration> std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, const std::chrono::time_point<_Clock, _Duration>&)
- unique_lock(mutex_type& __m,
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:216:2: note: template argument deduction/substitution failed:
- In file included from /tmp/spheretest/minetest/src/client/tile.cpp:24:0:
- /tmp/spheretest/minetest/src/util/container.h:180:29: note: candidate expects 2 arguments, 1 provided
- MutexAutoLock lock(m_mutex);
- ^
- In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
- from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
- from /tmp/spheretest/minetest/src/util/container.h:26,
- from /tmp/spheretest/minetest/src/client/tile.cpp:24:
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:209:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::adopt_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
- unique_lock(mutex_type& __m, adopt_lock_t)
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:209:7: note: candidate expects 2 arguments, 1 provided
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:205:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::try_to_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
- unique_lock(mutex_type& __m, try_to_lock_t)
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:205:7: note: candidate expects 2 arguments, 1 provided
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:201:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::defer_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
- unique_lock(mutex_type& __m, defer_lock_t) noexcept
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:201:7: note: candidate expects 2 arguments, 1 provided
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:194:16: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
- explicit unique_lock(mutex_type& __m)
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:194:16: note: no known conversion for argument 1 from ‘Mutex’ to ‘std::unique_lock<std::mutex>::mutex_type& {aka std::mutex&}’
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:190:7: note: candidate: std::unique_lock<_Mutex>::unique_lock() [with _Mutex = std::mutex]
- unique_lock() noexcept
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:190:7: note: candidate expects 0 arguments, 1 provided
- In file included from /tmp/spheretest/minetest/src/client/tile.cpp:24:0:
- /tmp/spheretest/minetest/src/util/container.h: In instantiation of ‘void MutexedQueue<T>::push_back(T) [with T = GetResult<std::__cxx11::basic_string<char>, unsigned int, unsigned char, unsigned char>]’:
- /tmp/spheretest/minetest/src/util/thread.h:187:4: required from ‘void RequestQueue<Key, T, Caller, CallerData>::pushResult(GetRequest<Key, T, Caller, CallerData>, T) [with Key = std::__cxx11::basic_string<char>; T = unsigned int; Caller = unsigned char; CallerData = unsigned char]’
- /tmp/spheretest/minetest/src/client/tile.cpp:701:71: required from here
- /tmp/spheretest/minetest/src/util/container.h:142:29: error: no matching function for call to ‘std::unique_lock<std::mutex>::unique_lock(Mutex&)’
- MutexAutoLock lock(m_mutex);
- ^
- In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
- from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
- from /tmp/spheretest/minetest/src/util/container.h:26,
- from /tmp/spheretest/minetest/src/client/tile.cpp:24:
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:238:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>&&) [with _Mutex = std::mutex]
- unique_lock(unique_lock&& __u) noexcept
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:238:7: note: no known conversion for argument 1 from ‘Mutex’ to ‘std::unique_lock<std::mutex>&&’
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:223:2: note: candidate: template<class _Rep, class _Period> std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, const std::chrono::duration<_Rep, _Period>&)
- unique_lock(mutex_type& __m,
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:223:2: note: template argument deduction/substitution failed:
- In file included from /tmp/spheretest/minetest/src/client/tile.cpp:24:0:
- /tmp/spheretest/minetest/src/util/container.h:142:29: note: candidate expects 2 arguments, 1 provided
- MutexAutoLock lock(m_mutex);
- ^
- In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
- from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
- from /tmp/spheretest/minetest/src/util/container.h:26,
- from /tmp/spheretest/minetest/src/client/tile.cpp:24:
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:216:2: note: candidate: template<class _Clock, class _Duration> std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, const std::chrono::time_point<_Clock, _Duration>&)
- unique_lock(mutex_type& __m,
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:216:2: note: template argument deduction/substitution failed:
- In file included from /tmp/spheretest/minetest/src/client/tile.cpp:24:0:
- /tmp/spheretest/minetest/src/util/container.h:142:29: note: candidate expects 2 arguments, 1 provided
- MutexAutoLock lock(m_mutex);
- ^
- In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
- from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
- from /tmp/spheretest/minetest/src/util/container.h:26,
- from /tmp/spheretest/minetest/src/client/tile.cpp:24:
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:209:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::adopt_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
- unique_lock(mutex_type& __m, adopt_lock_t)
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:209:7: note: candidate expects 2 arguments, 1 provided
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:205:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::try_to_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
- unique_lock(mutex_type& __m, try_to_lock_t)
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:205:7: note: candidate expects 2 arguments, 1 provided
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:201:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::defer_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
- unique_lock(mutex_type& __m, defer_lock_t) noexcept
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:201:7: note: candidate expects 2 arguments, 1 provided
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:194:16: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
- explicit unique_lock(mutex_type& __m)
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:194:16: note: no known conversion for argument 1 from ‘Mutex’ to ‘std::unique_lock<std::mutex>::mutex_type& {aka std::mutex&}’
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:190:7: note: candidate: std::unique_lock<_Mutex>::unique_lock() [with _Mutex = std::mutex]
- unique_lock() noexcept
- ^~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:190:7: note: candidate expects 0 arguments, 1 provided
- make[2]: *** [src/CMakeFiles/minetest.dir/build.make:118: src/CMakeFiles/minetest.dir/client/tile.cpp.obj] Error 1
- make[1]: *** [CMakeFiles/Makefile2:190: src/CMakeFiles/minetest.dir/all] Error 2
- make: *** [Makefile:150: all] Error 2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement