I've download aria2c version 1.37.0, and am trying to build it. I configured it with no special options (except --prefix). At a certain point during the make, I get:
CXX RpcMethodFactory.lo
Platform.cc: In static member function 'static bool aria2::Platform::tearDown()':
Platform.cc:201:15: error: 'setClientTLSContext' is not a member of 'aria2::SocketCore'
201 | SocketCore::setClientTLSContext(nullptr);
| ^~~~~~~~~~~~~~~~~~~
Platform.cc:202:15: error: 'setServerTLSContext' is not a member of 'aria2::SocketCore'
202 | SocketCore::setServerTLSContext(nullptr);
| ^~~~~~~~~~~~~~~~~~~
make[3]: *** [Makefile:2639: Platform.lo] Error 1
My compiler is g++-13 and my distro is SLES 15 SP6.