Control: reopen -1
please test before uploading ...
[...]
In file included from
/build/reproducible-path/cpprest-2.10.19/Release/src/websockets/client/ws_client_wspp.cpp:21:
/build/reproducible-path/cpprest-2.10.19/Release/include/pplx/threadpool.h:75:18:
error: ‘io_service’ in namespace ‘boost::asio’ does not name a type; did
you mean ‘use_service’?
75 | boost::asio::io_service& service() { return m_service; }
| ^~~~~~~~~~
| use_service
/build/reproducible-path/cpprest-2.10.19/Release/include/pplx/threadpool.h:80:18:
error: ‘io_service’ in namespace ‘boost::asio’ does not name a type; did
you mean ‘use_service’?
80 | boost::asio::io_service m_service;
| ^~~~~~~~~~
| use_service
/build/reproducible-path/cpprest-2.10.19/Release/include/pplx/threadpool.h:
In member function ‘void crossplat::threadpool::schedule(T)’:
/build/reproducible-path/cpprest-2.10.19/Release/include/pplx/threadpool.h:72:9:
error: there are no arguments to ‘service’ that depend on a template
parameter, so a declaration of ‘service’ must be available [-Wtemplate-body]
72 | service().post(task);
| ^~~~~~~
/build/reproducible-path/cpprest-2.10.19/Release/include/pplx/threadpool.h:72:9:
note: (if you use ‘-fpermissive’, G++ will accept your code, but
allowing the use of an undeclared name is deprecated)
/build/reproducible-path/cpprest-2.10.19/Release/include/pplx/threadpool.h:
In constructor ‘crossplat::threadpool::threadpool(size_t)’:
/build/reproducible-path/cpprest-2.10.19/Release/include/pplx/threadpool.h:78:38:
error: class ‘crossplat::threadpool’ does not have any field named
‘m_service’
78 | threadpool(size_t num_threads) :
m_service(static_cast<int>(num_threads)) {}
| ^~~~~~~~~
/build/reproducible-path/cpprest-2.10.19/Release/src/websockets/client/ws_client_wspp.cpp:
In lambda function:
/build/reproducible-path/cpprest-2.10.19/Release/src/websockets/client/ws_client_wspp.cpp:228:39:
error: ‘rfc2818_verification’ is not a member of ‘boost::asio::ssl’
228 | boost::asio::ssl::rfc2818_verification
rfc2818(utility::conversions::to_utf8string(m_uri.host()));
| ^~~~~~~~~~~~~~~~~~~~
/build/reproducible-path/cpprest-2.10.19/Release/src/websockets/client/ws_client_wspp.cpp:229:28:
error: ‘rfc2818’ was not declared in this scope
229 | return rfc2818(preverified, verifyCtx);
| ^~~~~~~
[ 15%] Building CXX object
Release/src/CMakeFiles/cpprest.dir/pplx/threadpool.cpp.o
cd
/build/reproducible-path/cpprest-2.10.19/obj-x86_64-linux-gnu/Release/src
&& /usr/bin/c++ -DBOOST_ATOMIC_DYN_LINK -DBOOST_ATOMIC_NO_LIB
-DBOOST_CHRONO_DYN_LINK -DBOOST_CHRONO_NO_LIB -DBOOST_CONTAINER_DYN_LINK
-DBOOST_CONTAINER_NO_LIB -DBOOST_DATE_TIME_DYN_LINK
-DBOOST_DATE_TIME_NO_LIB -DBOOST_FILESYSTEM_DYN_LINK
-DBOOST_FILESYSTEM_NO_LIB -DBOOST_RANDOM_DYN_LINK -DBOOST_RANDOM_NO_LIB
-DBOOST_REGEX_DYN_LINK -DBOOST_REGEX_NO_LIB -DBOOST_THREAD_DYN_LINK
-DBOOST_THREAD_NO_LIB -DCPPREST_FORCE_HTTP_CLIENT_ASIO
-DCPPREST_FORCE_HTTP_LISTENER_ASIO -DCPPREST_NO_SSL_LEAK_SUPPRESS
-Dcpprest_EXPORTS
-I/build/reproducible-path/cpprest-2.10.19/Release/include
-I/build/reproducible-path/cpprest-2.10.19/Release/src/pch -g -O2
-ffile-prefix-map=/build/reproducible-path/cpprest-2.10.19=.
-fstack-protector-strong -fstack-clash-protection -Wformat
-Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2
-std=c++11 -fno-strict-aliasing -fPIC -pedantic -Wall -Wextra
-Wunused-parameter -Wcast-align -Wcast-qual -Wconversion -Wformat=2
-Winit-self -Winvalid-pch -Wmissing-format-attribute
-Wmissing-include-dirs -Wpacked -Wredundant-decls -Wunreachable-code -MD
-MT Release/src/CMakeFiles/cpprest.dir/pplx/threadpool.cpp.o -MF
CMakeFiles/cpprest.dir/pplx/threadpool.cpp.o.d -o
CMakeFiles/cpprest.dir/pplx/threadpool.cpp.o -c
/build/reproducible-path/cpprest-2.10.19/Release/src/pplx/threadpool.cpp
In file included from
/build/reproducible-path/cpprest-2.10.19/Release/src/pplx/pplxlinux.cpp:17:
/build/reproducible-path/cpprest-2.10.19/Release/include/pplx/threadpool.h:75:18:
error: ‘io_service’ in namespace ‘boost::asio’ does not name a type; did
you mean ‘use_service’?
75 | boost::asio::io_service& service() { return m_service; }
| ^~~~~~~~~~
| use_service
/build/reproducible-path/cpprest-2.10.19/Release/include/pplx/threadpool.h:80:18:
error: ‘io_service’ in namespace ‘boost::asio’ does not name a type; did
you mean ‘use_service’?
80 | boost::asio::io_service m_service;
| ^~~~~~~~~~
| use_service