In file included from usr lib gcc x86_64-pc-linux-gnu include -v7 expe

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/7.4.0/include/g++-v7/experimental/filesystem:37:0,
from /home/sargarass/AKRM/src/workplaceagent/common/common.h:21,
from /home/sargarass/AKRM/src/common/system.h:5,
from /home/sargarass/AKRM/src/workplaceagent/agenthosts/plugins/cloudplugin/cloudplugin.cpp:9:
/usr/lib/gcc/x86_64-pc-linux-gnu/7.4.0/include/g++-v7/experimental/bits/fs_path.h: В конкретизации «struct std::experimental::filesystem::v1::__cxx11::path::__constructible_from<volatile std::experimental::filesystem::v1::__cxx11::path, void>»:
/usr/lib/gcc/x86_64-pc-linux-gnu/7.4.0/include/g++-v7/type_traits:143:12: требуемый из «struct std::__and_<std::__not_<std::is_same<volatile std::experimental::filesystem::v1::__cxx11::path, std::experimental::filesystem::v1::__cxx11::path> >, std::experimental::filesystem::v1::__cxx11::path::__constructible_from<volatile std::experimental::filesystem::v1::__cxx11::path, void> >»
/usr/lib/gcc/x86_64-pc-linux-gnu/7.4.0/include/g++-v7/experimental/bits/fs_path.h:126:21: требуемый при подстановке «template<class _Tp1, class _Tp2> using _Path = typename std::enable_if<std::__and_<std::__not_<std::is_same<_Tp1, std::experimental::filesystem::v1::__cxx11::path> >, std::experimental::filesystem::v1::__cxx11::path::__constructible_from<_Tp1, _Tp2> >::value, std::experimental::filesystem::v1::__cxx11::path>::type [with _Tp1 = volatile std::experimental::filesystem::v1::__cxx11::path; _Tp2 = void]»
/usr/lib/gcc/x86_64-pc-linux-gnu/7.4.0/include/g++-v7/experimental/bits/fs_path.h:194:7: требуемый при подстановке «template<class _Source, class _Require> std::experimental::filesystem::v1::__cxx11::path::path(const _Source&) [with _Source = volatile std::experimental::filesystem::v1::__cxx11::path; _Require = <missing>]»
/usr/lib/gcc/x86_64-pc-linux-gnu/7.4.0/include/g++-v7/type_traits:2304:53: требуемый при подстановке «template<class _Fp, class _Tp1, class ... _Args> static std::__result_of_success<decltype (*(declval<_Tp1>)().*(declval<_Fp>)()((declval<_Args>)()...)), std::__invoke_memfun_deref> std::__result_of_memfun_deref_impl::_S_test(int) [with _Fp = void (CloudPlugin::*)(std::experimental::filesystem::v1::__cxx11::path); _Tp1 = CloudPlugin* const volatile&; _Args = {const volatile std::experimental::filesystem::v1::__cxx11::path&}]»
/usr/lib/gcc/x86_64-pc-linux-gnu/7.4.0/include/g++-v7/type_traits:2315:56: требуемый из «struct std::__result_of_memfun_deref<void (CloudPlugin::*)(std::experimental::filesystem::v1::__cxx11::path), CloudPlugin* const volatile&, const volatile std::experimental::filesystem::v1::__cxx11::path&>»
/usr/lib/gcc/x86_64-pc-linux-gnu/7.4.0/include/g++-v7/type_traits:2385:21: [ skipping 16 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
/usr/lib/gcc/x86_64-pc-linux-gnu/7.4.0/include/g++-v7/thread:233:29: требуемый при подстановке «template<long unsigned int ..._Ind> decltype (std::__invoke(_S_declval<_Ind>()...)) std::thread::_Invoker<std::tuple<void (*)(std::function<void()>), std::_Bind<void (CloudPlugin::*(CloudPlugin*, std::experimental::filesystem::v1::__cxx11::path))(std::experimental::filesystem::v1::__cxx11::path)> > >::_M_invoke<_Ind ...>(std::_Index_tuple<_Ind1 ...>) [with long unsigned int ..._Ind = {0, 1}]»
/usr/lib/gcc/x86_64-pc-linux-gnu/7.4.0/include/g++-v7/thread:240:2: требуемый из «struct std::thread::_Invoker<std::tuple<void (*)(std::function<void()>), std::_Bind<void (CloudPlugin::*(CloudPlugin*, std::experimental::filesystem::v1::__cxx11::path))(std::experimental::filesystem::v1::__cxx11::path)> > >»
/usr/lib/gcc/x86_64-pc-linux-gnu/7.4.0/include/g++-v7/thread:127:22: требуемый из «std::thread::thread(_Callable&&, _Args&& ...) [with _Callable = void (&)(std::function<void()>); _Args = {std::_Bind<void (CloudPlugin::*(CloudPlugin*, std::experimental::filesystem::v1::__cxx11::path))(std::experimental::filesystem::v1::__cxx11::path)>}]»
/home/sargarass/AKRM/src/workplaceagent/agenthosts/plugins/cloudplugin/userpluginadapter.h:21:17: требуемый из «std::thread make_esthread(_Callable&&, _Args&& ...) [with _Callable = void (CloudPlugin::*&)(std::experimental::filesystem::v1::__cxx11::path); _Args = {CloudPlugin*, std::experimental::filesystem::v1::__cxx11::path&}]»
/home/sargarass/AKRM/src/workplaceagent/agenthosts/plugins/cloudplugin/userpluginadapter.h:93:43: требуемый из «void UserPlugin::start_thread(void (_Plugin::*)(PArgs ...), Args&& ...) [with _Plugin = CloudPlugin; PArgs = {std::experimental::filesystem::v1::__cxx11::path}; Args = {std::experimental::filesystem::v1::__cxx11::path&}]»
/home/sargarass/AKRM/src/workplaceagent/agenthosts/plugins/cloudplugin/cloudplugin.cpp:192:51: required from here
/usr/lib/gcc/x86_64-pc-linux-gnu/7.4.0/include/g++-v7/experimental/bits/fs_path.h:119:31: ошибка: no matching function for call to «std::experimental::filesystem::v1::__cxx11::path::__is_path_src(volatile std::experimental::filesystem::v1::__cxx11::path, int)»
: decltype(__is_path_src(std::declval<_Source>(), 0))
~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/lib/gcc/x86_64-pc-linux-gnu/7.4.0/include/g++-v7/experimental/bits/fs_path.h:93:7: замечание: candidate: template<class _Iter> static std::experimental::filesystem::v1::__cxx11::path::__is_path_iter_src<_Iter> std::experimental::filesystem::v1::__cxx11::path::__is_path_src(_Iter, int)
__is_path_src(_Iter, int);
^~~~~~~~~~~~~
/usr/lib/gcc/x86_64-pc-linux-gnu/7.4.0/include/g++-v7/experimental/bits/fs_path.h:93:7: замечание: вывод/подстановка аргумента шаблона неудачна:
/usr/lib/gcc/x86_64-pc-linux-gnu/7.4.0/include/g++-v7/experimental/bits/fs_path.h:97:7: замечание: candidate: template<class _CharT, class _Traits, class _Alloc> static std::experimental::filesystem::v1::__cxx11::path::__is_encoded_char<_CharT> std::experimental::filesystem::v1::__cxx11::path::__is_path_src(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, int)
__is_path_src(const basic_string<_CharT, _Traits, _Alloc>&, int);
^~~~~~~~~~~~~
/usr/lib/gcc/x86_64-pc-linux-gnu/7.4.0/include/g++-v7/experimental/bits/fs_path.h:97:7: замечание: вывод/подстановка аргумента шаблона неудачна:
/usr/lib/gcc/x86_64-pc-linux-gnu/7.4.0/include/g++-v7/experimental/bits/fs_path.h:119:31: замечание: типы «const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>» и «volatile std::experimental::filesystem::v1::__cxx11::path» имеют несовместимые cv-qualifiers
: decltype(__is_path_src(std::declval<_Source>(), 0))
~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/lib/gcc/x86_64-pc-linux-gnu/7.4.0/include/g++-v7/experimental/bits/fs_path.h:102:7: замечание: candidate: template<class _CharT, class _Traits> static std::experimental::filesystem::v1::__cxx11::path::__is_encoded_char<_CharT> std::experimental::filesystem::v1::__cxx11::path::__is_path_src(const std::experimental::fundamentals_v1::basic_string_view<_CharT, _Traits>&, int)
__is_path_src(const basic_string_view<_CharT, _Traits>&, int);
^~~~~~~~~~~~~
/usr/lib/gcc/x86_64-pc-linux-gnu/7.4.0/include/g++-v7/experimental/bits/fs_path.h:102:7: замечание: вывод/подстановка аргумента шаблона неудачна:
/usr/lib/gcc/x86_64-pc-linux-gnu/7.4.0/include/g++-v7/experimental/bits/fs_path.h:119:31: замечание: типы «const std::experimental::fundamentals_v1::basic_string_view<_CharT, _Traits>» и «volatile std::experimental::filesystem::v1::__cxx11::path» имеют несовместимые cv-qualifiers
: decltype(__is_path_src(std::declval<_Source>(), 0))
~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/lib/gcc/x86_64-pc-linux-gnu/7.4.0/include/g++-v7/experimental/bits/fs_path.h:107:7: замечание: candidate: static std::false_type std::experimental::filesystem::v1::__cxx11::path::__is_path_src(const _Unknown&, ...) [with _Unknown = volatile std::experimental::filesystem::v1::__cxx11::path; std::false_type = std::integral_constant<bool, false>] <near match>
__is_path_src(const _Unknown&, ...);
^~~~~~~~~~~~~
/usr/lib/gcc/x86_64-pc-linux-gnu/7.4.0/include/g++-v7/experimental/bits/fs_path.h:107:7: замечание: conversion of argument 1 would be ill-formed:
/usr/lib/gcc/x86_64-pc-linux-gnu/7.4.0/include/g++-v7/experimental/bits/fs_path.h:119:31: ошибка: cannot bind non-const lvalue reference of type «const volatile std::experimental::filesystem::v1::__cxx11::path&» to an rvalue of type «volatile std::experimental::filesystem::v1::__cxx11::path»
: decltype(__is_path_src(std::declval<_Source>(), 0))