error of custom compile filezilla server
Posted: 2022-06-09 07:45
g++ -std=c++17 -DHAVE_CONFIG_H -I. -I../../src -I/usr/local/include -fno-exceptions -g -O2 -MT authentication/libfilezilla_common_a-file_based_authenticator.o -MD -MP -MF authentication/.deps/libfilezilla_common_a-file_based_authenticator.Tpo -c -o authentication/libfilezilla_common_a-file_based_authenticator.o `test -f 'authentication/file_based_authenticator.cpp' || echo './'`authentication/file_based_authenticator.cpp
In file included from authentication/../impersonator/client.hpp:10,
from authentication/file_based_authenticator.cpp:7:
authentication/../impersonator/channel.hpp:132:6: error:no declaration matches ‘decltype (((fz::impersonator::caller::response_retriever*)this)->then<T>(declval<void (&)(Vs& ...)>())) fz::impersonator::caller::response_retriever::tie_to(Vs& ...)’
132 | auto caller::response_retriever::tie_to(Vs &... vs) -> decltype(then<T>(std::declval<void(&)(Vs&...)>()))
| ^~~~~~
filezilla server source: FileZilla_Server_1.4.1_src.tar.bz2
gcc version: gcc-12.1.0
Dependent package:
gcc-12.1.0.tar.gz
gmp-6.2.1.tar.xz
gnutls-3.7.6.tar.xz
libfilezilla-0.37.2.tar.bz2
libtasn1-4.9.tar.gz
nettle-3.3.tar.gz
nettle-3.8.tar.gz
pugixml-1.12.tar.gz
wxWidgets-3.1.7.tar.bz2
In file included from authentication/../impersonator/client.hpp:10,
from authentication/file_based_authenticator.cpp:7:
authentication/../impersonator/channel.hpp:132:6: error:no declaration matches ‘decltype (((fz::impersonator::caller::response_retriever*)this)->then<T>(declval<void (&)(Vs& ...)>())) fz::impersonator::caller::response_retriever::tie_to(Vs& ...)’
132 | auto caller::response_retriever::tie_to(Vs &... vs) -> decltype(then<T>(std::declval<void(&)(Vs&...)>()))
| ^~~~~~
filezilla server source: FileZilla_Server_1.4.1_src.tar.bz2
gcc version: gcc-12.1.0
Dependent package:
gcc-12.1.0.tar.gz
gmp-6.2.1.tar.xz
gnutls-3.7.6.tar.xz
libfilezilla-0.37.2.tar.bz2
libtasn1-4.9.tar.gz
nettle-3.3.tar.gz
nettle-3.8.tar.gz
pugixml-1.12.tar.gz
wxWidgets-3.1.7.tar.bz2