D: [iurt_root_command] chroot Building target platforms: x86_64 Building for target x86_64 warning: /home/pterjan/rpmbuild/SPECS/cpprest.spec line 60: autopatch: no matching patches in range Installing /home/pterjan/rpmbuild/SRPMS/cpprest-2.10.19-1.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.PoIuvI + umask 022 + cd /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build + test -d /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build + /usr/bin/rm -rf /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/SPECPARTS + RPM_EC=0 ++ jobs -p + exit 0 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.TqNJcn + umask 022 + cd /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build + rm -rf cpprestsdk-2.10.19 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/cpprestsdk-2.10.19.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd cpprestsdk-2.10.19 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + rm -r Release/libs + rm ThirdPartyNotices.txt + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.heVU5W + umask 022 + cd /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd cpprestsdk-2.10.19 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + /usr/bin/cmake -Wno-dev -S Release -B build -DCMAKE_CXX_FLAGS_RELWITHDEBINFO:STRING=-DNDEBUG -DCMAKE_C_FLAGS_RELWITHDEBINFO:STRING=-DNDEBUG -DCMAKE_CXX_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_C_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_INSTALL_DO_STRIP:BOOL=OFF -DCMAKE_INSTALL_LIBDIR:PATH=lib64 -DCMAKE_INSTALL_LIBEXECDIR:PATH=libexec -DCMAKE_INSTALL_PREFIX:PATH=/usr -DCMAKE_INSTALL_RUNSTATEDIR:PATH=/run -DCMAKE_INSTALL_SYSCONFDIR:PATH=/etc -DINCLUDE_INSTALL_DIR:PATH=/usr/include -DLIB_INSTALL_DIR:PATH=/usr/lib64 -DSYSCONF_INSTALL_DIR:PATH=/etc -DSHARE_INSTALL_PREFIX:PATH=/usr/share -DCMAKE_BUILD_TYPE=RelWithDebInfo -DLIB_SUFFIX=64 -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON '-DCMAKE_MODULE_LINKER_FLAGS=-Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' -DBUILD_SHARED_LIBS:BOOL=ON -DBUILD_STATIC_LIBS:BOOL=OFF -DCMAKE_BUILD_TYPE=Release -DCPPREST_EXPORT_DIR=cmake/cpprestsdk -DWEBSOCKETPP_INCLUDE_DIR=/usr/include/websocketpp -DWERROR=OFF -DCPPREST_EXCLUDE_BROTLI=OFF -- The C compiler identification is GNU 14.2.0 -- The CXX compiler identification is GNU 14.2.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/gcc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/g++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success -- Found Threads: TRUE -- Looking for include file xlocale.h -- Looking for include file xlocale.h - not found -- Setting gcc options -- Found websocketpp version 0.8.2 on system -- Found Boost: /usr/lib64/cmake/Boost-1.87.0/BoostConfig.cmake (found version "1.87.0") found components: random system thread filesystem chrono atomic date_time regex -- Found PkgConfig: /usr/bin/pkg-config (found version "2.3.0") -- Checking for one of the modules 'openssl' -- Performing Test _SSL_LEAK_SUPPRESS_AVAILABLE -- Performing Test _SSL_LEAK_SUPPRESS_AVAILABLE - Failed -- Found ZLIB: /usr/lib64/libz.so (found version "1.3.1") -- Checking for module 'libbrotlienc' -- Found libbrotlienc, version 1.1.0 -- Checking for module 'libbrotlidec' -- Found libbrotlidec, version 1.1.0 -- Added test library httpclient_test -- Added test library httplistener_test -- Added test library json_test -- Added test library pplx_test -- Added test library streams_test -- Added test library uri_test -- Added test library utils_test -- Added test library websocketsclient_test -- Configuring done (5.2s) -- Generating done (0.1s) CMake Warning: Manually-specified variables were not used by the project: BUILD_STATIC_LIBS CMAKE_CXX_FLAGS_RELWITHDEBINFO CMAKE_C_FLAGS_RELEASE CMAKE_C_FLAGS_RELWITHDEBINFO CMAKE_INSTALL_DO_STRIP INCLUDE_INSTALL_DIR LIB_INSTALL_DIR LIB_SUFFIX SHARE_INSTALL_PREFIX SYSCONF_INSTALL_DIR -- Build files have been written to: /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/build + /usr/bin/cmake --build build -j16 --verbose Change Dir: '/home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/build' Run Build Command(s): /usr/bin/cmake -E env VERBOSE=1 /usr/bin/gmake -f Makefile -j16 /usr/bin/cmake -S/home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release -B/home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/build --check-build-system CMakeFiles/Makefile.cmake 0 /usr/bin/cmake -E cmake_progress_start /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/build/CMakeFiles /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/build//CMakeFiles/progress.marks /usr/bin/gmake -f CMakeFiles/Makefile2 all gmake[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/build' /usr/bin/gmake -f src/CMakeFiles/cpprest.dir/build.make src/CMakeFiles/cpprest.dir/depend gmake[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/build' cd /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release/src /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/build /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/build/src /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/build/src/CMakeFiles/cpprest.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/build' /usr/bin/gmake -f src/CMakeFiles/cpprest.dir/build.make src/CMakeFiles/cpprest.dir/build gmake[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/build' [ 1%] Building CXX object src/CMakeFiles/cpprest.dir/http/client/http_client.cpp.o cd /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/build/src && /usr/bin/g++ -DBOOST_ATOMIC_DYN_LINK -DBOOST_ATOMIC_NO_LIB -DBOOST_CHRONO_DYN_LINK -DBOOST_CHRONO_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_SYSTEM_DYN_LINK -DBOOST_SYSTEM_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/home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release/include -I/home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release/src/pch -I/usr/include/websocketpp -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -std=c++11 -fno-strict-aliasing -DNDEBUG -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 src/CMakeFiles/cpprest.dir/http/client/http_client.cpp.o -MF CMakeFiles/cpprest.dir/http/client/http_client.cpp.o.d -o CMakeFiles/cpprest.dir/http/client/http_client.cpp.o -c /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release/src/http/client/http_client.cpp [ 1%] Building CXX object src/CMakeFiles/cpprest.dir/http/client/http_client_msg.cpp.o cd /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/build/src && /usr/bin/g++ -DBOOST_ATOMIC_DYN_LINK -DBOOST_ATOMIC_NO_LIB -DBOOST_CHRONO_DYN_LINK -DBOOST_CHRONO_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_SYSTEM_DYN_LINK -DBOOST_SYSTEM_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/home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release/include -I/home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release/src/pch -I/usr/include/websocketpp -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -std=c++11 -fno-strict-aliasing -DNDEBUG -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 src/CMakeFiles/cpprest.dir/http/client/http_client_msg.cpp.o -MF CMakeFiles/cpprest.dir/http/client/http_client_msg.cpp.o.d -o CMakeFiles/cpprest.dir/http/client/http_client_msg.cpp.o -c /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release/src/http/client/http_client_msg.cpp [ 2%] Building CXX object src/CMakeFiles/cpprest.dir/http/common/http_compression.cpp.o cd /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/build/src && /usr/bin/g++ -DBOOST_ATOMIC_DYN_LINK -DBOOST_ATOMIC_NO_LIB -DBOOST_CHRONO_DYN_LINK -DBOOST_CHRONO_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_SYSTEM_DYN_LINK -DBOOST_SYSTEM_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/home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release/include -I/home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release/src/pch -I/usr/include/websocketpp -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -std=c++11 -fno-strict-aliasing -DNDEBUG -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 src/CMakeFiles/cpprest.dir/http/common/http_compression.cpp.o -MF CMakeFiles/cpprest.dir/http/common/http_compression.cpp.o.d -o CMakeFiles/cpprest.dir/http/common/http_compression.cpp.o -c /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release/src/http/common/http_compression.cpp [ 3%] Building CXX object src/CMakeFiles/cpprest.dir/http/common/http_helpers.cpp.o cd /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/build/src && /usr/bin/g++ -DBOOST_ATOMIC_DYN_LINK -DBOOST_ATOMIC_NO_LIB -DBOOST_CHRONO_DYN_LINK -DBOOST_CHRONO_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_SYSTEM_DYN_LINK -DBOOST_SYSTEM_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/home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release/include -I/home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release/src/pch -I/usr/include/websocketpp -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -std=c++11 -fno-strict-aliasing -DNDEBUG -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 src/CMakeFiles/cpprest.dir/http/common/http_helpers.cpp.o -MF CMakeFiles/cpprest.dir/http/common/http_helpers.cpp.o.d -o CMakeFiles/cpprest.dir/http/common/http_helpers.cpp.o -c /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release/src/http/common/http_helpers.cpp [ 3%] Building CXX object src/CMakeFiles/cpprest.dir/http/common/http_msg.cpp.o [ 4%] Building CXX object src/CMakeFiles/cpprest.dir/http/listener/http_listener.cpp.o [ 4%] Building CXX object src/CMakeFiles/cpprest.dir/http/listener/http_listener_msg.cpp.o cd /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/build/src && /usr/bin/g++ -DBOOST_ATOMIC_DYN_LINK -DBOOST_ATOMIC_NO_LIB -DBOOST_CHRONO_DYN_LINK -DBOOST_CHRONO_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_SYSTEM_DYN_LINK -DBOOST_SYSTEM_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/home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release/include -I/home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release/src/pch -I/usr/include/websocketpp -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -std=c++11 -fno-strict-aliasing -DNDEBUG -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 src/CMakeFiles/cpprest.dir/http/common/http_msg.cpp.o -MF CMakeFiles/cpprest.dir/http/common/http_msg.cpp.o.d -o CMakeFiles/cpprest.dir/http/common/http_msg.cpp.o -c /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release/src/http/common/http_msg.cpp [ 5%] Building CXX object src/CMakeFiles/cpprest.dir/http/listener/http_server_api.cpp.o cd /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/build/src && /usr/bin/g++ -DBOOST_ATOMIC_DYN_LINK -DBOOST_ATOMIC_NO_LIB -DBOOST_CHRONO_DYN_LINK -DBOOST_CHRONO_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_SYSTEM_DYN_LINK -DBOOST_SYSTEM_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/home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release/include -I/home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release/src/pch -I/usr/include/websocketpp -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -std=c++11 -fno-strict-aliasing -DNDEBUG -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 src/CMakeFiles/cpprest.dir/http/listener/http_listener.cpp.o -MF CMakeFiles/cpprest.dir/http/listener/http_listener.cpp.o.d -o CMakeFiles/cpprest.dir/http/listener/http_listener.cpp.o -c /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release/src/http/listener/http_listener.cpp [ 6%] Building CXX object src/CMakeFiles/cpprest.dir/http/oauth/oauth1.cpp.o cd /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/build/src && /usr/bin/g++ -DBOOST_ATOMIC_DYN_LINK -DBOOST_ATOMIC_NO_LIB -DBOOST_CHRONO_DYN_LINK -DBOOST_CHRONO_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_SYSTEM_DYN_LINK -DBOOST_SYSTEM_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/home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release/include -I/home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release/src/pch -I/usr/include/websocketpp -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -std=c++11 -fno-strict-aliasing -DNDEBUG -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 src/CMakeFiles/cpprest.dir/http/listener/http_listener_msg.cpp.o -MF CMakeFiles/cpprest.dir/http/listener/http_listener_msg.cpp.o.d -o CMakeFiles/cpprest.dir/http/listener/http_listener_msg.cpp.o -c /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release/src/http/listener/http_listener_msg.cpp cd /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/build/src && /usr/bin/g++ -DBOOST_ATOMIC_DYN_LINK -DBOOST_ATOMIC_NO_LIB -DBOOST_CHRONO_DYN_LINK -DBOOST_CHRONO_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_SYSTEM_DYN_LINK -DBOOST_SYSTEM_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/home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release/include -I/home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release/src/pch -I/usr/include/websocketpp -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -std=c++11 -fno-strict-aliasing -DNDEBUG -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 src/CMakeFiles/cpprest.dir/http/listener/http_server_api.cpp.o -MF CMakeFiles/cpprest.dir/http/listener/http_server_api.cpp.o.d -o CMakeFiles/cpprest.dir/http/listener/http_server_api.cpp.o -c /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release/src/http/listener/http_server_api.cpp cd /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/build/src && /usr/bin/g++ -DBOOST_ATOMIC_DYN_LINK -DBOOST_ATOMIC_NO_LIB -DBOOST_CHRONO_DYN_LINK -DBOOST_CHRONO_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_SYSTEM_DYN_LINK -DBOOST_SYSTEM_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/home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release/include -I/home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release/src/pch -I/usr/include/websocketpp -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -std=c++11 -fno-strict-aliasing -DNDEBUG -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 src/CMakeFiles/cpprest.dir/http/oauth/oauth1.cpp.o -MF CMakeFiles/cpprest.dir/http/oauth/oauth1.cpp.o.d -o CMakeFiles/cpprest.dir/http/oauth/oauth1.cpp.o -c /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release/src/http/oauth/oauth1.cpp [ 6%] Building CXX object src/CMakeFiles/cpprest.dir/http/oauth/oauth2.cpp.o cd /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/build/src && /usr/bin/g++ -DBOOST_ATOMIC_DYN_LINK -DBOOST_ATOMIC_NO_LIB -DBOOST_CHRONO_DYN_LINK -DBOOST_CHRONO_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_SYSTEM_DYN_LINK -DBOOST_SYSTEM_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/home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release/include -I/home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release/src/pch -I/usr/include/websocketpp -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -std=c++11 -fno-strict-aliasing -DNDEBUG -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 src/CMakeFiles/cpprest.dir/http/oauth/oauth2.cpp.o -MF CMakeFiles/cpprest.dir/http/oauth/oauth2.cpp.o.d -o CMakeFiles/cpprest.dir/http/oauth/oauth2.cpp.o -c /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release/src/http/oauth/oauth2.cpp [ 7%] Building CXX object src/CMakeFiles/cpprest.dir/json/json.cpp.o cd /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/build/src && /usr/bin/g++ -DBOOST_ATOMIC_DYN_LINK -DBOOST_ATOMIC_NO_LIB -DBOOST_CHRONO_DYN_LINK -DBOOST_CHRONO_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_SYSTEM_DYN_LINK -DBOOST_SYSTEM_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/home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release/include -I/home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release/src/pch -I/usr/include/websocketpp -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -std=c++11 -fno-strict-aliasing -DNDEBUG -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 src/CMakeFiles/cpprest.dir/json/json.cpp.o -MF CMakeFiles/cpprest.dir/json/json.cpp.o.d -o CMakeFiles/cpprest.dir/json/json.cpp.o -c /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release/src/json/json.cpp [ 8%] Building CXX object src/CMakeFiles/cpprest.dir/json/json_parsing.cpp.o [ 8%] Building CXX object src/CMakeFiles/cpprest.dir/json/json_serialization.cpp.o cd /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/build/src && /usr/bin/g++ -DBOOST_ATOMIC_DYN_LINK -DBOOST_ATOMIC_NO_LIB -DBOOST_CHRONO_DYN_LINK -DBOOST_CHRONO_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_SYSTEM_DYN_LINK -DBOOST_SYSTEM_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/home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release/include -I/home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release/src/pch -I/usr/include/websocketpp -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -std=c++11 -fno-strict-aliasing -DNDEBUG -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 src/CMakeFiles/cpprest.dir/json/json_parsing.cpp.o -MF CMakeFiles/cpprest.dir/json/json_parsing.cpp.o.d -o CMakeFiles/cpprest.dir/json/json_parsing.cpp.o -c /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release/src/json/json_parsing.cpp [ 9%] Building CXX object src/CMakeFiles/cpprest.dir/uri/uri.cpp.o cd /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/build/src && /usr/bin/g++ -DBOOST_ATOMIC_DYN_LINK -DBOOST_ATOMIC_NO_LIB -DBOOST_CHRONO_DYN_LINK -DBOOST_CHRONO_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_SYSTEM_DYN_LINK -DBOOST_SYSTEM_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/home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release/include -I/home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release/src/pch -I/usr/include/websocketpp -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -std=c++11 -fno-strict-aliasing -DNDEBUG -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 src/CMakeFiles/cpprest.dir/json/json_serialization.cpp.o -MF CMakeFiles/cpprest.dir/json/json_serialization.cpp.o.d -o CMakeFiles/cpprest.dir/json/json_serialization.cpp.o -c /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release/src/json/json_serialization.cpp cd /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/build/src && /usr/bin/g++ -DBOOST_ATOMIC_DYN_LINK -DBOOST_ATOMIC_NO_LIB -DBOOST_CHRONO_DYN_LINK -DBOOST_CHRONO_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_SYSTEM_DYN_LINK -DBOOST_SYSTEM_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/home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release/include -I/home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release/src/pch -I/usr/include/websocketpp -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -std=c++11 -fno-strict-aliasing -DNDEBUG -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 src/CMakeFiles/cpprest.dir/uri/uri.cpp.o -MF CMakeFiles/cpprest.dir/uri/uri.cpp.o.d -o CMakeFiles/cpprest.dir/uri/uri.cpp.o -c /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release/src/uri/uri.cpp [ 10%] Building CXX object src/CMakeFiles/cpprest.dir/utilities/asyncrt_utils.cpp.o cd /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/build/src && /usr/bin/g++ -DBOOST_ATOMIC_DYN_LINK -DBOOST_ATOMIC_NO_LIB -DBOOST_CHRONO_DYN_LINK -DBOOST_CHRONO_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_SYSTEM_DYN_LINK -DBOOST_SYSTEM_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/home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release/include -I/home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release/src/pch -I/usr/include/websocketpp -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -std=c++11 -fno-strict-aliasing -DNDEBUG -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 src/CMakeFiles/cpprest.dir/utilities/asyncrt_utils.cpp.o -MF CMakeFiles/cpprest.dir/utilities/asyncrt_utils.cpp.o.d -o CMakeFiles/cpprest.dir/utilities/asyncrt_utils.cpp.o -c /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release/src/utilities/asyncrt_utils.cpp [ 10%] Building CXX object src/CMakeFiles/cpprest.dir/uri/uri_builder.cpp.o cd /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/build/src && /usr/bin/g++ -DBOOST_ATOMIC_DYN_LINK -DBOOST_ATOMIC_NO_LIB -DBOOST_CHRONO_DYN_LINK -DBOOST_CHRONO_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_SYSTEM_DYN_LINK -DBOOST_SYSTEM_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/home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release/include -I/home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release/src/pch -I/usr/include/websocketpp -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -std=c++11 -fno-strict-aliasing -DNDEBUG -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 src/CMakeFiles/cpprest.dir/uri/uri_builder.cpp.o -MF CMakeFiles/cpprest.dir/uri/uri_builder.cpp.o.d -o CMakeFiles/cpprest.dir/uri/uri_builder.cpp.o -c /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release/src/uri/uri_builder.cpp [ 11%] Building CXX object src/CMakeFiles/cpprest.dir/utilities/base64.cpp.o cd /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/build/src && /usr/bin/g++ -DBOOST_ATOMIC_DYN_LINK -DBOOST_ATOMIC_NO_LIB -DBOOST_CHRONO_DYN_LINK -DBOOST_CHRONO_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_SYSTEM_DYN_LINK -DBOOST_SYSTEM_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/home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release/include -I/home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release/src/pch -I/usr/include/websocketpp -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -std=c++11 -fno-strict-aliasing -DNDEBUG -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 src/CMakeFiles/cpprest.dir/utilities/base64.cpp.o -MF CMakeFiles/cpprest.dir/utilities/base64.cpp.o.d -o CMakeFiles/cpprest.dir/utilities/base64.cpp.o -c /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release/src/utilities/base64.cpp [ 11%] Building CXX object src/CMakeFiles/cpprest.dir/utilities/web_utilities.cpp.o cd /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/build/src && /usr/bin/g++ -DBOOST_ATOMIC_DYN_LINK -DBOOST_ATOMIC_NO_LIB -DBOOST_CHRONO_DYN_LINK -DBOOST_CHRONO_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_SYSTEM_DYN_LINK -DBOOST_SYSTEM_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/home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release/include -I/home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release/src/pch -I/usr/include/websocketpp -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -std=c++11 -fno-strict-aliasing -DNDEBUG -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 src/CMakeFiles/cpprest.dir/utilities/web_utilities.cpp.o -MF CMakeFiles/cpprest.dir/utilities/web_utilities.cpp.o.d -o CMakeFiles/cpprest.dir/utilities/web_utilities.cpp.o -c /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release/src/utilities/web_utilities.cpp [ 12%] Building CXX object src/CMakeFiles/cpprest.dir/websockets/client/ws_msg.cpp.o cd /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/build/src && /usr/bin/g++ -DBOOST_ATOMIC_DYN_LINK -DBOOST_ATOMIC_NO_LIB -DBOOST_CHRONO_DYN_LINK -DBOOST_CHRONO_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_SYSTEM_DYN_LINK -DBOOST_SYSTEM_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/home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release/include -I/home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release/src/pch -I/usr/include/websocketpp -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -std=c++11 -fno-strict-aliasing -DNDEBUG -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 src/CMakeFiles/cpprest.dir/websockets/client/ws_msg.cpp.o -MF CMakeFiles/cpprest.dir/websockets/client/ws_msg.cpp.o.d -o CMakeFiles/cpprest.dir/websockets/client/ws_msg.cpp.o -c /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release/src/websockets/client/ws_msg.cpp [ 13%] Building CXX object src/CMakeFiles/cpprest.dir/websockets/client/ws_client.cpp.o cd /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/build/src && /usr/bin/g++ -DBOOST_ATOMIC_DYN_LINK -DBOOST_ATOMIC_NO_LIB -DBOOST_CHRONO_DYN_LINK -DBOOST_CHRONO_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_SYSTEM_DYN_LINK -DBOOST_SYSTEM_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/home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release/include -I/home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release/src/pch -I/usr/include/websocketpp -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -std=c++11 -fno-strict-aliasing -DNDEBUG -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 src/CMakeFiles/cpprest.dir/websockets/client/ws_client.cpp.o -MF CMakeFiles/cpprest.dir/websockets/client/ws_client.cpp.o.d -o CMakeFiles/cpprest.dir/websockets/client/ws_client.cpp.o -c /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release/src/websockets/client/ws_client.cpp /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release/src/http/common/http_helpers.cpp: In function 'size_t web::http::details::chunked_encoding::add_chunked_delimiters(uint8_t*, size_t, size_t)': /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release/src/http/common/http_helpers.cpp:91:43: warning: '%8zX' directive output may be truncated writing between 8 and 16 bytes into a region of size 9 [-Wformat-truncation=] 91 | snprintf(buffer, sizeof(buffer), "%8zX", bytes_read); | ^~~~ /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release/src/http/common/http_helpers.cpp:91:42: note: directive argument in the range [1, 18446744073709551615] 91 | snprintf(buffer, sizeof(buffer), "%8zX", bytes_read); | ^~~~~~ In file included from /usr/include/stdio.h:970, from /usr/include/c++/14/cstdio:42, from /usr/include/c++/14/ext/string_conversions.h:45, from /usr/include/c++/14/bits/basic_string.h:4154, from /usr/include/c++/14/string:54, from /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release/src/pch/stdafx.h:52, from /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release/src/http/common/http_helpers.cpp:14: In function 'int snprintf(char*, size_t, const char*, ...)', inlined from 'size_t web::http::details::chunked_encoding::add_chunked_delimiters(uint8_t*, size_t, size_t)' at /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release/src/http/common/http_helpers.cpp:91:17: /usr/include/bits/stdio2.h:68:35: note: '__builtin___snprintf_chk' output between 9 and 17 bytes into a destination of size 9 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ [ 13%] Building CXX object src/CMakeFiles/cpprest.dir/websockets/client/ws_client_wspp.cpp.o cd /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/build/src && /usr/bin/g++ -DBOOST_ATOMIC_DYN_LINK -DBOOST_ATOMIC_NO_LIB -DBOOST_CHRONO_DYN_LINK -DBOOST_CHRONO_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_SYSTEM_DYN_LINK -DBOOST_SYSTEM_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/home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release/include -I/home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release/src/pch -I/usr/include/websocketpp -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -std=c++11 -fno-strict-aliasing -DNDEBUG -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 src/CMakeFiles/cpprest.dir/websockets/client/ws_client_wspp.cpp.o -MF CMakeFiles/cpprest.dir/websockets/client/ws_client_wspp.cpp.o.d -o CMakeFiles/cpprest.dir/websockets/client/ws_client_wspp.cpp.o -c /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release/src/websockets/client/ws_client_wspp.cpp [ 14%] Building CXX object src/CMakeFiles/cpprest.dir/pplx/pplxlinux.cpp.o cd /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/build/src && /usr/bin/g++ -DBOOST_ATOMIC_DYN_LINK -DBOOST_ATOMIC_NO_LIB -DBOOST_CHRONO_DYN_LINK -DBOOST_CHRONO_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_SYSTEM_DYN_LINK -DBOOST_SYSTEM_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/home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release/include -I/home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release/src/pch -I/usr/include/websocketpp -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -std=c++11 -fno-strict-aliasing -DNDEBUG -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 src/CMakeFiles/cpprest.dir/pplx/pplxlinux.cpp.o -MF CMakeFiles/cpprest.dir/pplx/pplxlinux.cpp.o.d -o CMakeFiles/cpprest.dir/pplx/pplxlinux.cpp.o -c /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release/src/pplx/pplxlinux.cpp [ 15%] Building CXX object src/CMakeFiles/cpprest.dir/pplx/pplx.cpp.o cd /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/build/src && /usr/bin/g++ -DBOOST_ATOMIC_DYN_LINK -DBOOST_ATOMIC_NO_LIB -DBOOST_CHRONO_DYN_LINK -DBOOST_CHRONO_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_SYSTEM_DYN_LINK -DBOOST_SYSTEM_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/home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release/include -I/home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release/src/pch -I/usr/include/websocketpp -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -std=c++11 -fno-strict-aliasing -DNDEBUG -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 src/CMakeFiles/cpprest.dir/pplx/pplx.cpp.o -MF CMakeFiles/cpprest.dir/pplx/pplx.cpp.o.d -o CMakeFiles/cpprest.dir/pplx/pplx.cpp.o -c /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release/src/pplx/pplx.cpp [ 15%] Building CXX object src/CMakeFiles/cpprest.dir/pplx/threadpool.cpp.o cd /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/build/src && /usr/bin/g++ -DBOOST_ATOMIC_DYN_LINK -DBOOST_ATOMIC_NO_LIB -DBOOST_CHRONO_DYN_LINK -DBOOST_CHRONO_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_SYSTEM_DYN_LINK -DBOOST_SYSTEM_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/home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release/include -I/home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release/src/pch -I/usr/include/websocketpp -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -std=c++11 -fno-strict-aliasing -DNDEBUG -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 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 /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release/src/pplx/threadpool.cpp [ 16%] Building CXX object src/CMakeFiles/cpprest.dir/http/client/http_client_asio.cpp.o cd /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/build/src && /usr/bin/g++ -DBOOST_ATOMIC_DYN_LINK -DBOOST_ATOMIC_NO_LIB -DBOOST_CHRONO_DYN_LINK -DBOOST_CHRONO_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_SYSTEM_DYN_LINK -DBOOST_SYSTEM_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/home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release/include -I/home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release/src/pch -I/usr/include/websocketpp -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -std=c++11 -fno-strict-aliasing -DNDEBUG -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 src/CMakeFiles/cpprest.dir/http/client/http_client_asio.cpp.o -MF CMakeFiles/cpprest.dir/http/client/http_client_asio.cpp.o.d -o CMakeFiles/cpprest.dir/http/client/http_client_asio.cpp.o -c /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release/src/http/client/http_client_asio.cpp [ 16%] Building CXX object src/CMakeFiles/cpprest.dir/http/client/x509_cert_utilities.cpp.o cd /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/build/src && /usr/bin/g++ -DBOOST_ATOMIC_DYN_LINK -DBOOST_ATOMIC_NO_LIB -DBOOST_CHRONO_DYN_LINK -DBOOST_CHRONO_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_SYSTEM_DYN_LINK -DBOOST_SYSTEM_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/home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release/include -I/home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release/src/pch -I/usr/include/websocketpp -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -std=c++11 -fno-strict-aliasing -DNDEBUG -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 src/CMakeFiles/cpprest.dir/http/client/x509_cert_utilities.cpp.o -MF CMakeFiles/cpprest.dir/http/client/x509_cert_utilities.cpp.o.d -o CMakeFiles/cpprest.dir/http/client/x509_cert_utilities.cpp.o -c /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release/src/http/client/x509_cert_utilities.cpp [ 17%] Building CXX object src/CMakeFiles/cpprest.dir/streams/fileio_posix.cpp.o cd /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/build/src && /usr/bin/g++ -DBOOST_ATOMIC_DYN_LINK -DBOOST_ATOMIC_NO_LIB -DBOOST_CHRONO_DYN_LINK -DBOOST_CHRONO_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_SYSTEM_DYN_LINK -DBOOST_SYSTEM_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/home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release/include -I/home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release/src/pch -I/usr/include/websocketpp -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -std=c++11 -fno-strict-aliasing -DNDEBUG -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 src/CMakeFiles/cpprest.dir/streams/fileio_posix.cpp.o -MF CMakeFiles/cpprest.dir/streams/fileio_posix.cpp.o.d -o CMakeFiles/cpprest.dir/streams/fileio_posix.cpp.o -c /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release/src/streams/fileio_posix.cpp [ 18%] Building CXX object src/CMakeFiles/cpprest.dir/http/listener/http_server_asio.cpp.o cd /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/build/src && /usr/bin/g++ -DBOOST_ATOMIC_DYN_LINK -DBOOST_ATOMIC_NO_LIB -DBOOST_CHRONO_DYN_LINK -DBOOST_CHRONO_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_SYSTEM_DYN_LINK -DBOOST_SYSTEM_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/home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release/include -I/home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release/src/pch -I/usr/include/websocketpp -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -std=c++11 -fno-strict-aliasing -DNDEBUG -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 src/CMakeFiles/cpprest.dir/http/listener/http_server_asio.cpp.o -MF CMakeFiles/cpprest.dir/http/listener/http_server_asio.cpp.o.d -o CMakeFiles/cpprest.dir/http/listener/http_server_asio.cpp.o -c /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release/src/http/listener/http_server_asio.cpp In file included from /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release/src/websockets/client/ws_client_wspp.cpp:21: /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-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 /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-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 /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release/include/pplx/threadpool.h: In member function 'void crossplat::threadpool::schedule(T)': /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-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 [-fpermissive] 72 | service().post(task); | ^~~~~~~ /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-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) /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release/include/pplx/threadpool.h: In constructor 'crossplat::threadpool::threadpool(size_t)': /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-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(num_threads)) {} | ^~~~~~~~~ In file included from /usr/include/websocketpp/transport/asio/endpoint.hpp:32, from /usr/include/websocketpp/config/asio_client.hpp:32, from /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release/src/websockets/client/ws_client_wspp.cpp:50: /usr/include/websocketpp/transport/asio/connection.hpp: At global scope: /usr/include/websocketpp/transport/asio/connection.hpp:89:24: error: 'io_service' in namespace 'websocketpp::lib::asio' does not name a type 89 | typedef lib::asio::io_service * io_service_ptr; | ^~~~~~~~~~ /usr/include/websocketpp/transport/asio/connection.hpp:91:40: error: 'io_service' is not a member of 'websocketpp::lib::asio' 91 | typedef lib::shared_ptr strand_ptr; | ^~~~~~~~~~ /usr/include/websocketpp/transport/asio/connection.hpp:91:40: error: 'io_service' is not a member of 'websocketpp::lib::asio' /usr/include/websocketpp/transport/asio/connection.hpp:91:58: error: template argument 1 is invalid 91 | typedef lib::shared_ptr strand_ptr; | ^ /usr/include/websocketpp/transport/asio/connection.hpp:461:32: error: 'io_service_ptr' has not been declared 461 | lib::error_code init_asio (io_service_ptr io_service) { | ^~~~~~~~~~~~~~ /usr/include/websocketpp/transport/asio/connection.hpp:1175:5: error: 'io_service_ptr' does not name a type 1175 | io_service_ptr m_io_service; | ^~~~~~~~~~~~~~ /usr/include/websocketpp/transport/asio/connection.hpp: In member function 'websocketpp::transport::asio::connection::timer_ptr websocketpp::transport::asio::connection::set_timer(long int, websocketpp::transport::timer_handler)': /usr/include/websocketpp/transport/asio/connection.hpp:316:18: error: 'm_io_service' was not declared in this scope; did you mean 'm_is_server'? 316 | *m_io_service, | ^~~~~~~~~~~~ | m_is_server /usr/include/websocketpp/transport/asio/connection.hpp:321:43: error: base operand of '->' is not a pointer 321 | new_timer->async_wait(m_strand->wrap(lib::bind( | ^~ /usr/include/websocketpp/transport/asio/connection.hpp: In member function 'std::error_code websocketpp::transport::asio::connection::init_asio(int)': /usr/include/websocketpp/transport/asio/connection.hpp:462:9: error: 'm_io_service' was not declared in this scope; did you mean 'io_service'? 462 | m_io_service = io_service; | ^~~~~~~~~~~~ | io_service /usr/include/websocketpp/transport/asio/connection.hpp:465:22: error: request for member 'reset' in '((websocketpp::transport::asio::connection*)this)->websocketpp::transport::asio::connection::m_strand', which is of non-class type 'websocketpp::transport::asio::connection::strand_ptr' {aka 'int'} 465 | m_strand.reset(new lib::asio::io_service::strand(*io_service)); | ^~~~~ /usr/include/websocketpp/transport/asio/connection.hpp:465:43: error: 'io_service' in namespace 'websocketpp::lib::asio' does not name a type 465 | m_strand.reset(new lib::asio::io_service::strand(*io_service)); | ^~~~~~~~~~ /usr/include/websocketpp/transport/asio/connection.hpp: In member function 'void websocketpp::transport::asio::connection::handle_post_init(timer_ptr, websocketpp::transport::init_handler, const std::error_code&)': /usr/include/websocketpp/transport/asio/connection.hpp:576:58: error: 'using std::__shared_ptr_access, __gnu_cxx::_S_atomic, false, false>::element_type = class boost::asio::basic_waitable_timer' {aka 'class boost::asio::basic_waitable_timer'} has no member named 'expires_from_now' 576 | (post_timer && lib::asio::is_neg(post_timer->expires_from_now()))) | ^~~~~~~~~~~~~~~~ /usr/include/websocketpp/transport/asio/connection.hpp: In member function 'void websocketpp::transport::asio::connection::proxy_write(websocketpp::transport::init_handler)': /usr/include/websocketpp/transport/asio/connection.hpp:632:25: error: base operand of '->' is not a pointer 632 | m_strand->wrap(lib::bind( | ^~ /usr/include/websocketpp/transport/asio/connection.hpp: In member function 'void websocketpp::transport::asio::connection::proxy_read(websocketpp::transport::init_handler)': /usr/include/websocketpp/transport/asio/connection.hpp:716:25: error: base operand of '->' is not a pointer 716 | m_strand->wrap(lib::bind( | ^~ /usr/include/websocketpp/transport/asio/connection.hpp: In member function 'void websocketpp::transport::asio::connection::async_read_at_least(size_t, char*, size_t, websocketpp::transport::read_handler)': /usr/include/websocketpp/transport/asio/connection.hpp:844:25: error: base operand of '->' is not a pointer 844 | m_strand->wrap(make_custom_alloc_handler( | ^~ /usr/include/websocketpp/transport/asio/connection.hpp: In member function 'void websocketpp::transport::asio::connection::async_write(const char*, size_t, websocketpp::transport::write_handler)': /usr/include/websocketpp/transport/asio/connection.hpp:913:25: error: base operand of '->' is not a pointer 913 | m_strand->wrap(make_custom_alloc_handler( | ^~ /usr/include/websocketpp/transport/asio/connection.hpp: In member function 'void websocketpp::transport::asio::connection::async_write(const std::vector&, websocketpp::transport::write_handler)': /usr/include/websocketpp/transport/asio/connection.hpp:950:25: error: base operand of '->' is not a pointer 950 | m_strand->wrap(make_custom_alloc_handler( | ^~ /usr/include/websocketpp/transport/asio/connection.hpp: In member function 'std::error_code websocketpp::transport::asio::connection::interrupt(websocketpp::transport::interrupt_handler)': /usr/include/websocketpp/transport/asio/connection.hpp:1015:13: error: 'm_io_service' was not declared in this scope; did you mean 'm_is_server'? 1015 | m_io_service->post(m_strand->wrap(handler)); | ^~~~~~~~~~~~ | m_is_server /usr/include/websocketpp/transport/asio/connection.hpp:1015:40: error: base operand of '->' is not a pointer 1015 | m_io_service->post(m_strand->wrap(handler)); | ^~ /usr/include/websocketpp/transport/asio/connection.hpp:1017:13: error: 'm_io_service' was not declared in this scope; did you mean 'm_is_server'? 1017 | m_io_service->post(handler); | ^~~~~~~~~~~~ | m_is_server /usr/include/websocketpp/transport/asio/connection.hpp: In member function 'std::error_code websocketpp::transport::asio::connection::dispatch(websocketpp::transport::dispatch_handler)': /usr/include/websocketpp/transport/asio/connection.hpp:1024:13: error: 'm_io_service' was not declared in this scope; did you mean 'm_is_server'? 1024 | m_io_service->post(m_strand->wrap(handler)); | ^~~~~~~~~~~~ | m_is_server /usr/include/websocketpp/transport/asio/connection.hpp:1024:40: error: base operand of '->' is not a pointer 1024 | m_io_service->post(m_strand->wrap(handler)); | ^~ /usr/include/websocketpp/transport/asio/connection.hpp:1026:13: error: 'm_io_service' was not declared in this scope; did you mean 'm_is_server'? 1026 | m_io_service->post(handler); | ^~~~~~~~~~~~ | m_is_server /usr/include/websocketpp/transport/asio/connection.hpp: In member function 'void websocketpp::transport::asio::connection::handle_async_shutdown(timer_ptr, websocketpp::transport::shutdown_handler, const boost::system::error_code&)': /usr/include/websocketpp/transport/asio/connection.hpp:1098:47: error: 'using std::__shared_ptr_access, __gnu_cxx::_S_atomic, false, false>::element_type = class boost::asio::basic_waitable_timer' {aka 'class boost::asio::basic_waitable_timer'} has no member named 'expires_from_now' 1098 | lib::asio::is_neg(shutdown_timer->expires_from_now())) | ^~~~~~~~~~~~~~~~ In file included from /usr/include/websocketpp/transport/asio/endpoint.hpp:33: /usr/include/websocketpp/transport/asio/security/none.hpp: At global scope: /usr/include/websocketpp/transport/asio/security/none.hpp:66:24: error: 'io_service' in namespace 'websocketpp::lib::asio' does not name a type 66 | typedef lib::asio::io_service* io_service_ptr; | ^~~~~~~~~~ /usr/include/websocketpp/transport/asio/security/none.hpp:68:40: error: 'io_service' is not a member of 'websocketpp::lib::asio' 68 | typedef lib::shared_ptr strand_ptr; | ^~~~~~~~~~ /usr/include/websocketpp/transport/asio/security/none.hpp:68:40: error: 'io_service' is not a member of 'websocketpp::lib::asio' /usr/include/websocketpp/transport/asio/security/none.hpp:68:58: error: template argument 1 is invalid 68 | typedef lib::shared_ptr strand_ptr; | ^ /usr/include/websocketpp/transport/asio/security/none.hpp:165:32: error: 'io_service_ptr' has not been declared 165 | lib::error_code init_asio (io_service_ptr service, strand_ptr, bool) | ^~~~~~~~~~~~~~ /usr/include/websocketpp/transport/asio/security/none.hpp: In member function 'std::error_code websocketpp::transport::asio::basic_socket::connection::init_asio(int, strand_ptr, bool)': /usr/include/websocketpp/transport/asio/security/none.hpp:171:55: error: invalid type argument of unary '*' (have 'int') 171 | m_socket.reset(new lib::asio::ip::tcp::socket(*service)); | ^~~~~~~~ /usr/include/websocketpp/transport/asio/endpoint.hpp: At global scope: /usr/include/websocketpp/transport/asio/endpoint.hpp:81:24: error: 'io_service' in namespace 'websocketpp::lib::asio' does not name a type 81 | typedef lib::asio::io_service * io_service_ptr; | ^~~~~~~~~~ /usr/include/websocketpp/transport/asio/endpoint.hpp:89:40: error: 'io_service' is not a member of 'websocketpp::lib::asio' 89 | typedef lib::shared_ptr work_ptr; | ^~~~~~~~~~ /usr/include/websocketpp/transport/asio/endpoint.hpp:89:40: error: 'io_service' is not a member of 'websocketpp::lib::asio' /usr/include/websocketpp/transport/asio/endpoint.hpp:89:56: error: template argument 1 is invalid 89 | typedef lib::shared_ptr work_ptr; | ^ /usr/include/websocketpp/transport/asio/endpoint.hpp:185:20: error: 'io_service_ptr' has not been declared 185 | void init_asio(io_service_ptr ptr, lib::error_code & ec) { | ^~~~~~~~~~~~~~ /usr/include/websocketpp/transport/asio/endpoint.hpp:212:20: error: 'io_service_ptr' has not been declared 212 | void init_asio(io_service_ptr ptr) { | ^~~~~~~~~~~~~~ /usr/include/websocketpp/transport/asio/endpoint.hpp:378:16: error: 'io_service' in namespace 'websocketpp::lib::asio' does not name a type 378 | lib::asio::io_service & get_io_service() { | ^~~~~~~~~~ /usr/include/websocketpp/transport/asio/endpoint.hpp:969:39: error: 'boost::asio::ip::resolver::iterator' has not been declared 969 | lib::asio::ip::tcp::resolver::iterator iterator) | ^~~~~~~~ /usr/include/websocketpp/transport/asio/endpoint.hpp:1161:5: error: 'io_service_ptr' does not name a type 1161 | io_service_ptr m_io_service; | ^~~~~~~~~~~~~~ /usr/include/websocketpp/transport/asio/endpoint.hpp: In constructor 'websocketpp::transport::asio::endpoint::endpoint()': /usr/include/websocketpp/transport/asio/endpoint.hpp:96:9: error: class 'websocketpp::transport::asio::endpoint' does not have any field named 'm_io_service' 96 | : m_io_service(NULL) | ^~~~~~~~~~~~ /usr/include/websocketpp/transport/asio/endpoint.hpp:98:50: error: 'max_connections' is not a member of 'boost::asio::socket_base' 98 | , m_listen_backlog(lib::asio::socket_base::max_connections) | ^~~~~~~~~~~~~~~ /usr/include/websocketpp/transport/asio/endpoint.hpp: In destructor 'websocketpp::transport::asio::endpoint::~endpoint()': /usr/include/websocketpp/transport/asio/endpoint.hpp:111:16: error: request for member 'reset' in '((websocketpp::transport::asio::endpoint*)this)->websocketpp::transport::asio::endpoint::m_work', which is of non-class type 'websocketpp::transport::asio::endpoint::work_ptr' {aka 'int'} 111 | m_work.reset(); | ^~~~~ /usr/include/websocketpp/transport/asio/endpoint.hpp:113:20: error: 'm_io_service' was not declared in this scope 113 | delete m_io_service; | ^~~~~~~~~~~~ /usr/include/websocketpp/transport/asio/endpoint.hpp: In constructor 'websocketpp::transport::asio::endpoint::endpoint(websocketpp::transport::asio::endpoint&&)': /usr/include/websocketpp/transport/asio/endpoint.hpp:135:9: error: class 'websocketpp::transport::asio::endpoint' does not have any field named 'm_io_service' 135 | , m_io_service(src.m_io_service) | ^~~~~~~~~~~~ /usr/include/websocketpp/transport/asio/endpoint.hpp:138:50: error: 'max_connections' is not a member of 'boost::asio::socket_base' 138 | , m_listen_backlog(lib::asio::socket_base::max_connections) | ^~~~~~~~~~~~~~~ /usr/include/websocketpp/transport/asio/endpoint.hpp: In member function 'void websocketpp::transport::asio::endpoint::init_asio(int, std::error_code&)': /usr/include/websocketpp/transport/asio/endpoint.hpp:196:9: error: 'm_io_service' was not declared in this scope 196 | m_io_service = ptr; | ^~~~~~~~~~~~ /usr/include/websocketpp/transport/asio/endpoint.hpp: In member function 'void websocketpp::transport::asio::endpoint::init_asio(std::error_code&)': /usr/include/websocketpp/transport/asio/endpoint.hpp:233:36: error: 'io_service' is not a member of 'websocketpp::lib::asio' 233 | lib::unique_ptr service(new lib::asio::io_service()); | ^~~~~~~~~~ /usr/include/websocketpp/transport/asio/endpoint.hpp:233:36: error: 'io_service' is not a member of 'websocketpp::lib::asio' /usr/include/websocketpp/transport/asio/endpoint.hpp:233:46: error: template argument 1 is invalid 233 | lib::unique_ptr service(new lib::asio::io_service()); | ^ /usr/include/websocketpp/transport/asio/endpoint.hpp:233:46: error: template argument 2 is invalid /usr/include/websocketpp/transport/asio/endpoint.hpp:233:60: error: expected type-specifier 233 | lib::unique_ptr service(new lib::asio::io_service()); | ^~~ /usr/include/websocketpp/transport/asio/endpoint.hpp:237:27: error: request for member 'get' in 'service', which is of non-class type 'int' 237 | init_asio(service.get(), ec); | ^~~ /usr/include/websocketpp/transport/asio/endpoint.hpp:238:27: error: request for member 'release' in 'service', which is of non-class type 'int' 238 | if( !ec ) service.release(); // Call was successful, transfer ownership | ^~~~~~~ /usr/include/websocketpp/transport/asio/endpoint.hpp: In member function 'void websocketpp::transport::asio::endpoint::init_asio()': /usr/include/websocketpp/transport/asio/endpoint.hpp:255:36: error: 'io_service' is not a member of 'websocketpp::lib::asio' 255 | lib::unique_ptr service(new lib::asio::io_service()); | ^~~~~~~~~~ /usr/include/websocketpp/transport/asio/endpoint.hpp:255:36: error: 'io_service' is not a member of 'websocketpp::lib::asio' /usr/include/websocketpp/transport/asio/endpoint.hpp:255:46: error: template argument 1 is invalid 255 | lib::unique_ptr service(new lib::asio::io_service()); | ^ /usr/include/websocketpp/transport/asio/endpoint.hpp:255:46: error: template argument 2 is invalid /usr/include/websocketpp/transport/asio/endpoint.hpp:255:60: error: expected type-specifier 255 | lib::unique_ptr service(new lib::asio::io_service()); | ^~~ /usr/include/websocketpp/transport/asio/endpoint.hpp:259:28: error: request for member 'get' in 'service', which is of non-class type 'int' 259 | init_asio( service.get() ); | ^~~ /usr/include/websocketpp/transport/asio/endpoint.hpp:261:17: error: request for member 'release' in 'service', which is of non-class type 'int' 261 | service.release(); | ^~~~~~~ /usr/include/websocketpp/transport/asio/endpoint.hpp: In member function 'void websocketpp::transport::asio::endpoint::listen(const std::string&, const std::string&, std::error_code&)': /usr/include/websocketpp/transport/asio/endpoint.hpp:560:26: error: 'm_io_service' was not declared in this scope 560 | tcp::resolver r(*m_io_service); | ^~~~~~~~~~~~ /usr/include/websocketpp/transport/asio/endpoint.hpp:561:24: error: 'query' is not a member of 'boost::asio::ip::tcp::resolver' {aka 'boost::asio::ip::basic_resolver'} 561 | tcp::resolver::query query(host, service); | ^~~~~ /usr/include/websocketpp/transport/asio/endpoint.hpp:562:24: error: 'iterator' is not a member of 'boost::asio::ip::tcp::resolver' {aka 'boost::asio::ip::basic_resolver'} 562 | tcp::resolver::iterator endpoint_iterator = r.resolve(query); | ^~~~~~~~ /usr/include/websocketpp/transport/asio/endpoint.hpp:563:24: error: 'iterator' is not a member of 'boost::asio::ip::tcp::resolver' {aka 'boost::asio::ip::basic_resolver'} 563 | tcp::resolver::iterator end; | ^~~~~~~~ /usr/include/websocketpp/transport/asio/endpoint.hpp:564:13: error: 'endpoint_iterator' was not declared in this scope 564 | if (endpoint_iterator == end) { | ^~~~~~~~~~~~~~~~~ /usr/include/websocketpp/transport/asio/endpoint.hpp:564:34: error: 'end' was not declared in this scope; did you mean 'std::end'? 564 | if (endpoint_iterator == end) { | ^~~ | std::end In file included from /usr/include/c++/14/string:53, from /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release/src/pch/stdafx.h:52, from /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release/src/websockets/client/ws_client_wspp.cpp:14: /usr/include/c++/14/bits/range_access.h:106:5: note: 'std::end' declared here 106 | end(_Tp (&__arr)[_Nm]) noexcept | ^~~ /usr/include/websocketpp/transport/asio/endpoint.hpp:570:17: error: 'endpoint_iterator' was not declared in this scope 570 | listen(*endpoint_iterator,ec); | ^~~~~~~~~~~~~~~~~ /usr/include/websocketpp/transport/asio/endpoint.hpp: In member function 'std::size_t websocketpp::transport::asio::endpoint::run()': /usr/include/websocketpp/transport/asio/endpoint.hpp:641:16: error: 'm_io_service' was not declared in this scope 641 | return m_io_service->run(); | ^~~~~~~~~~~~ /usr/include/websocketpp/transport/asio/endpoint.hpp: In member function 'std::size_t websocketpp::transport::asio::endpoint::run_one()': /usr/include/websocketpp/transport/asio/endpoint.hpp:649:16: error: 'm_io_service' was not declared in this scope 649 | return m_io_service->run_one(); | ^~~~~~~~~~~~ /usr/include/websocketpp/transport/asio/endpoint.hpp: In member function 'void websocketpp::transport::asio::endpoint::stop()': /usr/include/websocketpp/transport/asio/endpoint.hpp:654:9: error: 'm_io_service' was not declared in this scope 654 | m_io_service->stop(); | ^~~~~~~~~~~~ /usr/include/websocketpp/transport/asio/endpoint.hpp: In member function 'std::size_t websocketpp::transport::asio::endpoint::poll()': /usr/include/websocketpp/transport/asio/endpoint.hpp:659:16: error: 'm_io_service' was not declared in this scope 659 | return m_io_service->poll(); | ^~~~~~~~~~~~ In file included from /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release/src/pplx/pplxlinux.cpp:17: /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-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 /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-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 /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release/include/pplx/threadpool.h: In member function 'void crossplat::threadpool::schedule(T)': /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-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 [-fpermissive] 72 | service().post(task); | ^~~~~~~ /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-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) /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release/include/pplx/threadpool.h: In constructor 'crossplat::threadpool::threadpool(size_t)': /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-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(num_threads)) {} | ^~~~~~~~~ /usr/include/websocketpp/transport/asio/endpoint.hpp: In member function 'std::size_t websocketpp::transport::asio::endpoint::poll_one()': /usr/include/websocketpp/transport/asio/endpoint.hpp:664:16: error: 'm_io_service' was not declared in this scope 664 | return m_io_service->poll_one(); | ^~~~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release/src/pplx/pplxlinux.cpp: In member function 'virtual void pplx::details::linux_scheduler::schedule(pplx::TaskProc_t, void*)': /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release/src/pplx/pplxlinux.cpp:38:46: error: 'class crossplat::threadpool' has no member named 'service' 38 | crossplat::threadpool::shared_instance().service().post(boost::bind(proc, param)); | ^~~~~~~ /usr/include/websocketpp/transport/asio/endpoint.hpp: In member function 'void websocketpp::transport::asio::endpoint::reset()': /usr/include/websocketpp/transport/asio/endpoint.hpp:669:9: error: 'm_io_service' was not declared in this scope 669 | m_io_service->reset(); | ^~~~~~~~~~~~ /usr/include/websocketpp/transport/asio/endpoint.hpp: In member function 'bool websocketpp::transport::asio::endpoint::stopped() const': /usr/include/websocketpp/transport/asio/endpoint.hpp:674:16: error: 'm_io_service' was not declared in this scope 674 | return m_io_service->stopped(); | ^~~~~~~~~~~~ /usr/include/websocketpp/transport/asio/endpoint.hpp: In member function 'void websocketpp::transport::asio::endpoint::start_perpetual()': /usr/include/websocketpp/transport/asio/endpoint.hpp:690:16: error: request for member 'reset' in '((websocketpp::transport::asio::endpoint*)this)->websocketpp::transport::asio::endpoint::m_work', which is of non-class type 'websocketpp::transport::asio::endpoint::work_ptr' {aka 'int'} 690 | m_work.reset(new lib::asio::io_service::work(*m_io_service)); | ^~~~~ /usr/include/websocketpp/transport/asio/endpoint.hpp:690:37: error: 'io_service' in namespace 'websocketpp::lib::asio' does not name a type 690 | m_work.reset(new lib::asio::io_service::work(*m_io_service)); | ^~~~~~~~~~ /usr/include/websocketpp/transport/asio/endpoint.hpp: In member function 'void websocketpp::transport::asio::endpoint::stop_perpetual()': /usr/include/websocketpp/transport/asio/endpoint.hpp:702:16: error: request for member 'reset' in '((websocketpp::transport::asio::endpoint*)this)->websocketpp::transport::asio::endpoint::m_work', which is of non-class type 'websocketpp::transport::asio::endpoint::work_ptr' {aka 'int'} 702 | m_work.reset(); | ^~~~~ /usr/include/websocketpp/transport/asio/endpoint.hpp: In member function 'websocketpp::transport::asio::endpoint::timer_ptr websocketpp::transport::asio::endpoint::set_timer(long int, websocketpp::transport::timer_handler)': /usr/include/websocketpp/transport/asio/endpoint.hpp:719:14: error: 'm_io_service' was not declared in this scope 719 | *m_io_service, | ^~~~~~~~~~~~ /usr/include/websocketpp/transport/asio/endpoint.hpp: In member function 'void websocketpp::transport::asio::endpoint::async_connect(transport_con_ptr, websocketpp::uri_ptr, websocketpp::transport::connect_handler)': /usr/include/websocketpp/transport/asio/endpoint.hpp:854:64: error: 'm_io_service' was not declared in this scope 854 | m_resolver.reset(new lib::asio::ip::tcp::resolver(*m_io_service)); | ^~~~~~~~~~~~ /usr/include/websocketpp/transport/asio/endpoint.hpp:886:24: error: 'query' is not a member of 'boost::asio::ip::tcp::resolver' {aka 'boost::asio::ip::basic_resolver'} 886 | tcp::resolver::query query(host,port); | ^~~~~ /usr/include/websocketpp/transport/asio/endpoint.hpp:908:17: error: 'query' was not declared in this scope 908 | query, | ^~~~~ /usr/include/websocketpp/transport/asio/endpoint.hpp:908:17: note: suggested alternatives: In file included from /usr/include/boost/asio/execution/blocking.hpp:23, from /usr/include/boost/asio/execution/any_executor.hpp:31, from /usr/include/boost/asio/execution.hpp:19, from /usr/include/boost/asio/system_executor.hpp:20, from /usr/include/boost/asio/associated_executor.hpp:24, from /usr/include/boost/asio/detail/initiate_dispatch.hpp:20, from /usr/include/boost/asio/detail/wrapped_handler.hpp:20, from /usr/include/boost/asio/io_context.hpp:26, from /usr/include/boost/asio/ssl/context.hpp:22, from /usr/include/boost/asio/ssl.hpp:18, from /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release/include/cpprest/http_client.h:68, from /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release/src/pch/stdafx.h:99: /usr/include/boost/asio/query.hpp:114:6: note: 'boost_asio_query_fn::query' 114 | void query(); | ^~~~~ /usr/include/boost/asio/query.hpp:263:3: note: 'boost::asio::{anonymous}::query' 263 | query = boost_asio_query_fn::static_instance<>::instance; | ^~~~~ /usr/include/websocketpp/transport/asio/endpoint.hpp:921:17: error: 'query' was not declared in this scope 921 | query, | ^~~~~ /usr/include/websocketpp/transport/asio/endpoint.hpp:921:17: note: suggested alternatives: /usr/include/boost/asio/query.hpp:114:6: note: 'boost_asio_query_fn::query' 114 | void query(); | ^~~~~ /usr/include/boost/asio/query.hpp:263:3: note: 'boost::asio::{anonymous}::query' 263 | query = boost_asio_query_fn::static_instance<>::instance; | ^~~~~ /usr/include/websocketpp/transport/asio/endpoint.hpp: In member function 'void websocketpp::transport::asio::endpoint::handle_resolve(transport_con_ptr, timer_ptr, websocketpp::transport::connect_handler, const boost::system::error_code&, int)': /usr/include/websocketpp/transport/asio/endpoint.hpp:972:42: error: 'using std::__shared_ptr_access, __gnu_cxx::_S_atomic, false, false>::element_type = class boost::asio::basic_waitable_timer' {aka 'class boost::asio::basic_waitable_timer'} has no member named 'expires_from_now' 972 | lib::asio::is_neg(dns_timer->expires_from_now())) | ^~~~~~~~~~~~~~~~ /usr/include/websocketpp/transport/asio/endpoint.hpp:990:43: error: 'iterator' is not a member of 'boost::asio::ip::tcp::resolver' {aka 'boost::asio::ip::basic_resolver'} 990 | lib::asio::ip::tcp::resolver::iterator it, end; | ^~~~~~~~ /usr/include/websocketpp/transport/asio/endpoint.hpp:991:18: error: 'it' was not declared in this scope; did you mean 'int'? 991 | for (it = iterator; it != end; ++it) { | ^~ | int /usr/include/websocketpp/transport/asio/endpoint.hpp:991:39: error: 'end' was not declared in this scope; did you mean 'std::end'? 991 | for (it = iterator; it != end; ++it) { | ^~~ | std::end /usr/include/c++/14/bits/range_access.h:106:5: note: 'std::end' declared here 106 | end(_Tp (&__arr)[_Nm]) noexcept | ^~~ /usr/include/websocketpp/transport/asio/endpoint.hpp: In member function 'void websocketpp::transport::asio::endpoint::handle_connect(transport_con_ptr, timer_ptr, websocketpp::transport::connect_handler, const boost::system::error_code&)': /usr/include/websocketpp/transport/asio/endpoint.hpp:1080:42: error: 'using std::__shared_ptr_access, __gnu_cxx::_S_atomic, false, false>::element_type = class boost::asio::basic_waitable_timer' {aka 'class boost::asio::basic_waitable_timer'} has no member named 'expires_from_now' 1080 | lib::asio::is_neg(con_timer->expires_from_now())) | ^~~~~~~~~~~~~~~~ In file included from /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release/src/http/listener/http_server_asio.cpp:37: /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-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 /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-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 /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release/include/pplx/threadpool.h: In member function 'void crossplat::threadpool::schedule(T)': /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-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 [-fpermissive] 72 | service().post(task); | ^~~~~~~ /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-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) /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release/include/pplx/threadpool.h: In constructor 'crossplat::threadpool::threadpool(size_t)': /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-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(num_threads)) {} | ^~~~~~~~~ /usr/include/websocketpp/transport/asio/endpoint.hpp: In member function 'std::error_code websocketpp::transport::asio::endpoint::init(transport_con_ptr)': /usr/include/websocketpp/transport/asio/endpoint.hpp:1122:30: error: 'm_io_service' was not declared in this scope 1122 | ec = tcon->init_asio(m_io_service); | ^~~~~~~~~~~~ In file included from /usr/include/websocketpp/config/asio_client.hpp:33: /usr/include/websocketpp/transport/asio/security/tls.hpp: At global scope: /usr/include/websocketpp/transport/asio/security/tls.hpp:75:24: error: 'io_service' in namespace 'websocketpp::lib::asio' does not name a type 75 | typedef lib::asio::io_service * io_service_ptr; | ^~~~~~~~~~ /usr/include/websocketpp/transport/asio/security/tls.hpp:77:40: error: 'io_service' is not a member of 'websocketpp::lib::asio' 77 | typedef lib::shared_ptr strand_ptr; | ^~~~~~~~~~ /usr/include/websocketpp/transport/asio/security/tls.hpp:77:40: error: 'io_service' is not a member of 'websocketpp::lib::asio' /usr/include/websocketpp/transport/asio/security/tls.hpp:77:58: error: template argument 1 is invalid 77 | typedef lib::shared_ptr strand_ptr; | ^ /usr/include/websocketpp/transport/asio/security/tls.hpp:185:32: error: 'io_service_ptr' has not been declared 185 | lib::error_code init_asio (io_service_ptr service, strand_ptr strand, | ^~~~~~~~~~~~~~ /usr/include/websocketpp/transport/asio/security/tls.hpp:384:5: error: 'io_service_ptr' does not name a type 384 | io_service_ptr m_io_service; | ^~~~~~~~~~~~~~ /usr/include/websocketpp/transport/asio/security/tls.hpp: In member function 'std::error_code websocketpp::transport::asio::tls_socket::connection::init_asio(int, strand_ptr, bool)': /usr/include/websocketpp/transport/asio/security/tls.hpp:196:40: error: invalid type argument of unary '*' (have 'int') 196 | m_socket.reset(new socket_type(*service, *m_context)); | ^~~~~~~~ /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release/src/http/listener/http_server_asio.cpp: In member function 'void {anonymous}::hostport_listener::start()': /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release/src/http/listener/http_server_asio.cpp:520:62: error: 'class crossplat::threadpool' has no member named 'service' 520 | auto& service = crossplat::threadpool::shared_instance().service(); | ^~~~~~~ /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release/src/http/listener/http_server_asio.cpp:523:20: error: 'query' is not a member of 'boost::asio::ip::tcp::resolver' {aka 'boost::asio::ip::basic_resolver'} 523 | tcp::resolver::query query = | ^~~~~ /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release/src/http/listener/http_server_asio.cpp:527:47: error: no matching function for call to 'boost::asio::ip::basic_resolver::resolve(const boost_asio_query_fn::impl&)' 527 | tcp::endpoint endpoint = *resolver.resolve(query); | ~~~~~~~~~~~~~~~~^~~~~~~ In file included from /usr/include/boost/asio.hpp:125, from /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release/src/http/listener/http_server_asio.cpp:28: /usr/include/boost/asio/ip/basic_resolver.hpp:261:16: note: candidate: 'boost::asio::ip::basic_resolver::results_type boost::asio::ip::basic_resolver::resolve(const std::string&, const std::string&) [with InternetProtocol = boost::asio::ip::tcp; Executor = boost::asio::any_io_executor; results_type = boost::asio::ip::basic_resolver_results; std::string = std::__cxx11::basic_string]' 261 | results_type resolve(BOOST_ASIO_STRING_VIEW_PARAM host, | ^~~~~~~ /usr/include/boost/asio/ip/basic_resolver.hpp:261:16: note: candidate expects 2 arguments, 1 provided /usr/include/boost/asio/ip/basic_resolver.hpp:300:16: note: candidate: 'boost::asio::ip::basic_resolver::results_type boost::asio::ip::basic_resolver::resolve(const std::string&, const std::string&, boost::system::error_code&) [with InternetProtocol = boost::asio::ip::tcp; Executor = boost::asio::any_io_executor; results_type = boost::asio::ip::basic_resolver_results; std::string = std::__cxx11::basic_string]' 300 | results_type resolve(BOOST_ASIO_STRING_VIEW_PARAM host, | ^~~~~~~ /usr/include/boost/asio/ip/basic_resolver.hpp:300:16: note: candidate expects 3 arguments, 1 provided /usr/include/boost/asio/ip/basic_resolver.hpp:344:16: note: candidate: 'boost::asio::ip::basic_resolver::results_type boost::asio::ip::basic_resolver::resolve(const std::string&, const std::string&, boost::asio::ip::resolver_base::flags) [with InternetProtocol = boost::asio::ip::tcp; Executor = boost::asio::any_io_executor; results_type = boost::asio::ip::basic_resolver_results; std::string = std::__cxx11::basic_string]' 344 | results_type resolve(BOOST_ASIO_STRING_VIEW_PARAM host, | ^~~~~~~ /usr/include/boost/asio/ip/basic_resolver.hpp:344:16: note: candidate expects 3 arguments, 1 provided /usr/include/boost/asio/ip/basic_resolver.hpp:394:16: note: candidate: 'boost::asio::ip::basic_resolver::results_type boost::asio::ip::basic_resolver::resolve(const std::string&, const std::string&, boost::asio::ip::resolver_base::flags, boost::system::error_code&) [with InternetProtocol = boost::asio::ip::tcp; Executor = boost::asio::any_io_executor; results_type = boost::asio::ip::basic_resolver_results; std::string = std::__cxx11::basic_string]' 394 | results_type resolve(BOOST_ASIO_STRING_VIEW_PARAM host, | ^~~~~~~ /usr/include/boost/asio/ip/basic_resolver.hpp:394:16: note: candidate expects 4 arguments, 1 provided /usr/include/boost/asio/ip/basic_resolver.hpp:439:16: note: candidate: 'boost::asio::ip::basic_resolver::results_type boost::asio::ip::basic_resolver::resolve(const protocol_type&, const std::string&, const std::string&) [with InternetProtocol = boost::asio::ip::tcp; Executor = boost::asio::any_io_executor; results_type = boost::asio::ip::basic_resolver_results; protocol_type = boost::asio::ip::tcp; std::string = std::__cxx11::basic_string]' 439 | results_type resolve(const protocol_type& protocol, | ^~~~~~~ /usr/include/boost/asio/ip/basic_resolver.hpp:439:16: note: candidate expects 3 arguments, 1 provided /usr/include/boost/asio/ip/basic_resolver.hpp:481:16: note: candidate: 'boost::asio::ip::basic_resolver::results_type boost::asio::ip::basic_resolver::resolve(const protocol_type&, const std::string&, const std::string&, boost::system::error_code&) [with InternetProtocol = boost::asio::ip::tcp; Executor = boost::asio::any_io_executor; results_type = boost::asio::ip::basic_resolver_results; protocol_type = boost::asio::ip::tcp; std::string = std::__cxx11::basic_string]' 481 | results_type resolve(const protocol_type& protocol, | ^~~~~~~ /usr/include/boost/asio/ip/basic_resolver.hpp:481:16: note: candidate expects 4 arguments, 1 provided /usr/include/boost/asio/ip/basic_resolver.hpp:529:16: note: candidate: 'boost::asio::ip::basic_resolver::results_type boost::asio::ip::basic_resolver::resolve(const protocol_type&, const std::string&, const std::string&, boost::asio::ip::resolver_base::flags) [with InternetProtocol = boost::asio::ip::tcp; Executor = boost::asio::any_io_executor; results_type = boost::asio::ip::basic_resolver_results; protocol_type = boost::asio::ip::tcp; std::string = std::__cxx11::basic_string]' 529 | results_type resolve(const protocol_type& protocol, | ^~~~~~~ /usr/include/boost/asio/ip/basic_resolver.hpp:529:16: note: candidate expects 4 arguments, 1 provided /usr/include/boost/asio/ip/basic_resolver.hpp:584:16: note: candidate: 'boost::asio::ip::basic_resolver::results_type boost::asio::ip::basic_resolver::resolve(const protocol_type&, const std::string&, const std::string&, boost::asio::ip::resolver_base::flags, boost::system::error_code&) [with InternetProtocol = boost::asio::ip::tcp; Executor = boost::asio::any_io_executor; results_type = boost::asio::ip::basic_resolver_results; protocol_type = boost::asio::ip::tcp; std::string = std::__cxx11::basic_string]' 584 | results_type resolve(const protocol_type& protocol, | ^~~~~~~ /usr/include/boost/asio/ip/basic_resolver.hpp:584:16: note: candidate expects 5 arguments, 1 provided /usr/include/boost/asio/ip/basic_resolver.hpp:889:16: note: candidate: 'boost::asio::ip::basic_resolver::results_type boost::asio::ip::basic_resolver::resolve(const endpoint_type&) [with InternetProtocol = boost::asio::ip::tcp; Executor = boost::asio::any_io_executor; results_type = boost::asio::ip::basic_resolver_results; endpoint_type = boost::asio::ip::basic_endpoint]' 889 | results_type resolve(const endpoint_type& e) | ^~~~~~~ /usr/include/boost/asio/ip/basic_resolver.hpp:889:45: note: no known conversion for argument 1 from 'const boost_asio_query_fn::impl' to 'const boost::asio::ip::basic_resolver::endpoint_type&' {aka 'const boost::asio::ip::basic_endpoint&'} 889 | results_type resolve(const endpoint_type& e) | ~~~~~~~~~~~~~~~~~~~~~^ /usr/include/boost/asio/ip/basic_resolver.hpp:912:16: note: candidate: 'boost::asio::ip::basic_resolver::results_type boost::asio::ip::basic_resolver::resolve(const endpoint_type&, boost::system::error_code&) [with InternetProtocol = boost::asio::ip::tcp; Executor = boost::asio::any_io_executor; results_type = boost::asio::ip::basic_resolver_results; endpoint_type = boost::asio::ip::basic_endpoint]' 912 | results_type resolve(const endpoint_type& e, boost::system::error_code& ec) | ^~~~~~~ /usr/include/boost/asio/ip/basic_resolver.hpp:912:16: note: candidate expects 2 arguments, 1 provided /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release/src/http/listener/http_server_asio.cpp:533:66: error: 'max_connections' is not a member of 'boost::asio::socket_base' 533 | m_acceptor->listen(0 != m_backlog ? m_backlog : socket_base::max_connections); | ^~~~~~~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release/src/http/listener/http_server_asio.cpp: In lambda function: /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release/src/http/listener/http_server_asio.cpp:538:50: error: 'socket' is not captured 538 | std::unique_ptr usocket(socket); | ^~~~~~ /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release/src/http/listener/http_server_asio.cpp:537:52: note: the lambda has no capture-default 537 | m_acceptor->async_accept(*socket, [this, socket](const boost::system::error_code& ec) { | ^ /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release/src/http/listener/http_server_asio.cpp:535:10: note: 'socket' declared here 535 | auto socket = new ip::tcp::socket(service); | ^~~~~~ /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release/src/http/listener/http_server_asio.cpp: In member function 'void {anonymous}::hostport_listener::on_accept(std::unique_ptr >, const boost::system::error_code&)': /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release/src/http/listener/http_server_asio.cpp:624:87: error: 'class crossplat::threadpool' has no member named 'service' 624 | auto newSocket = new ip::tcp::socket(crossplat::threadpool::shared_instance().service()); | ^~~~~~~ /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release/src/http/listener/http_server_asio.cpp: In lambda function: /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release/src/http/listener/http_server_asio.cpp:627:54: error: 'newSocket' is not captured 627 | std::unique_ptr usocket(newSocket); | ^~~~~~~~~ /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release/src/http/listener/http_server_asio.cpp:626:62: note: the lambda has no capture-default 626 | m_acceptor->async_accept(*newSocket, [this, newSocket](const boost::system::error_code& ec) { | ^ /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release/src/http/listener/http_server_asio.cpp:624:14: note: 'newSocket' declared here 624 | auto newSocket = new ip::tcp::socket(crossplat::threadpool::shared_instance().service()); | ^~~~~~~~~ /usr/include/websocketpp/transport/asio/security/tls.hpp:202:9: error: 'm_io_service' was not declared in this scope; did you mean 'm_is_server'? 202 | m_io_service = service; | ^~~~~~~~~~~~ | m_is_server /usr/include/websocketpp/transport/asio/security/tls.hpp: In member function 'void websocketpp::transport::asio::tls_socket::connection::post_init(websocketpp::transport::init_handler)': /usr/include/websocketpp/transport/asio/security/tls.hpp:269:25: error: base operand of '->' is not a pointer 269 | m_strand->wrap(lib::bind( | ^~ /usr/include/websocketpp/transport/asio/security/tls.hpp: In member function 'void websocketpp::transport::asio::tls_socket::connection::async_shutdown(websocketpp::transport::asio::socket::shutdown_handler)': /usr/include/websocketpp/transport/asio/security/tls.hpp:329:46: error: base operand of '->' is not a pointer 329 | m_socket->async_shutdown(m_strand->wrap(callback)); | ^~ /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release/src/http/listener/http_server_asio.cpp: In member function '{anonymous}::will_deref_t {anonymous}::asio_server_connection::handle_chunked_body(const boost::system::error_code&, int)': /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release/src/http/listener/http_server_asio.cpp:884:30: error: 'buffer_cast' was not declared in this scope 884 | writebuf.putn_nocopy(buffer_cast(m_request_buf.data()), toWrite) | ^~~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release/src/websockets/client/ws_client_wspp.cpp: In lambda function: /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-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())); | ^~~~~~~~~~~~~~~~~~~~ In file included from /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release/src/pplx/threadpool.cpp:8: /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-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 /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release/src/http/listener/http_server_asio.cpp:884:42: error: expected primary-expression before 'const' 884 | writebuf.putn_nocopy(buffer_cast(m_request_buf.data()), toWrite) | ^~~~~ /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-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 /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release/include/pplx/threadpool.h: In member function 'void crossplat::threadpool::schedule(T)': /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-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 [-fpermissive] 72 | service().post(task); | ^~~~~~~ /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-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) /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release/include/pplx/threadpool.h: In constructor 'crossplat::threadpool::threadpool(size_t)': /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-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(num_threads)) {} | ^~~~~~~~~ /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release/src/http/listener/http_server_asio.cpp: In member function '{anonymous}::will_deref_t {anonymous}::asio_server_connection::handle_body(const boost::system::error_code&)': /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release/src/http/listener/http_server_asio.cpp:916:39: error: 'buffer_cast' is not a member of 'boost::asio'; did you mean 'buffer_copy'? 916 | .putn_nocopy(boost::asio::buffer_cast(m_request_buf.data()), | ^~~~~~~~~~~ | buffer_copy /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release/src/http/listener/http_server_asio.cpp:916:51: error: expected primary-expression before 'const' 916 | .putn_nocopy(boost::asio::buffer_cast(m_request_buf.data()), | ^~~~~ /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release/src/pplx/threadpool.cpp: At global scope: /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release/src/pplx/threadpool.cpp:87:18: error: 'io_service' in namespace 'boost::asio' does not name a type; did you mean 'use_service'? 87 | boost::asio::io_service::work m_work; | ^~~~~~~~~~ | use_service /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release/src/pplx/threadpool.cpp: In constructor '{anonymous}::threadpool_impl::threadpool_impl(size_t)': /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release/src/pplx/threadpool.cpp:40:59: error: class '{anonymous}::threadpool_impl' does not have any field named 'm_work' 40 | threadpool_impl(size_t n) : crossplat::threadpool(n), m_work(m_service) | ^~~~~~ /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-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); | ^~~~~~~ /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release/src/pplx/threadpool.cpp:40:66: error: 'm_service' was not declared in this scope 40 | threadpool_impl(size_t n) : crossplat::threadpool(n), m_work(m_service) | ^~~~~~~~~ /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release/src/pplx/threadpool.cpp: In destructor 'virtual {anonymous}::threadpool_impl::~threadpool_impl()': /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release/src/pplx/threadpool.cpp:51:9: error: 'm_service' was not declared in this scope 51 | m_service.stop(); | ^~~~~~~~~ /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release/src/http/listener/http_server_asio.cpp: In member function '{anonymous}::will_deref_and_erase_t {anonymous}::asio_server_connection::handle_write_chunked_response(const web::http::http_response&, const boost::system::error_code&)': /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release/src/http/listener/http_server_asio.cpp:1137:18: error: 'buffer_cast' was not declared in this scope 1137 | readbuf.getn(buffer_cast(membuf) + chunked_encoding::data_offset, ChunkSize) | ^~~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release/src/http/listener/http_server_asio.cpp:1137:37: error: expected primary-expression before '*' token 1137 | readbuf.getn(buffer_cast(membuf) + chunked_encoding::data_offset, ChunkSize) | ^ /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release/src/http/listener/http_server_asio.cpp:1137:38: error: expected primary-expression before '>' token 1137 | readbuf.getn(buffer_cast(membuf) + chunked_encoding::data_offset, ChunkSize) | ^ /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release/src/http/listener/http_server_asio.cpp: In lambda function: /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release/src/http/listener/http_server_asio.cpp:1149:36: error: expected primary-expression before '*' token 1149 | buffer_cast(membuf), ChunkSize + chunked_encoding::additional_encoding_space, actualSize); | ^ /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release/src/http/listener/http_server_asio.cpp:1149:37: error: expected primary-expression before '>' token 1149 | buffer_cast(membuf), ChunkSize + chunked_encoding::additional_encoding_space, actualSize); | ^ /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release/src/pplx/threadpool.cpp: In static member function 'static void* {anonymous}::threadpool_impl::thread_start(void*)': /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release/src/pplx/threadpool.cpp:79:16: error: 'struct {anonymous}::threadpool_impl' has no member named 'm_service' 79 | _this->m_service.run(); | ^~~~~~~~~ /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release/src/http/listener/http_server_asio.cpp: In member function '{anonymous}::will_deref_and_erase_t {anonymous}::asio_server_connection::handle_write_large_response(const web::http::http_response&, const boost::system::error_code&)': /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release/src/http/listener/http_server_asio.cpp:1170:18: error: 'buffer_cast' was not declared in this scope 1170 | readbuf.getn(buffer_cast(m_response_buf.prepare(readBytes)), readBytes) | ^~~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release/src/http/listener/http_server_asio.cpp:1170:37: error: expected primary-expression before '*' token 1170 | readbuf.getn(buffer_cast(m_response_buf.prepare(readBytes)), readBytes) | ^ /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release/src/http/listener/http_server_asio.cpp:1170:38: error: expected primary-expression before '>' token 1170 | readbuf.getn(buffer_cast(m_response_buf.prepare(readBytes)), readBytes) | ^ In file included from /usr/include/boost/smart_ptr/detail/deprecated_macros.hpp:8, from /usr/include/boost/smart_ptr/detail/sp_counted_base.hpp:22, from /usr/include/boost/smart_ptr/detail/shared_count.hpp:22, from /usr/include/boost/smart_ptr/shared_ptr.hpp:17, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/date_time/time_clock.hpp:17, from /usr/include/boost/thread/thread_time.hpp:9, from /usr/include/boost/thread/detail/platform_time.hpp:11, from /usr/include/boost/thread/pthread/condition_variable.hpp:9, from /usr/include/boost/thread/condition_variable.hpp:16, from /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release/src/pch/stdafx.h:61, from /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release/src/http/client/http_client_asio.cpp:16: /usr/include/boost/bind.hpp:36:1: note: '#pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.' 36 | BOOST_PRAGMA_MESSAGE( | ^~~~~~~~~~~~~~~~~~~~ In file included from /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release/src/http/client/http_client_asio.cpp:46: /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-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 /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-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 /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release/include/pplx/threadpool.h: In member function 'void crossplat::threadpool::schedule(T)': /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-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 [-fpermissive] 72 | service().post(task); | ^~~~~~~ /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-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) /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release/include/pplx/threadpool.h: In constructor 'crossplat::threadpool::threadpool(size_t)': /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-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(num_threads)) {} | ^~~~~~~~~ /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release/src/http/client/http_client_asio.cpp: At global scope: /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release/src/http/client/http_client_asio.cpp:149:44: error: expected ')' before '&' token 149 | asio_connection(boost::asio::io_service& io_service) | ~ ^ | ) /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release/src/http/client/http_client_asio.cpp: In constructor 'web::http::client::details::asio_connection_pool::asio_connection_pool()': /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release/src/http/client/http_client_asio.cpp:382:71: error: 'class crossplat::threadpool' has no member named 'service' 382 | , m_pool_epoch_timer(crossplat::threadpool::shared_instance().service()) | ^~~~~~~ /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release/src/http/client/http_client_asio.cpp: In member function 'std::shared_ptr web::http::client::details::asio_client::obtain_connection(const web::http::http_request&)': /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release/src/http/client/http_client_asio.cpp:493:95: error: 'class crossplat::threadpool' has no member named 'service' 493 | conn = std::make_shared(crossplat::threadpool::shared_instance().service()); | ^~~~~~~ /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release/src/http/client/http_client_asio.cpp: At global scope: /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release/src/http/client/http_client_asio.cpp:595:81: error: 'boost::asio::ip::resolver::iterator' has not been declared 595 | void handle_resolve(const boost::system::error_code& ec, tcp::resolver::iterator endpoints) | ^~~~~~~~ /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release/src/http/client/http_client_asio.cpp:613:85: error: 'boost::asio::ip::resolver::iterator' has not been declared 613 | void handle_tcp_connect(const boost::system::error_code& ec, tcp::resolver::iterator endpoints) | ^~~~~~~~ /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release/src/http/client/http_client_asio.cpp:1009:77: error: 'boost::asio::ip::resolver::iterator' has not been declared 1009 | void handle_connect(const boost::system::error_code& ec, tcp::resolver::iterator endpoints) | ^~~~~~~~ /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release/src/http/client/http_client_asio.cpp:1048:77: error: 'boost::asio::ip::resolver::iterator' has not been declared 1048 | void handle_resolve(const boost::system::error_code& ec, tcp::resolver::iterator endpoints) | ^~~~~~~~ /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release/src/http/client/http_client_asio.cpp: In constructor 'web::http::client::details::asio_context::asio_context(const std::shared_ptr&, web::http::http_request&, const std::shared_ptr&)': /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release/src/http/client/http_client_asio.cpp:521:63: error: 'class crossplat::threadpool' has no member named 'service' 521 | , m_resolver(crossplat::threadpool::shared_instance().service()) | ^~~~~~~ /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release/src/http/client/http_client_asio.cpp: In member function 'void web::http::client::details::asio_context::ssl_proxy_tunnel::start_proxy_connect()': /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release/src/http/client/http_client_asio.cpp:584:28: error: 'query' is not a member of 'boost::asio::ip::tcp::resolver' {aka 'boost::asio::ip::basic_resolver'} 584 | tcp::resolver::query query(utility::conversions::to_utf8string(proxy_host), to_string(proxy_port)); | ^~~~~ /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release/src/http/client/http_client_asio.cpp:587:49: error: 'query' was not declared in this scope 587 | m_context->m_resolver.async_resolve(query, | ^~~~~ /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release/src/http/client/http_client_asio.cpp:587:49: note: suggested alternatives: In file included from /usr/include/boost/asio/execution/blocking.hpp:23, from /usr/include/boost/asio/execution/any_executor.hpp:31, from /usr/include/boost/asio/execution.hpp:19, from /usr/include/boost/asio/system_executor.hpp:20, from /usr/include/boost/asio/associated_executor.hpp:24, from /usr/include/boost/asio/detail/initiate_dispatch.hpp:20, from /usr/include/boost/asio/detail/wrapped_handler.hpp:20, from /usr/include/boost/asio/io_context.hpp:26, from /usr/include/boost/asio/ssl/context.hpp:22, from /usr/include/boost/asio/ssl.hpp:18, from /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release/include/cpprest/http_client.h:68, from /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release/src/pch/stdafx.h:99: /usr/include/boost/asio/query.hpp:114:6: note: 'boost_asio_query_fn::query' 114 | void query(); | ^~~~~ /usr/include/boost/asio/query.hpp:263:3: note: 'boost::asio::{anonymous}::query' 263 | query = boost_asio_query_fn::static_instance<>::instance; | ^~~~~ /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release/src/http/client/http_client_asio.cpp:561:17: warning: unused variable 'proxy_port' [-Wunused-variable] 561 | int proxy_port = proxy_uri.port() == -1 ? 8080 : proxy_uri.port(); | ^~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release/src/http/client/http_client_asio.cpp: In member function 'void web::http::client::details::asio_context::ssl_proxy_tunnel::handle_resolve(const boost::system::error_code&, int)': /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release/src/http/client/http_client_asio.cpp:604:33: error: invalid type argument of unary '*' (have 'int') 604 | auto endpoint = *endpoints; | ^~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release/src/http/client/http_client_asio.cpp: In member function 'void web::http::client::details::asio_context::ssl_proxy_tunnel::handle_tcp_connect(const boost::system::error_code&, int)': /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release/src/http/client/http_client_asio.cpp:624:50: error: 'iterator' is not a member of 'boost::asio::ip::tcp::resolver' {aka 'boost::asio::ip::basic_resolver'} 624 | else if (endpoints == tcp::resolver::iterator()) | ^~~~~~~~ /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release/src/http/client/http_client_asio.cpp:644:33: error: invalid type argument of unary '*' (have 'int') 644 | auto endpoint = *endpoints; | ^~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release/src/http/client/http_client_asio.cpp: In lambda function: /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release/src/http/client/http_client_asio.cpp:888:32: error: 'query' is not a member of 'boost::asio::ip::tcp::resolver' {aka 'boost::asio::ip::basic_resolver'} 888 | tcp::resolver::query query(tcp_host, to_string(tcp_port)); | ^~~~~ /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release/src/http/client/http_client_asio.cpp:889:47: error: 'query' was not declared in this scope 889 | ctx->m_resolver.async_resolve(query, | ^~~~~ /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release/src/http/client/http_client_asio.cpp:889:47: note: suggested alternatives: /usr/include/boost/asio/query.hpp:114:6: note: 'boost_asio_query_fn::query' 114 | void query(); | ^~~~~ /usr/include/boost/asio/query.hpp:263:3: note: 'boost::asio::{anonymous}::query' 263 | query = boost_asio_query_fn::static_instance<>::instance; | ^~~~~ /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release/src/http/client/http_client_asio.cpp:886:22: warning: unused variable 'tcp_port' [-Wunused-variable] 886 | auto tcp_port = proxy_type == http_proxy_type::http ? proxy_port : port; | ^~~~~~~~ /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release/src/http/client/http_client_asio.cpp: In member function 'void web::http::client::details::asio_context::handle_connect(const boost::system::error_code&, int)': /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release/src/http/client/http_client_asio.cpp:1022:46: error: 'iterator' is not a member of 'boost::asio::ip::tcp::resolver' {aka 'boost::asio::ip::basic_resolver'} 1022 | else if (endpoints == tcp::resolver::iterator()) | ^~~~~~~~ /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release/src/http/client/http_client_asio.cpp:1040:29: error: invalid type argument of unary '*' (have 'int') 1040 | auto endpoint = *endpoints; | ^~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release/src/http/client/http_client_asio.cpp: In member function 'void web::http::client::details::asio_context::handle_resolve(const boost::system::error_code&, int)': /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release/src/http/client/http_client_asio.cpp:1054:46: error: 'iterator' is not a member of 'boost::asio::ip::tcp::resolver' {aka 'boost::asio::ip::basic_resolver'} 1054 | else if (endpoints == tcp::resolver::iterator()) | ^~~~~~~~ /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release/src/http/client/http_client_asio.cpp:1061:29: error: invalid type argument of unary '*' (have 'int') 1061 | auto endpoint = *endpoints; | ^~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release/src/http/client/http_client_asio.cpp: In member function 'bool web::http::client::details::asio_context::handle_cert_verification(bool, boost::asio::ssl::verify_context&)': /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release/src/http/client/http_client_asio.cpp:1137:27: error: 'rfc2818_verification' is not a member of 'boost::asio::ssl' 1137 | boost::asio::ssl::rfc2818_verification rfc2818(m_connection->cn_hostname()); | ^~~~~~~~~~~~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release/src/http/client/http_client_asio.cpp:1138:16: error: 'rfc2818' was not declared in this scope 1138 | return rfc2818(preverified, verifyCtx); | ^~~~~~~ /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release/src/http/client/http_client_asio.cpp: In member function 'void web::http::client::details::asio_context::handle_write_chunked_body(const boost::system::error_code&)': /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release/src/http/client/http_client_asio.cpp:1185:37: error: 'buffer_cast' is not a member of 'boost::asio'; did you mean 'buffer_copy'? 1185 | uint8_t* buf = boost::asio::buffer_cast( | ^~~~~~~~~~~ | buffer_copy /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release/src/http/client/http_client_asio.cpp:1185:56: error: expected primary-expression before '*' token 1185 | uint8_t* buf = boost::asio::buffer_cast( | ^ /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release/src/http/client/http_client_asio.cpp:1185:57: error: expected primary-expression before '>' token 1185 | uint8_t* buf = boost::asio::buffer_cast( | ^ /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release/src/http/client/http_client_asio.cpp: In member function 'void web::http::client::details::asio_context::handle_write_large_body(const boost::system::error_code&)': /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release/src/http/client/http_client_asio.cpp:1250:35: error: 'buffer_cast' is not a member of 'boost::asio'; did you mean 'buffer_copy'? 1250 | readbuf.getn(boost::asio::buffer_cast(m_body_buf.prepare(readSize)), readSize) | ^~~~~~~~~~~ | buffer_copy /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release/src/http/client/http_client_asio.cpp:1250:54: error: expected primary-expression before '*' token 1250 | readbuf.getn(boost::asio::buffer_cast(m_body_buf.prepare(readSize)), readSize) | ^ /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release/src/http/client/http_client_asio.cpp:1250:55: error: expected primary-expression before '>' token 1250 | readbuf.getn(boost::asio::buffer_cast(m_body_buf.prepare(readSize)), readSize) | ^ /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release/src/http/client/http_client_asio.cpp: In member function 'void web::http::client::details::asio_context::handle_chunk(const boost::system::error_code&, int)': /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release/src/http/client/http_client_asio.cpp:1642:49: error: 'buffer_cast' is not a member of 'boost::asio'; did you mean 'buffer_copy'? 1642 | decompress(boost::asio::buffer_cast(m_body_buf.data()), to_read, decompressed); | ^~~~~~~~~~~ | buffer_copy /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release/src/http/client/http_client_asio.cpp:1642:61: error: expected primary-expression before 'const' 1642 | decompress(boost::asio::buffer_cast(m_body_buf.data()), to_read, decompressed); | ^~~~~ /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release/src/http/client/http_client_asio.cpp:1690:58: error: 'buffer_cast' is not a member of 'boost::asio'; did you mean 'buffer_copy'? 1690 | writeBuffer.putn_nocopy(boost::asio::buffer_cast(m_body_buf.data()), to_read) | ^~~~~~~~~~~ | buffer_copy /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release/src/http/client/http_client_asio.cpp:1690:70: error: expected primary-expression before 'const' 1690 | writeBuffer.putn_nocopy(boost::asio::buffer_cast(m_body_buf.data()), to_read) | ^~~~~ /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release/src/http/client/http_client_asio.cpp: In member function 'void web::http::client::details::asio_context::handle_read_content(const boost::system::error_code&)': /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release/src/http/client/http_client_asio.cpp:1762:45: error: 'buffer_cast' is not a member of 'boost::asio'; did you mean 'buffer_copy'? 1762 | decompress(boost::asio::buffer_cast(m_body_buf.data()), read_size, decompressed); | ^~~~~~~~~~~ | buffer_copy /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release/src/http/client/http_client_asio.cpp:1762:57: error: expected primary-expression before 'const' 1762 | decompress(boost::asio::buffer_cast(m_body_buf.data()), read_size, decompressed); | ^~~~~ /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release/src/http/client/http_client_asio.cpp:1824:54: error: 'buffer_cast' is not a member of 'boost::asio'; did you mean 'buffer_copy'? 1824 | writeBuffer.putn_nocopy(boost::asio::buffer_cast(m_body_buf.data()), read_size) | ^~~~~~~~~~~ | buffer_copy /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release/src/http/client/http_client_asio.cpp:1824:66: error: expected primary-expression before 'const' 1824 | writeBuffer.putn_nocopy(boost::asio::buffer_cast(m_body_buf.data()), read_size) | ^~~~~ /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release/src/http/client/http_client_asio.cpp: In constructor 'web::http::client::details::asio_context::timeout_timer::timeout_timer(const std::chrono::microseconds&)': /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release/src/http/client/http_client_asio.cpp:1861:111: error: 'class crossplat::threadpool' has no member named 'service' 1861 | : m_duration(timeout.count()), m_state(created), m_timer(crossplat::threadpool::shared_instance().service()) | ^~~~~~~ /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release/src/http/client/http_client_asio.cpp: In member function 'void web::http::client::details::asio_context::timeout_timer::start()': /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release/src/http/client/http_client_asio.cpp:1873:21: error: 'boost::asio::steady_timer' {aka 'class boost::asio::basic_waitable_timer'} has no member named 'expires_from_now' 1873 | m_timer.expires_from_now(m_duration); | ^~~~~~~~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release/src/http/client/http_client_asio.cpp: In member function 'void web::http::client::details::asio_context::timeout_timer::reset()': /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release/src/http/client/http_client_asio.cpp:1884:25: error: 'boost::asio::steady_timer' {aka 'class boost::asio::basic_waitable_timer'} has no member named 'expires_from_now' 1884 | if (m_timer.expires_from_now(m_duration) > 0) | ^~~~~~~~~~~~~~~~ /usr/include/websocketpp/transport/asio/endpoint.hpp: In instantiation of 'void websocketpp::transport::asio::endpoint::async_connect(transport_con_ptr, websocketpp::uri_ptr, websocketpp::transport::connect_handler) [with config = websocketpp::config::asio_tls_client::transport_config; transport_con_ptr = std::shared_ptr >; websocketpp::uri_ptr = std::shared_ptr; websocketpp::transport::connect_handler = std::function]': /usr/include/websocketpp/roles/client_endpoint.hpp:141:38: required from 'websocketpp::client::connection_ptr websocketpp::client::connect(connection_ptr) [with config = websocketpp::config::asio_tls_client; connection_ptr = std::shared_ptr >]' 141 | transport_type::async_connect( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 142 | lib::static_pointer_cast(con), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 143 | con->get_uri(), | ~~~~~~~~~~~~~~~ 144 | lib::bind( | ~~~~~~~~~~ 145 | &type::handle_connect, | ~~~~~~~~~~~~~~~~~~~~~~ 146 | this, | ~~~~~ 147 | con, | ~~~~ 148 | lib::placeholders::_1 | ~~~~~~~~~~~~~~~~~~~~~ 149 | ) | ~ 150 | ); | ~ /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release/src/websockets/client/ws_client_wspp.cpp:429:23: required from 'pplx::task web::websockets::client::details::wspp_callback_client::connect_impl() [with WebsocketConfigType = websocketpp::config::asio_tls_client]' 429 | client.connect(con); | ~~~~~~~~~~~~~~^~~~~ /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release/src/websockets/client/ws_client_wspp.cpp:267:70: required from here 267 | return connect_impl(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /usr/include/websocketpp/transport/asio/endpoint.hpp:909:17: error: base operand of '->' is not a pointer 909 | tcon->get_strand()->wrap(lib::bind( | ^~~~ /usr/include/websocketpp/transport/asio/endpoint.hpp: In instantiation of 'void websocketpp::transport::asio::endpoint::async_connect(transport_con_ptr, websocketpp::uri_ptr, websocketpp::transport::connect_handler) [with config = websocketpp::config::asio_client::transport_config; transport_con_ptr = std::shared_ptr >; websocketpp::uri_ptr = std::shared_ptr; websocketpp::transport::connect_handler = std::function]': /usr/include/websocketpp/roles/client_endpoint.hpp:141:38: required from 'websocketpp::client::connection_ptr websocketpp::client::connect(connection_ptr) [with config = websocketpp::config::asio_client; connection_ptr = std::shared_ptr >]' 141 | transport_type::async_connect( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 142 | lib::static_pointer_cast(con), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 143 | con->get_uri(), | ~~~~~~~~~~~~~~~ 144 | lib::bind( | ~~~~~~~~~~ 145 | &type::handle_connect, | ~~~~~~~~~~~~~~~~~~~~~~ 146 | this, | ~~~~~ 147 | con, | ~~~~ 148 | lib::placeholders::_1 | ~~~~~~~~~~~~~~~~~~~~~ 149 | ) | ~ 150 | ); | ~ /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release/src/websockets/client/ws_client_wspp.cpp:429:23: required from 'pplx::task web::websockets::client::details::wspp_callback_client::connect_impl() [with WebsocketConfigType = websocketpp::config::asio_client]' 429 | client.connect(con); | ~~~~~~~~~~~~~~^~~~~ /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release/src/websockets/client/ws_client_wspp.cpp:272:66: required from here 272 | return connect_impl(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /usr/include/websocketpp/transport/asio/endpoint.hpp:909:17: error: base operand of '->' is not a pointer 909 | tcon->get_strand()->wrap(lib::bind( | ^~~~ gmake[2]: *** [src/CMakeFiles/cpprest.dir/build.make:376: src/CMakeFiles/cpprest.dir/pplx/pplxlinux.cpp.o] Error 1 gmake[2]: *** Waiting for unfinished jobs.... gmake[2]: *** [src/CMakeFiles/cpprest.dir/build.make:404: src/CMakeFiles/cpprest.dir/pplx/threadpool.cpp.o] Error 1 /usr/include/websocketpp/transport/asio/connection.hpp: In instantiation of 'void websocketpp::transport::asio::connection::handle_proxy_write(websocketpp::transport::init_handler, const boost::system::error_code&) [with config = websocketpp::config::asio_tls_client::transport_config; websocketpp::transport::init_handler = std::function]': /usr/include/websocketpp/transport/asio/connection.hpp:643:21: required from 'void websocketpp::transport::asio::connection::proxy_write(websocketpp::transport::init_handler) [with config = websocketpp::config::asio_tls_client::transport_config; websocketpp::transport::init_handler = std::function]' 643 | &type::handle_proxy_write, get_shared(), | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/websocketpp/transport/asio/connection.hpp:490:13: required from 'void websocketpp::transport::asio::connection::handle_pre_init(websocketpp::transport::init_handler, const std::error_code&) [with config = websocketpp::config::asio_tls_client::transport_config; websocketpp::transport::init_handler = std::function]' 490 | proxy_write(callback); | ^~~~~~~~~~~ /usr/include/websocketpp/transport/asio/connection.hpp:421:17: required from 'void websocketpp::transport::asio::connection::init(websocketpp::transport::init_handler) [with config = websocketpp::config::asio_tls_client::transport_config; websocketpp::transport::init_handler = std::function]' 421 | &type::handle_pre_init, | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/websocketpp/impl/connection_impl.hpp:730:29: required from 'void websocketpp::connection::start() [with config = websocketpp::config::asio_tls_client]' 730 | transport_con_type::init( | ~~~~~~~~~~~~~~~~~~~~~~~~^ 731 | lib::bind( | ~~~~~~~~~~ 732 | &type::handle_transport_init, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 733 | type::get_shared(), | ~~~~~~~~~~~~~~~~~~~ 734 | lib::placeholders::_1 | ~~~~~~~~~~~~~~~~~~~~~ 735 | ) | ~ 736 | ); | ~ /usr/include/websocketpp/roles/client_endpoint.hpp:166:23: required from 'void websocketpp::client::handle_connect(connection_ptr, const std::error_code&) [with config = websocketpp::config::asio_tls_client; connection_ptr = std::shared_ptr >]' 166 | con->start(); | ~~~~~~~~~~^~ /usr/include/websocketpp/roles/client_endpoint.hpp:145:17: required from 'websocketpp::client::connection_ptr websocketpp::client::connect(connection_ptr) [with config = websocketpp::config::asio_tls_client; connection_ptr = std::shared_ptr >]' 145 | &type::handle_connect, | ^~~~~~~~~~~~~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release/src/websockets/client/ws_client_wspp.cpp:429:23: required from 'pplx::task web::websockets::client::details::wspp_callback_client::connect_impl() [with WebsocketConfigType = websocketpp::config::asio_tls_client]' 429 | client.connect(con); | ~~~~~~~~~~~~~~^~~~~ /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release/src/websockets/client/ws_client_wspp.cpp:267:70: required from here 267 | return connect_impl(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /usr/include/websocketpp/transport/asio/connection.hpp:682:52: error: 'using std::__shared_ptr_access, __gnu_cxx::_S_atomic, false, false>::element_type = class boost::asio::basic_waitable_timer' {aka 'class boost::asio::basic_waitable_timer'} has no member named 'expires_from_now' 682 | lib::asio::is_neg(m_proxy_data->timer->expires_from_now())) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /usr/include/websocketpp/transport/asio/connection.hpp: In instantiation of 'void websocketpp::transport::asio::connection::handle_proxy_write(websocketpp::transport::init_handler, const boost::system::error_code&) [with config = websocketpp::config::asio_client::transport_config; websocketpp::transport::init_handler = std::function]': /usr/include/websocketpp/transport/asio/connection.hpp:643:21: required from 'void websocketpp::transport::asio::connection::proxy_write(websocketpp::transport::init_handler) [with config = websocketpp::config::asio_client::transport_config; websocketpp::transport::init_handler = std::function]' 643 | &type::handle_proxy_write, get_shared(), | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/websocketpp/transport/asio/connection.hpp:490:13: required from 'void websocketpp::transport::asio::connection::handle_pre_init(websocketpp::transport::init_handler, const std::error_code&) [with config = websocketpp::config::asio_client::transport_config; websocketpp::transport::init_handler = std::function]' 490 | proxy_write(callback); | ^~~~~~~~~~~ /usr/include/websocketpp/transport/asio/connection.hpp:421:17: required from 'void websocketpp::transport::asio::connection::init(websocketpp::transport::init_handler) [with config = websocketpp::config::asio_client::transport_config; websocketpp::transport::init_handler = std::function]' 421 | &type::handle_pre_init, | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/websocketpp/impl/connection_impl.hpp:730:29: required from 'void websocketpp::connection::start() [with config = websocketpp::config::asio_client]' 730 | transport_con_type::init( | ~~~~~~~~~~~~~~~~~~~~~~~~^ 731 | lib::bind( | ~~~~~~~~~~ 732 | &type::handle_transport_init, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 733 | type::get_shared(), | ~~~~~~~~~~~~~~~~~~~ 734 | lib::placeholders::_1 | ~~~~~~~~~~~~~~~~~~~~~ 735 | ) | ~ 736 | ); | ~ /usr/include/websocketpp/roles/client_endpoint.hpp:166:23: required from 'void websocketpp::client::handle_connect(connection_ptr, const std::error_code&) [with config = websocketpp::config::asio_client; connection_ptr = std::shared_ptr >]' 166 | con->start(); | ~~~~~~~~~~^~ /usr/include/websocketpp/roles/client_endpoint.hpp:145:17: required from 'websocketpp::client::connection_ptr websocketpp::client::connect(connection_ptr) [with config = websocketpp::config::asio_client; connection_ptr = std::shared_ptr >]' 145 | &type::handle_connect, | ^~~~~~~~~~~~~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release/src/websockets/client/ws_client_wspp.cpp:429:23: required from 'pplx::task web::websockets::client::details::wspp_callback_client::connect_impl() [with WebsocketConfigType = websocketpp::config::asio_client]' 429 | client.connect(con); | ~~~~~~~~~~~~~~^~~~~ /home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/Release/src/websockets/client/ws_client_wspp.cpp:272:66: required from here 272 | return connect_impl(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /usr/include/websocketpp/transport/asio/connection.hpp:682:52: error: 'using std::__shared_ptr_access, __gnu_cxx::_S_atomic, false, false>::element_type = class boost::asio::basic_waitable_timer' {aka 'class boost::asio::basic_waitable_timer'} has no member named 'expires_from_now' 682 | lib::asio::is_neg(m_proxy_data->timer->expires_from_now())) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ gmake[2]: *** [src/CMakeFiles/cpprest.dir/build.make:418: src/CMakeFiles/cpprest.dir/http/client/http_client_asio.cpp.o] Error 1 gmake[2]: *** [src/CMakeFiles/cpprest.dir/build.make:362: src/CMakeFiles/cpprest.dir/websockets/client/ws_client_wspp.cpp.o] Error 1 gmake[2]: *** [src/CMakeFiles/cpprest.dir/build.make:460: src/CMakeFiles/cpprest.dir/http/listener/http_server_asio.cpp.o] Error 1 gmake[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/build' gmake[1]: *** [CMakeFiles/Makefile2:660: src/CMakeFiles/cpprest.dir/all] Error 2 gmake[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/cpprest-2.10.19-build/cpprestsdk-2.10.19/build' gmake: *** [Makefile:149: all] Error 2 error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.heVU5W (%build) RPM build warnings: /home/pterjan/rpmbuild/SPECS/cpprest.spec line 60: autopatch: no matching patches in range RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.heVU5W (%build) I: [iurt_root_command] ERROR: chroot