<86>Dec 3 04:23:35 userdel[9634]: delete user 'rooter' <86>Dec 3 04:23:35 userdel[9634]: removed group 'rooter' owned by 'rooter' <86>Dec 3 04:23:35 userdel[9634]: removed shadow group 'rooter' owned by 'rooter' <86>Dec 3 04:23:35 groupadd[9640]: group added to /etc/group: name=rooter, GID=585 <86>Dec 3 04:23:35 groupadd[9640]: group added to /etc/gshadow: name=rooter <86>Dec 3 04:23:35 groupadd[9640]: new group: name=rooter, GID=585 <86>Dec 3 04:23:35 useradd[9647]: new user: name=rooter, UID=585, GID=585, home=/root, shell=/bin/bash <86>Dec 3 04:23:35 userdel[9661]: delete user 'builder' <86>Dec 3 04:23:35 userdel[9661]: removed group 'builder' owned by 'builder' <86>Dec 3 04:23:35 userdel[9661]: removed shadow group 'builder' owned by 'builder' <86>Dec 3 04:23:35 groupadd[9666]: group added to /etc/group: name=builder, GID=586 <86>Dec 3 04:23:35 groupadd[9666]: group added to /etc/gshadow: name=builder <86>Dec 3 04:23:35 groupadd[9666]: new group: name=builder, GID=586 <86>Dec 3 04:23:35 useradd[9670]: new user: name=builder, UID=586, GID=586, home=/usr/src, shell=/bin/bash warning: user aris does not exist - using root warning: group aris does not exist - using root warning: user aris does not exist - using root warning: group aris does not exist - using root warning: Macro %cmake not found warning: Macro %cmake_build not found warning: Macro %cmakeinstall_std not found <13>Dec 3 04:23:42 rpmi: libboost_system1.67.0-1:1.67.0-alt8 sisyphus+238768.500.16.1 1571430204 installed <13>Dec 3 04:23:42 rpmi: libopenblas-0.2.20-alt2 sisyphus+229410.100.1.1 1557920443 installed <13>Dec 3 04:23:42 rpmi: libexpat-2.2.4-alt1 1503305341 installed <13>Dec 3 04:23:42 rpmi: libboost_thread1.67.0-1:1.67.0-alt8 sisyphus+238768.500.16.1 1571430204 installed <13>Dec 3 04:23:42 rpmi: libidn2-2.3.0-alt1 sisyphus+240846.100.1.2 1573870464 installed <13>Dec 3 04:23:42 rpmi: libbrotlicommon-1.0.7-alt1 sisyphus+226738.100.2.1 1554554565 installed <13>Dec 3 04:23:42 rpmi: libbrotlidec-1.0.7-alt1 sisyphus+226738.100.2.1 1554554565 installed <13>Dec 3 04:23:42 rpmi: libgdbm-1.8.3-alt10 1454943313 installed <13>Dec 3 04:23:44 rpmi: libicu65-1:6.5.1-alt1 sisyphus+238768.100.16.1 1571427351 installed <13>Dec 3 04:23:44 rpmi: libboost_regex1.67.0-1:1.67.0-alt8 sisyphus+238768.500.16.1 1571430204 installed <13>Dec 3 04:23:44 rpmi: libboost_graph1.67.0-1:1.67.0-alt8 sisyphus+238768.500.16.1 1571430204 installed <13>Dec 3 04:23:44 rpmi: libboost_locale1.67.0-1:1.67.0-alt8 sisyphus+238768.500.16.1 1571430204 installed <13>Dec 3 04:23:44 rpmi: libbrotlienc-1.0.7-alt1 sisyphus+226738.100.2.1 1554554565 installed <13>Dec 3 04:23:44 rpmi: libboost_type_erasure1.67.0-1:1.67.0-alt8 sisyphus+238768.500.16.1 1571430204 installed <13>Dec 3 04:23:44 rpmi: libboost_atomic1.67.0-1:1.67.0-alt8 sisyphus+238768.500.16.1 1571430204 installed <13>Dec 3 04:23:44 rpmi: libboost_contract1.67.0-1:1.67.0-alt8 sisyphus+238768.500.16.1 1571430204 installed <13>Dec 3 04:23:44 rpmi: libboost_random1.67.0-1:1.67.0-alt8 sisyphus+238768.500.16.1 1571430204 installed <13>Dec 3 04:23:44 rpmi: libboost_chrono1.67.0-1:1.67.0-alt8 sisyphus+238768.500.16.1 1571430204 installed <13>Dec 3 04:23:44 rpmi: libboost_timer1.67.0-1:1.67.0-alt8 sisyphus+238768.500.16.1 1571430204 installed <13>Dec 3 04:23:44 rpmi: libboost_filesystem1.67.0-1:1.67.0-alt8 sisyphus+238768.500.16.1 1571430204 installed <13>Dec 3 04:23:44 rpmi: gcc-c++-common-1.4.24-alt2 sisyphus+240563.100.1.1 1573475389 installed <13>Dec 3 04:23:45 rpmi: libstdc++9-devel-9.2.1-alt2 sisyphus+240563.200.2.1 1573478618 installed <13>Dec 3 04:23:46 rpmi: gcc9-c++-9.2.1-alt2 sisyphus+240563.200.2.1 1573478618 installed <13>Dec 3 04:23:46 rpmi: rpm-macros-cmake-3.15.4-alt1 sisyphus+239520.100.1.1 1571611942 installed <13>Dec 3 04:23:46 rpmi: cmake-modules-3.15.4-alt1 sisyphus+239520.100.1.1 1571611942 installed <13>Dec 3 04:23:46 rpmi: libuv-1.33.1-alt1 sisyphus+239990.100.1.1 1572378435 installed <13>Dec 3 04:23:47 rpmi: librhash-1.3.5-alt2 1505156277 installed <13>Dec 3 04:23:47 rpmi: libjsoncpp19-1.8.4-alt4 sisyphus+232904.100.1.1 1561247384 installed <13>Dec 3 04:23:47 rpmi: publicsuffix-list-dafsa-20191108-alt1 sisyphus+240482.100.1.2 1573431390 installed <13>Dec 3 04:23:47 rpmi: libpsl-0.21.0-alt2 sisyphus+237083.100.1.1 1567531663 installed <13>Dec 3 04:23:47 rpmi: libnghttp2-1.39.2-alt1 sisyphus+236978.100.1.1 1567325215 installed <13>Dec 3 04:23:47 rpmi: libnettle7-3.5.1-alt1 sisyphus+235265.40.6.1 1566223043 installed <13>Dec 3 04:23:47 rpmi: libarchive13-3.4.0-alt1 sisyphus+235265.640.9.1 1566482445 installed <13>Dec 3 04:23:47 rpmi: libboost_context1.67.0-1:1.67.0-alt8 sisyphus+238768.500.16.1 1571430204 installed <13>Dec 3 04:23:47 rpmi: libboost_fiber1.67.0-1:1.67.0-alt8 sisyphus+238768.500.16.1 1571430204 installed <13>Dec 3 04:23:47 rpmi: libboost_stacktrace1.67.0-1:1.67.0-alt8 sisyphus+238768.500.16.1 1571430204 installed <13>Dec 3 04:23:47 rpmi: libnumpy-py3-1:1.15.4-alt3 sisyphus+237451.600.2.1 1568395117 installed <13>Dec 3 04:23:47 rpmi: libboost_python1.67.0-1:1.67.0-alt8 sisyphus+238768.500.16.1 1571430204 installed <13>Dec 3 04:23:47 rpmi: libnumpy-1:1.15.4-alt3 sisyphus+237451.600.2.1 1568395117 installed <13>Dec 3 04:23:47 rpmi: libxblas-1.0.248-alt1.3 sisyphus+229150.100.1.1 1557388758 installed <13>Dec 3 04:23:47 rpmi: libquadmath0-9.2.1-alt2 sisyphus+240563.200.2.1 1573478618 installed <13>Dec 3 04:23:47 rpmi: libgfortran5-9.2.1-alt2 sisyphus+240563.200.2.1 1573478618 installed <13>Dec 3 04:23:47 rpmi: liblapack-1:3.8.0-alt3 sisyphus+221521.100.1.1 1550134909 installed <13>Dec 3 04:23:47 rpmi: python-modules-curses-2.7.17-alt3 sisyphus+240580.200.5.1 1573517270 installed <13>Dec 3 04:23:47 rpmi: libverto-0.3.0-alt1_7 sisyphus+225932.100.1.1 1553994917 installed <13>Dec 3 04:23:47 rpmi: libkeyutils-1.6-alt2 sisyphus+226520.100.2.1 1554512088 installed <13>Dec 3 04:23:47 rpmi: libcom_err-1.44.6-alt1 sisyphus+224154.100.1.1 1552091653 installed <13>Dec 3 04:23:47 rpmi: libp11-kit-0.23.15-alt1 sisyphus+226408.100.2.1 1554288187 installed <13>Dec 3 04:23:47 rpmi: libtasn1-4.15.0-alt1 sisyphus+241940.100.1.1 1574959862 installed <13>Dec 3 04:23:47 rpmi: libboost_test1.67.0-1:1.67.0-alt8 sisyphus+238768.500.16.1 1571430204 installed <13>Dec 3 04:23:47 rpmi: libboost_serialization1.67.0-1:1.67.0-alt8 sisyphus+238768.500.16.1 1571430204 installed <13>Dec 3 04:23:47 rpmi: libboost_iostreams1.67.0-1:1.67.0-alt8 sisyphus+238768.500.16.1 1571430204 installed <13>Dec 3 04:23:47 rpmi: libboost_date_time1.67.0-1:1.67.0-alt8 sisyphus+238768.500.16.1 1571430204 installed <13>Dec 3 04:23:47 rpmi: libboost_container1.67.0-1:1.67.0-alt8 sisyphus+238768.500.16.1 1571430204 installed <13>Dec 3 04:23:47 rpmi: rpm-macros-alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Dec 3 04:23:47 rpmi: alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Dec 3 04:23:47 rpmi: ca-certificates-2019.10.28-alt1 sisyphus+239875.300.1.1 1572267834 installed <13>Dec 3 04:23:47 rpmi: ca-trust-0.1.2-alt1 sisyphus+233348.100.1.1 1561653823 installed <13>Dec 3 04:23:47 rpmi: p11-kit-trust-0.23.15-alt1 sisyphus+226408.100.2.1 1554288187 installed <13>Dec 3 04:23:48 rpmi: libcrypto1.1-1.1.1d-alt1.1 sisyphus+237931.100.2.1 1569235630 installed <13>Dec 3 04:23:48 rpmi: libssl1.1-1.1.1d-alt1.1 sisyphus+237931.100.2.1 1569235630 installed <86>Dec 3 04:23:48 groupadd[13787]: group added to /etc/group: name=_keytab, GID=499 <86>Dec 3 04:23:48 groupadd[13787]: group added to /etc/gshadow: name=_keytab <86>Dec 3 04:23:48 groupadd[13787]: new group: name=_keytab, GID=499 <13>Dec 3 04:23:48 rpmi: libkrb5-1.16.3-alt1 sisyphus+223678.100.1.1 1551746443 installed <13>Dec 3 04:23:48 rpmi: libpython3-3.7.4-alt2 sisyphus+239418.100.1.1 1571389791 installed <13>Dec 3 04:23:48 rpmi: python3-3.7.4-alt2 sisyphus+239418.100.1.1 1571389791 installed <13>Dec 3 04:23:49 rpmi: python3-base-3.7.4-alt2 sisyphus+239418.100.1.1 1571389791 installed <13>Dec 3 04:23:49 rpmi: python3-module-numpy-1:1.15.4-alt3 sisyphus+237451.600.2.1 1568395117 installed <13>Dec 3 04:23:49 rpmi: libboost_python3-1.67.0-1:1.67.0-alt8 sisyphus+238768.500.16.1 1571430204 installed <13>Dec 3 04:23:49 rpmi: libboost_numpy3-1.67.0-1:1.67.0-alt8 sisyphus+238768.500.16.1 1571430204 installed <13>Dec 3 04:23:49 rpmi: libtirpc-1.0.3-alt1 1532008015 installed <13>Dec 3 04:23:49 rpmi: libnsl2-1.1.0-alt1_1 1511548748 installed <13>Dec 3 04:23:49 rpmi: python-modules-compiler-2.7.17-alt3 sisyphus+240580.200.5.1 1573517270 installed <13>Dec 3 04:23:49 rpmi: python-modules-email-2.7.17-alt3 sisyphus+240580.200.5.1 1573517270 installed <13>Dec 3 04:23:49 rpmi: python-modules-unittest-2.7.17-alt3 sisyphus+240580.200.5.1 1573517270 installed <13>Dec 3 04:23:49 rpmi: python-modules-nis-2.7.17-alt3 sisyphus+240580.200.5.1 1573517270 installed <13>Dec 3 04:23:49 rpmi: python-modules-encodings-2.7.17-alt3 sisyphus+240580.200.5.1 1573517270 installed <13>Dec 3 04:23:50 rpmi: python-modules-2.7.17-alt3 sisyphus+240580.200.5.1 1573517270 installed <13>Dec 3 04:23:50 rpmi: python-modules-xml-2.7.17-alt3 sisyphus+240580.200.5.1 1573517270 installed <13>Dec 3 04:23:50 rpmi: python-modules-hotshot-2.7.17-alt3 sisyphus+240580.200.5.1 1573517270 installed <13>Dec 3 04:23:50 rpmi: python-modules-bsddb-2.7.17-alt3 sisyphus+240580.200.5.1 1573517270 installed <13>Dec 3 04:23:50 rpmi: python-modules-ctypes-2.7.17-alt3 sisyphus+240580.200.5.1 1573517270 installed <13>Dec 3 04:23:50 rpmi: python-modules-multiprocessing-2.7.17-alt3 sisyphus+240580.200.5.1 1573517270 installed <13>Dec 3 04:23:50 rpmi: python-modules-logging-2.7.17-alt3 sisyphus+240580.200.5.1 1573517270 installed <13>Dec 3 04:23:50 rpmi: python-2.7.17-alt3 sisyphus+240580.200.5.1 1573517270 installed <13>Dec 3 04:23:50 rpmi: python-strict-2.7.17-alt3 sisyphus+240580.200.5.1 1573517270 installed <13>Dec 3 04:23:50 rpmi: python-module-numpy-1:1.15.4-alt3 sisyphus+237451.600.2.1 1568395117 installed <13>Dec 3 04:23:50 rpmi: libboost_numpy1.67.0-1:1.67.0-alt8 sisyphus+238768.500.16.1 1571430204 installed <13>Dec 3 04:23:52 rpmi: boost-devel-headers-1:1.67.0-alt8 sisyphus+238768.500.16.1 1571430204 installed <13>Dec 3 04:23:52 rpmi: boost-devel-1:1.67.0-alt8 sisyphus+238768.500.16.1 1571430204 installed <86>Dec 3 04:23:52 groupadd[14542]: group added to /etc/group: name=sasl, GID=498 <86>Dec 3 04:23:52 groupadd[14542]: group added to /etc/gshadow: name=sasl <86>Dec 3 04:23:52 groupadd[14542]: new group: name=sasl, GID=498 <13>Dec 3 04:23:52 rpmi: libsasl2-3-2.1.27-alt2 sisyphus+228101.100.1.1 1556139861 installed <13>Dec 3 04:23:52 rpmi: libldap-2.4.48-alt3 sisyphus+238816.100.1.1 1570449061 installed <13>Dec 3 04:23:52 rpmi: libcurl-7.67.0-alt1 sisyphus+240544.100.1.1 1573453423 installed <13>Dec 3 04:23:53 rpmi: cmake-3.15.4-alt1 sisyphus+239520.100.1.1 1571611942 installed <13>Dec 3 04:23:53 rpmi: boost-asio-devel-1:1.67.0-alt8 sisyphus+238768.500.16.1 1571430204 installed <13>Dec 3 04:23:53 rpmi: boost-filesystem-devel-1:1.67.0-alt8 sisyphus+238768.500.16.1 1571430204 installed <13>Dec 3 04:23:53 rpmi: boost-interprocess-devel-1:1.67.0-alt8 sisyphus+238768.500.16.1 1571430204 installed <13>Dec 3 04:23:53 rpmi: boost-locale-devel-1:1.67.0-alt8 sisyphus+238768.500.16.1 1571430204 installed <13>Dec 3 04:23:53 rpmi: libssl-devel-1.1.1d-alt1.1 sisyphus+237931.100.2.1 1569235630 installed <13>Dec 3 04:23:53 rpmi: gcc-c++-9-alt1 sisyphus+239632.300.3.1 1571789214 installed <13>Dec 3 04:23:53 rpmi: libbrotli-devel-1.0.7-alt1 sisyphus+226738.100.2.1 1554554565 installed <13>Dec 3 04:23:53 rpmi: zlib-devel-1.2.11-alt1 sisyphus+221902.6000.4.1 1550600768 installed Building target platforms: x86_64 Building for target x86_64 Wrote: /usr/src/in/nosrpm/cpprest-2.10.14-alt1.nosrc.rpm Installing cpprest-2.10.14-alt1.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.38696 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf cpprestsdk-2.10.14 + echo 'Source #0 (cpprestsdk-2.10.14.tar):' Source #0 (cpprestsdk-2.10.14.tar): + /bin/tar -xf /usr/src/RPM/SOURCES/cpprestsdk-2.10.14.tar + cd cpprestsdk-2.10.14 + /bin/chmod -c -Rf u+rwX,go-w . + rm -f ThirdPartyNotices.txt + subst 's|\(DESTINATION \)lib|\1lib64|' Release/src/CMakeLists.txt + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.64400 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd cpprestsdk-2.10.14 + cd Release + mkdir -p BUILD + __cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_DO_STRIP=OFF -DCPPREST_EXCLUDE_BROTLI=OFF -DCPPREST_EXPORT_DIR=cmake/cpprestsdk + pushd BUILD ~/RPM/BUILD/cpprestsdk-2.10.14/Release/BUILD ~/RPM/BUILD/cpprestsdk-2.10.14/Release + cmake .. -DCMAKE_SKIP_RPATH:BOOL=ON -DCMAKE_SKIP_INSTALL_RPATH:BOOL=yes '-DCMAKE_C_FLAGS:STRING=-pipe -frecord-gcc-switches -Wall -g -O2 -pipe -frecord-gcc-switches -Wall -g -O2 -D_FILE_OFFSET_BITS=64 -Wl,--as-needed' '-DCMAKE_CXX_FLAGS:STRING=-pipe -frecord-gcc-switches -Wall -g -O2 -pipe -frecord-gcc-switches -Wall -g -O2 -D_FILE_OFFSET_BITS=64 -Wl,--as-needed' '-DCMAKE_Fortran_FLAGS:STRING=-pipe -frecord-gcc-switches -Wall -g -O2 -pipe -frecord-gcc-switches -Wall -g -O2 -D_FILE_OFFSET_BITS=64 -Wl,--as-needed' -DCMAKE_INSTALL_PREFIX=/usr -DINCLUDE_INSTALL_DIR:PATH=/usr/include -DLIB_INSTALL_DIR:PATH=/usr/lib64 -DSYSCONF_INSTALL_DIR:PATH=/etc -DSHARE_INSTALL_PREFIX:PATH=/usr/share -DLIB_DESTINATION=lib64 -DLIB_SUFFIX=64 .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_DO_STRIP=OFF -DCPPREST_EXCLUDE_BROTLI=OFF -DCPPREST_EXPORT_DIR=cmake/cpprestsdk -- The C compiler identification is GNU 9.2.1 -- The CXX compiler identification is GNU 9.2.1 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Looking for pthread.h -- Looking for pthread.h - found -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - found -- Found Threads: TRUE -- Looking for include file xlocale.h -- Looking for include file xlocale.h - not found -- Setting gcc options -- websocketpp not found, using the embedded version -- Found Boost: /usr/include (found version "1.67.0") found components: random system thread filesystem chrono atomic date_time regex -- Found OpenSSL: /usr/lib64/libcrypto.so (found suitable version "1.1.1d", minimum required is "1.0.0") -- Performing Test _SSL_LEAK_SUPPRESS_AVAILABLE -- Performing Test _SSL_LEAK_SUPPRESS_AVAILABLE - Failed -- Found ZLIB: /usr/lib64/libz.so (found version "1.2.11") -- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.2") -- Checking for module 'libbrotlienc' -- Found libbrotlienc, version 1.0.7 -- Checking for module 'libbrotlidec' -- Found libbrotlidec, version 1.0.7 -- 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 -- Generating done CMake Warning: Manually-specified variables were not used by the project: CMAKE_Fortran_FLAGS CMAKE_INSTALL_DO_STRIP CMAKE_SKIP_INSTALL_RPATH INCLUDE_INSTALL_DIR LIB_DESTINATION LIB_INSTALL_DIR LIB_SUFFIX SHARE_INSTALL_PREFIX SYSCONF_INSTALL_DIR -- Build files have been written to: /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/BUILD + popd ~/RPM/BUILD/cpprestsdk-2.10.14/Release + make -j8 -C BUILD make[2]: Entering directory '/usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/BUILD' Scanning dependencies of target cpprest make[2]: Leaving directory '/usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/BUILD' [ 3%] Building CXX object src/CMakeFiles/cpprest.dir/http/client/http_client.cpp.o In file included from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/src/pch/stdafx.h:88, from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/src/http/client/http_client.cpp:16: /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/json.h: In member function 'web::json::value& web::json::array::operator[](web::json::array::size_type)': /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/json.h:921:25: error: implicitly-declared 'constexpr msl::safeint3::SafeInt::SafeInt(const msl::safeint3::SafeInt&)' is deprecated [-Werror=deprecated-copy] 921 | if (nlastSize < nMinSize) m_elements.resize(nMinSize); | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/details/basic_types.h:31, from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/src/pch/stdafx.h:73, from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/src/http/client/http_client.cpp:16: /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/details/SafeInt3.hpp:6073:20: note: because 'msl::safeint3::SafeInt' has user-provided 'msl::safeint3::SafeInt& msl::safeint3::SafeInt::operator=(const msl::safeint3::SafeInt&) [with T = long unsigned int; E = msl::safeint3::SafeIntInternal::SafeIntExceptionHandler]' 6073 | SafeInt& operator=(const SafeInt& rhs) SAFEINT_NOTHROW | ^~~~~~~~ /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/details/SafeInt3.hpp:6858:30: note: initializing argument 1 of 'bool msl::safeint3::operator<(msl::safeint3::SafeInt, msl::safeint3::SafeInt) [with T = long unsigned int; U = long unsigned int; E = msl::safeint3::SafeIntInternal::SafeIntExceptionHandler]' 6858 | bool operator<(SafeInt lhs, SafeInt rhs) SAFEINT_NOTHROW | ~~~~~~~~~~~~~~^~~ In file included from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/src/pch/stdafx.h:88, from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/src/http/client/http_client.cpp:16: /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/json.h:921:25: error: implicitly-declared 'constexpr msl::safeint3::SafeInt::SafeInt(const msl::safeint3::SafeInt&)' is deprecated [-Werror=deprecated-copy] 921 | if (nlastSize < nMinSize) m_elements.resize(nMinSize); | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/details/basic_types.h:31, from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/src/pch/stdafx.h:73, from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/src/http/client/http_client.cpp:16: /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/details/SafeInt3.hpp:6073:20: note: because 'msl::safeint3::SafeInt' has user-provided 'msl::safeint3::SafeInt& msl::safeint3::SafeInt::operator=(const msl::safeint3::SafeInt&) [with T = long unsigned int; E = msl::safeint3::SafeIntInternal::SafeIntExceptionHandler]' 6073 | SafeInt& operator=(const SafeInt& rhs) SAFEINT_NOTHROW | ^~~~~~~~ /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/details/SafeInt3.hpp:6858:49: note: initializing argument 2 of 'bool msl::safeint3::operator<(msl::safeint3::SafeInt, msl::safeint3::SafeInt) [with T = long unsigned int; U = long unsigned int; E = msl::safeint3::SafeIntInternal::SafeIntExceptionHandler]' 6858 | bool operator<(SafeInt lhs, SafeInt rhs) SAFEINT_NOTHROW | ~~~~~~~~~~~~~~^~~ In file included from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/http_msg.h:16, from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/details/http_helpers.h:19, from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/src/pch/stdafx.h:98, from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/src/http/client/http_client.cpp:16: /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/containerstream.h: In instantiation of 'size_t Concurrency::streams::details::basic_container_buffer<_CollectionType>::in_avail() const [with _CollectionType = std::vector; size_t = long unsigned int]': /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/containerstream.h:108:20: required from here /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/containerstream.h:116:34: error: implicitly-declared 'constexpr msl::safeint3::SafeInt::SafeInt(const msl::safeint3::SafeInt&)' is deprecated [-Werror=deprecated-copy] 116 | return (size_t)(writeend - readhead); | ~~~~~~~~~~^~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/details/basic_types.h:31, from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/src/pch/stdafx.h:73, from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/src/http/client/http_client.cpp:16: /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/details/SafeInt3.hpp:6073:20: note: because 'msl::safeint3::SafeInt' has user-provided 'msl::safeint3::SafeInt& msl::safeint3::SafeInt::operator=(const msl::safeint3::SafeInt&) [with T = long unsigned int; E = msl::safeint3::SafeIntInternal::SafeIntExceptionHandler]' 6073 | SafeInt& operator=(const SafeInt& rhs) SAFEINT_NOTHROW | ^~~~~~~~ /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/details/SafeInt3.hpp:6490:43: note: initializing argument 1 of 'msl::safeint3::SafeInt msl::safeint3::SafeInt::operator-(msl::safeint3::SafeInt) const [with T = long unsigned int; E = msl::safeint3::SafeIntInternal::SafeIntExceptionHandler]' 6490 | SafeInt operator-(SafeInt rhs) const SAFEINT_CPP_THROW | ~~~~~~~~~~~~~~^~~ In file included from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/http_msg.h:16, from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/details/http_helpers.h:19, from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/src/pch/stdafx.h:98, from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/src/http/client/http_client.cpp:16: /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/containerstream.h: In instantiation of 'size_t Concurrency::streams::details::basic_container_buffer<_CollectionType>::in_avail() const [with _CollectionType = std::__cxx11::basic_string; size_t = long unsigned int]': /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/containerstream.h:108:20: required from here /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/containerstream.h:116:34: error: implicitly-declared 'constexpr msl::safeint3::SafeInt::SafeInt(const msl::safeint3::SafeInt&)' is deprecated [-Werror=deprecated-copy] 116 | return (size_t)(writeend - readhead); | ~~~~~~~~~~^~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/details/basic_types.h:31, from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/src/pch/stdafx.h:73, from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/src/http/client/http_client.cpp:16: /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/details/SafeInt3.hpp:6073:20: note: because 'msl::safeint3::SafeInt' has user-provided 'msl::safeint3::SafeInt& msl::safeint3::SafeInt::operator=(const msl::safeint3::SafeInt&) [with T = long unsigned int; E = msl::safeint3::SafeIntInternal::SafeIntExceptionHandler]' 6073 | SafeInt& operator=(const SafeInt& rhs) SAFEINT_NOTHROW | ^~~~~~~~ /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/details/SafeInt3.hpp:6490:43: note: initializing argument 1 of 'msl::safeint3::SafeInt msl::safeint3::SafeInt::operator-(msl::safeint3::SafeInt) const [with T = long unsigned int; E = msl::safeint3::SafeIntInternal::SafeIntExceptionHandler]' 6490 | SafeInt operator-(SafeInt rhs) const SAFEINT_CPP_THROW | ~~~~~~~~~~~~~~^~~ In file included from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/http_msg.h:16, from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/details/http_helpers.h:19, from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/src/pch/stdafx.h:98, from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/src/http/client/http_client.cpp:16: /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/containerstream.h: In instantiation of 'size_t Concurrency::streams::details::basic_container_buffer<_CollectionType>::read(Concurrency::streams::details::basic_container_buffer<_CollectionType>::_CharType*, size_t, bool) [with _CollectionType = std::vector; size_t = long unsigned int; Concurrency::streams::details::basic_container_buffer<_CollectionType>::_CharType = unsigned char]': /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/containerstream.h:207:45: required from 'pplx::task Concurrency::streams::details::basic_container_buffer<_CollectionType>::_getn(Concurrency::streams::details::basic_container_buffer<_CollectionType>::_CharType*, size_t) [with _CollectionType = std::vector; Concurrency::streams::details::basic_container_buffer<_CollectionType>::_CharType = unsigned char; size_t = long unsigned int]' /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/containerstream.h:205:32: required from here /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/containerstream.h:397:44: error: implicitly-declared 'constexpr msl::safeint3::SafeInt::SafeInt(const msl::safeint3::SafeInt&)' is deprecated [-Werror=deprecated-copy] 397 | size_t newPos = m_current_position + read_size; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/details/basic_types.h:31, from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/src/pch/stdafx.h:73, from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/src/http/client/http_client.cpp:16: /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/details/SafeInt3.hpp:6073:20: note: because 'msl::safeint3::SafeInt' has user-provided 'msl::safeint3::SafeInt& msl::safeint3::SafeInt::operator=(const msl::safeint3::SafeInt&) [with T = long unsigned int; E = msl::safeint3::SafeIntInternal::SafeIntExceptionHandler]' 6073 | SafeInt& operator=(const SafeInt& rhs) SAFEINT_NOTHROW | ^~~~~~~~ /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/details/SafeInt3.hpp:7229:46: note: initializing argument 2 of 'msl::safeint3::SafeInt msl::safeint3::operator+(U, msl::safeint3::SafeInt) [with T = long unsigned int; U = long unsigned int; E = msl::safeint3::SafeIntInternal::SafeIntExceptionHandler]' 7229 | SafeInt operator+(U lhs, SafeInt rhs) SAFEINT_CPP_THROW | ~~~~~~~~~~~~~~^~~ In file included from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/http_msg.h:16, from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/details/http_helpers.h:19, from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/src/pch/stdafx.h:98, from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/src/http/client/http_client.cpp:16: /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/containerstream.h: In instantiation of 'size_t Concurrency::streams::details::basic_container_buffer<_CollectionType>::read(Concurrency::streams::details::basic_container_buffer<_CollectionType>::_CharType*, size_t, bool) [with _CollectionType = std::__cxx11::basic_string; size_t = long unsigned int; Concurrency::streams::details::basic_container_buffer<_CollectionType>::_CharType = char]': /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/containerstream.h:207:45: required from 'pplx::task Concurrency::streams::details::basic_container_buffer<_CollectionType>::_getn(Concurrency::streams::details::basic_container_buffer<_CollectionType>::_CharType*, size_t) [with _CollectionType = std::__cxx11::basic_string; Concurrency::streams::details::basic_container_buffer<_CollectionType>::_CharType = char; size_t = long unsigned int]' /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/containerstream.h:205:32: required from here /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/containerstream.h:397:44: error: implicitly-declared 'constexpr msl::safeint3::SafeInt::SafeInt(const msl::safeint3::SafeInt&)' is deprecated [-Werror=deprecated-copy] 397 | size_t newPos = m_current_position + read_size; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/details/basic_types.h:31, from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/src/pch/stdafx.h:73, from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/src/http/client/http_client.cpp:16: /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/details/SafeInt3.hpp:6073:20: note: because 'msl::safeint3::SafeInt' has user-provided 'msl::safeint3::SafeInt& msl::safeint3::SafeInt::operator=(const msl::safeint3::SafeInt&) [with T = long unsigned int; E = msl::safeint3::SafeIntInternal::SafeIntExceptionHandler]' 6073 | SafeInt& operator=(const SafeInt& rhs) SAFEINT_NOTHROW | ^~~~~~~~ /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/details/SafeInt3.hpp:7229:46: note: initializing argument 2 of 'msl::safeint3::SafeInt msl::safeint3::operator+(U, msl::safeint3::SafeInt) [with T = long unsigned int; U = long unsigned int; E = msl::safeint3::SafeIntInternal::SafeIntExceptionHandler]' 7229 | SafeInt operator+(U lhs, SafeInt rhs) SAFEINT_CPP_THROW | ~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/details/SafeInt3.hpp: In instantiation of 'msl::safeint3::SafeInt msl::safeint3::SafeInt::Min(msl::safeint3::SafeInt, T) const [with T = long unsigned int; E = msl::safeint3::SafeIntInternal::SafeIntExceptionHandler]': /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/containerstream.h:395:65: required from 'size_t Concurrency::streams::details::basic_container_buffer<_CollectionType>::read(Concurrency::streams::details::basic_container_buffer<_CollectionType>::_CharType*, size_t, bool) [with _CollectionType = std::vector; size_t = long unsigned int; Concurrency::streams::details::basic_container_buffer<_CollectionType>::_CharType = unsigned char]' /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/containerstream.h:207:45: required from 'pplx::task Concurrency::streams::details::basic_container_buffer<_CollectionType>::_getn(Concurrency::streams::details::basic_container_buffer<_CollectionType>::_CharType*, size_t) [with _CollectionType = std::vector; Concurrency::streams::details::basic_container_buffer<_CollectionType>::_CharType = unsigned char; size_t = long unsigned int]' /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/containerstream.h:205:32: required from here /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/details/SafeInt3.hpp:6724:22: error: implicitly-declared 'constexpr msl::safeint3::SafeInt::SafeInt(const msl::safeint3::SafeInt&)' is deprecated [-Werror=deprecated-copy] 6724 | T tmp = test < m_int ? (T)test : m_int; | ~~~~~^~~~~~~ /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/details/SafeInt3.hpp:6073:20: note: because 'msl::safeint3::SafeInt' has user-provided 'msl::safeint3::SafeInt& msl::safeint3::SafeInt::operator=(const msl::safeint3::SafeInt&) [with T = long unsigned int; E = msl::safeint3::SafeIntInternal::SafeIntExceptionHandler]' 6073 | SafeInt& operator=(const SafeInt& rhs) SAFEINT_NOTHROW | ^~~~~~~~ /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/details/SafeInt3.hpp:6852:30: note: initializing argument 1 of 'bool msl::safeint3::operator<(msl::safeint3::SafeInt, U) [with T = long unsigned int; U = long unsigned int; E = msl::safeint3::SafeIntInternal::SafeIntExceptionHandler]' 6852 | bool operator<(SafeInt lhs, U rhs) SAFEINT_NOTHROW | ~~~~~~~~~~~~~~^~~ cc1plus: all warnings being treated as errors make[2]: *** [src/CMakeFiles/cpprest.dir/build.make:63: src/CMakeFiles/cpprest.dir/http/client/http_client.cpp.o] Error 1 make[2]: Leaving directory '/usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/BUILD' make[2]: *** Waiting for unfinished jobs.... make[2]: Entering directory '/usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/BUILD' [ 4%] Building CXX object src/CMakeFiles/cpprest.dir/http/common/http_compression.cpp.o In file included from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/src/pch/stdafx.h:88, from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/src/http/common/http_compression.cpp:14: /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/json.h: In member function 'web::json::value& web::json::array::operator[](web::json::array::size_type)': /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/json.h:921:25: error: implicitly-declared 'constexpr msl::safeint3::SafeInt::SafeInt(const msl::safeint3::SafeInt&)' is deprecated [-Werror=deprecated-copy] 921 | if (nlastSize < nMinSize) m_elements.resize(nMinSize); | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/details/basic_types.h:31, from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/src/pch/stdafx.h:73, from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/src/http/common/http_compression.cpp:14: /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/details/SafeInt3.hpp:6073:20: note: because 'msl::safeint3::SafeInt' has user-provided 'msl::safeint3::SafeInt& msl::safeint3::SafeInt::operator=(const msl::safeint3::SafeInt&) [with T = long unsigned int; E = msl::safeint3::SafeIntInternal::SafeIntExceptionHandler]' 6073 | SafeInt& operator=(const SafeInt& rhs) SAFEINT_NOTHROW | ^~~~~~~~ /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/details/SafeInt3.hpp:6858:30: note: initializing argument 1 of 'bool msl::safeint3::operator<(msl::safeint3::SafeInt, msl::safeint3::SafeInt) [with T = long unsigned int; U = long unsigned int; E = msl::safeint3::SafeIntInternal::SafeIntExceptionHandler]' 6858 | bool operator<(SafeInt lhs, SafeInt rhs) SAFEINT_NOTHROW | ~~~~~~~~~~~~~~^~~ In file included from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/src/pch/stdafx.h:88, from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/src/http/common/http_compression.cpp:14: /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/json.h:921:25: error: implicitly-declared 'constexpr msl::safeint3::SafeInt::SafeInt(const msl::safeint3::SafeInt&)' is deprecated [-Werror=deprecated-copy] 921 | if (nlastSize < nMinSize) m_elements.resize(nMinSize); | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/details/basic_types.h:31, from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/src/pch/stdafx.h:73, from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/src/http/common/http_compression.cpp:14: /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/details/SafeInt3.hpp:6073:20: note: because 'msl::safeint3::SafeInt' has user-provided 'msl::safeint3::SafeInt& msl::safeint3::SafeInt::operator=(const msl::safeint3::SafeInt&) [with T = long unsigned int; E = msl::safeint3::SafeIntInternal::SafeIntExceptionHandler]' 6073 | SafeInt& operator=(const SafeInt& rhs) SAFEINT_NOTHROW | ^~~~~~~~ /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/details/SafeInt3.hpp:6858:49: note: initializing argument 2 of 'bool msl::safeint3::operator<(msl::safeint3::SafeInt, msl::safeint3::SafeInt) [with T = long unsigned int; U = long unsigned int; E = msl::safeint3::SafeIntInternal::SafeIntExceptionHandler]' 6858 | bool operator<(SafeInt lhs, SafeInt rhs) SAFEINT_NOTHROW | ~~~~~~~~~~~~~~^~~ In file included from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/http_msg.h:16, from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/details/http_helpers.h:19, from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/src/pch/stdafx.h:98, from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/src/http/common/http_compression.cpp:14: /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/containerstream.h: In instantiation of 'size_t Concurrency::streams::details::basic_container_buffer<_CollectionType>::in_avail() const [with _CollectionType = std::vector; size_t = long unsigned int]': /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/containerstream.h:108:20: required from here /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/containerstream.h:116:34: error: implicitly-declared 'constexpr msl::safeint3::SafeInt::SafeInt(const msl::safeint3::SafeInt&)' is deprecated [-Werror=deprecated-copy] 116 | return (size_t)(writeend - readhead); | ~~~~~~~~~~^~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/details/basic_types.h:31, from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/src/pch/stdafx.h:73, from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/src/http/common/http_compression.cpp:14: /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/details/SafeInt3.hpp:6073:20: note: because 'msl::safeint3::SafeInt' has user-provided 'msl::safeint3::SafeInt& msl::safeint3::SafeInt::operator=(const msl::safeint3::SafeInt&) [with T = long unsigned int; E = msl::safeint3::SafeIntInternal::SafeIntExceptionHandler]' 6073 | SafeInt& operator=(const SafeInt& rhs) SAFEINT_NOTHROW | ^~~~~~~~ /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/details/SafeInt3.hpp:6490:43: note: initializing argument 1 of 'msl::safeint3::SafeInt msl::safeint3::SafeInt::operator-(msl::safeint3::SafeInt) const [with T = long unsigned int; E = msl::safeint3::SafeIntInternal::SafeIntExceptionHandler]' 6490 | SafeInt operator-(SafeInt rhs) const SAFEINT_CPP_THROW | ~~~~~~~~~~~~~~^~~ In file included from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/http_msg.h:16, from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/details/http_helpers.h:19, from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/src/pch/stdafx.h:98, from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/src/http/common/http_compression.cpp:14: /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/containerstream.h: In instantiation of 'size_t Concurrency::streams::details::basic_container_buffer<_CollectionType>::in_avail() const [with _CollectionType = std::__cxx11::basic_string; size_t = long unsigned int]': /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/containerstream.h:108:20: required from here /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/containerstream.h:116:34: error: implicitly-declared 'constexpr msl::safeint3::SafeInt::SafeInt(const msl::safeint3::SafeInt&)' is deprecated [-Werror=deprecated-copy] 116 | return (size_t)(writeend - readhead); | ~~~~~~~~~~^~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/details/basic_types.h:31, from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/src/pch/stdafx.h:73, from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/src/http/common/http_compression.cpp:14: /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/details/SafeInt3.hpp:6073:20: note: because 'msl::safeint3::SafeInt' has user-provided 'msl::safeint3::SafeInt& msl::safeint3::SafeInt::operator=(const msl::safeint3::SafeInt&) [with T = long unsigned int; E = msl::safeint3::SafeIntInternal::SafeIntExceptionHandler]' 6073 | SafeInt& operator=(const SafeInt& rhs) SAFEINT_NOTHROW | ^~~~~~~~ /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/details/SafeInt3.hpp:6490:43: note: initializing argument 1 of 'msl::safeint3::SafeInt msl::safeint3::SafeInt::operator-(msl::safeint3::SafeInt) const [with T = long unsigned int; E = msl::safeint3::SafeIntInternal::SafeIntExceptionHandler]' 6490 | SafeInt operator-(SafeInt rhs) const SAFEINT_CPP_THROW | ~~~~~~~~~~~~~~^~~ In file included from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/http_msg.h:16, from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/details/http_helpers.h:19, from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/src/pch/stdafx.h:98, from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/src/http/common/http_compression.cpp:14: /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/containerstream.h: In instantiation of 'size_t Concurrency::streams::details::basic_container_buffer<_CollectionType>::read(Concurrency::streams::details::basic_container_buffer<_CollectionType>::_CharType*, size_t, bool) [with _CollectionType = std::vector; size_t = long unsigned int; Concurrency::streams::details::basic_container_buffer<_CollectionType>::_CharType = unsigned char]': /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/containerstream.h:207:45: required from 'pplx::task Concurrency::streams::details::basic_container_buffer<_CollectionType>::_getn(Concurrency::streams::details::basic_container_buffer<_CollectionType>::_CharType*, size_t) [with _CollectionType = std::vector; Concurrency::streams::details::basic_container_buffer<_CollectionType>::_CharType = unsigned char; size_t = long unsigned int]' /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/containerstream.h:205:32: required from here /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/containerstream.h:397:44: error: implicitly-declared 'constexpr msl::safeint3::SafeInt::SafeInt(const msl::safeint3::SafeInt&)' is deprecated [-Werror=deprecated-copy] 397 | size_t newPos = m_current_position + read_size; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/details/basic_types.h:31, from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/src/pch/stdafx.h:73, from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/src/http/common/http_compression.cpp:14: /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/details/SafeInt3.hpp:6073:20: note: because 'msl::safeint3::SafeInt' has user-provided 'msl::safeint3::SafeInt& msl::safeint3::SafeInt::operator=(const msl::safeint3::SafeInt&) [with T = long unsigned int; E = msl::safeint3::SafeIntInternal::SafeIntExceptionHandler]' 6073 | SafeInt& operator=(const SafeInt& rhs) SAFEINT_NOTHROW | ^~~~~~~~ /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/details/SafeInt3.hpp:7229:46: note: initializing argument 2 of 'msl::safeint3::SafeInt msl::safeint3::operator+(U, msl::safeint3::SafeInt) [with T = long unsigned int; U = long unsigned int; E = msl::safeint3::SafeIntInternal::SafeIntExceptionHandler]' 7229 | SafeInt operator+(U lhs, SafeInt rhs) SAFEINT_CPP_THROW | ~~~~~~~~~~~~~~^~~ In file included from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/http_msg.h:16, from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/details/http_helpers.h:19, from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/src/pch/stdafx.h:98, from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/src/http/common/http_compression.cpp:14: /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/containerstream.h: In instantiation of 'size_t Concurrency::streams::details::basic_container_buffer<_CollectionType>::read(Concurrency::streams::details::basic_container_buffer<_CollectionType>::_CharType*, size_t, bool) [with _CollectionType = std::__cxx11::basic_string; size_t = long unsigned int; Concurrency::streams::details::basic_container_buffer<_CollectionType>::_CharType = char]': /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/containerstream.h:207:45: required from 'pplx::task Concurrency::streams::details::basic_container_buffer<_CollectionType>::_getn(Concurrency::streams::details::basic_container_buffer<_CollectionType>::_CharType*, size_t) [with _CollectionType = std::__cxx11::basic_string; Concurrency::streams::details::basic_container_buffer<_CollectionType>::_CharType = char; size_t = long unsigned int]' /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/containerstream.h:205:32: required from here /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/containerstream.h:397:44: error: implicitly-declared 'constexpr msl::safeint3::SafeInt::SafeInt(const msl::safeint3::SafeInt&)' is deprecated [-Werror=deprecated-copy] 397 | size_t newPos = m_current_position + read_size; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/details/basic_types.h:31, from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/src/pch/stdafx.h:73, from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/src/http/common/http_compression.cpp:14: /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/details/SafeInt3.hpp:6073:20: note: because 'msl::safeint3::SafeInt' has user-provided 'msl::safeint3::SafeInt& msl::safeint3::SafeInt::operator=(const msl::safeint3::SafeInt&) [with T = long unsigned int; E = msl::safeint3::SafeIntInternal::SafeIntExceptionHandler]' 6073 | SafeInt& operator=(const SafeInt& rhs) SAFEINT_NOTHROW | ^~~~~~~~ /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/details/SafeInt3.hpp:7229:46: note: initializing argument 2 of 'msl::safeint3::SafeInt msl::safeint3::operator+(U, msl::safeint3::SafeInt) [with T = long unsigned int; U = long unsigned int; E = msl::safeint3::SafeIntInternal::SafeIntExceptionHandler]' 7229 | SafeInt operator+(U lhs, SafeInt rhs) SAFEINT_CPP_THROW | ~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/details/SafeInt3.hpp: In instantiation of 'msl::safeint3::SafeInt msl::safeint3::SafeInt::Min(msl::safeint3::SafeInt, T) const [with T = long unsigned int; E = msl::safeint3::SafeIntInternal::SafeIntExceptionHandler]': /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/containerstream.h:395:65: required from 'size_t Concurrency::streams::details::basic_container_buffer<_CollectionType>::read(Concurrency::streams::details::basic_container_buffer<_CollectionType>::_CharType*, size_t, bool) [with _CollectionType = std::vector; size_t = long unsigned int; Concurrency::streams::details::basic_container_buffer<_CollectionType>::_CharType = unsigned char]' /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/containerstream.h:207:45: required from 'pplx::task Concurrency::streams::details::basic_container_buffer<_CollectionType>::_getn(Concurrency::streams::details::basic_container_buffer<_CollectionType>::_CharType*, size_t) [with _CollectionType = std::vector; Concurrency::streams::details::basic_container_buffer<_CollectionType>::_CharType = unsigned char; size_t = long unsigned int]' /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/containerstream.h:205:32: required from here /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/details/SafeInt3.hpp:6724:22: error: implicitly-declared 'constexpr msl::safeint3::SafeInt::SafeInt(const msl::safeint3::SafeInt&)' is deprecated [-Werror=deprecated-copy] 6724 | T tmp = test < m_int ? (T)test : m_int; | ~~~~~^~~~~~~ /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/details/SafeInt3.hpp:6073:20: note: because 'msl::safeint3::SafeInt' has user-provided 'msl::safeint3::SafeInt& msl::safeint3::SafeInt::operator=(const msl::safeint3::SafeInt&) [with T = long unsigned int; E = msl::safeint3::SafeIntInternal::SafeIntExceptionHandler]' 6073 | SafeInt& operator=(const SafeInt& rhs) SAFEINT_NOTHROW | ^~~~~~~~ /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/details/SafeInt3.hpp:6852:30: note: initializing argument 1 of 'bool msl::safeint3::operator<(msl::safeint3::SafeInt, U) [with T = long unsigned int; U = long unsigned int; E = msl::safeint3::SafeIntInternal::SafeIntExceptionHandler]' 6852 | bool operator<(SafeInt lhs, U rhs) SAFEINT_NOTHROW | ~~~~~~~~~~~~~~^~~ cc1plus: all warnings being treated as errors make[2]: *** [src/CMakeFiles/cpprest.dir/build.make:89: src/CMakeFiles/cpprest.dir/http/common/http_compression.cpp.o] Error 1 make[2]: Leaving directory '/usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/BUILD' [ 5%] Building CXX object src/CMakeFiles/cpprest.dir/http/listener/http_listener_msg.cpp.o In file included from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/src/pch/stdafx.h:88, from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/src/http/listener/http_listener_msg.cpp:11: /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/json.h: In member function 'web::json::value& web::json::array::operator[](web::json::array::size_type)': /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/json.h:921:25: error: implicitly-declared 'constexpr msl::safeint3::SafeInt::SafeInt(const msl::safeint3::SafeInt&)' is deprecated [-Werror=deprecated-copy] 921 | if (nlastSize < nMinSize) m_elements.resize(nMinSize); | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/details/basic_types.h:31, from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/src/pch/stdafx.h:73, from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/src/http/listener/http_listener_msg.cpp:11: /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/details/SafeInt3.hpp:6073:20: note: because 'msl::safeint3::SafeInt' has user-provided 'msl::safeint3::SafeInt& msl::safeint3::SafeInt::operator=(const msl::safeint3::SafeInt&) [with T = long unsigned int; E = msl::safeint3::SafeIntInternal::SafeIntExceptionHandler]' 6073 | SafeInt& operator=(const SafeInt& rhs) SAFEINT_NOTHROW | ^~~~~~~~ /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/details/SafeInt3.hpp:6858:30: note: initializing argument 1 of 'bool msl::safeint3::operator<(msl::safeint3::SafeInt, msl::safeint3::SafeInt) [with T = long unsigned int; U = long unsigned int; E = msl::safeint3::SafeIntInternal::SafeIntExceptionHandler]' 6858 | bool operator<(SafeInt lhs, SafeInt rhs) SAFEINT_NOTHROW | ~~~~~~~~~~~~~~^~~ In file included from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/src/pch/stdafx.h:88, from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/src/http/listener/http_listener_msg.cpp:11: /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/json.h:921:25: error: implicitly-declared 'constexpr msl::safeint3::SafeInt::SafeInt(const msl::safeint3::SafeInt&)' is deprecated [-Werror=deprecated-copy] 921 | if (nlastSize < nMinSize) m_elements.resize(nMinSize); | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/details/basic_types.h:31, from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/src/pch/stdafx.h:73, from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/src/http/listener/http_listener_msg.cpp:11: /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/details/SafeInt3.hpp:6073:20: note: because 'msl::safeint3::SafeInt' has user-provided 'msl::safeint3::SafeInt& msl::safeint3::SafeInt::operator=(const msl::safeint3::SafeInt&) [with T = long unsigned int; E = msl::safeint3::SafeIntInternal::SafeIntExceptionHandler]' 6073 | SafeInt& operator=(const SafeInt& rhs) SAFEINT_NOTHROW | ^~~~~~~~ /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/details/SafeInt3.hpp:6858:49: note: initializing argument 2 of 'bool msl::safeint3::operator<(msl::safeint3::SafeInt, msl::safeint3::SafeInt) [with T = long unsigned int; U = long unsigned int; E = msl::safeint3::SafeIntInternal::SafeIntExceptionHandler]' 6858 | bool operator<(SafeInt lhs, SafeInt rhs) SAFEINT_NOTHROW | ~~~~~~~~~~~~~~^~~ In file included from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/http_msg.h:16, from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/details/http_helpers.h:19, from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/src/pch/stdafx.h:98, from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/src/http/listener/http_listener_msg.cpp:11: /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/containerstream.h: In instantiation of 'size_t Concurrency::streams::details::basic_container_buffer<_CollectionType>::in_avail() const [with _CollectionType = std::vector; size_t = long unsigned int]': /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/containerstream.h:108:20: required from here /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/containerstream.h:116:34: error: implicitly-declared 'constexpr msl::safeint3::SafeInt::SafeInt(const msl::safeint3::SafeInt&)' is deprecated [-Werror=deprecated-copy] 116 | return (size_t)(writeend - readhead); | ~~~~~~~~~~^~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/details/basic_types.h:31, from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/src/pch/stdafx.h:73, from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/src/http/listener/http_listener_msg.cpp:11: /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/details/SafeInt3.hpp:6073:20: note: because 'msl::safeint3::SafeInt' has user-provided 'msl::safeint3::SafeInt& msl::safeint3::SafeInt::operator=(const msl::safeint3::SafeInt&) [with T = long unsigned int; E = msl::safeint3::SafeIntInternal::SafeIntExceptionHandler]' 6073 | SafeInt& operator=(const SafeInt& rhs) SAFEINT_NOTHROW | ^~~~~~~~ /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/details/SafeInt3.hpp:6490:43: note: initializing argument 1 of 'msl::safeint3::SafeInt msl::safeint3::SafeInt::operator-(msl::safeint3::SafeInt) const [with T = long unsigned int; E = msl::safeint3::SafeIntInternal::SafeIntExceptionHandler]' 6490 | SafeInt operator-(SafeInt rhs) const SAFEINT_CPP_THROW | ~~~~~~~~~~~~~~^~~ In file included from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/http_msg.h:16, from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/details/http_helpers.h:19, from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/src/pch/stdafx.h:98, from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/src/http/listener/http_listener_msg.cpp:11: /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/containerstream.h: In instantiation of 'size_t Concurrency::streams::details::basic_container_buffer<_CollectionType>::in_avail() const [with _CollectionType = std::__cxx11::basic_string; size_t = long unsigned int]': /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/containerstream.h:108:20: required from here /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/containerstream.h:116:34: error: implicitly-declared 'constexpr msl::safeint3::SafeInt::SafeInt(const msl::safeint3::SafeInt&)' is deprecated [-Werror=deprecated-copy] 116 | return (size_t)(writeend - readhead); | ~~~~~~~~~~^~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/details/basic_types.h:31, from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/src/pch/stdafx.h:73, from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/src/http/listener/http_listener_msg.cpp:11: /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/details/SafeInt3.hpp:6073:20: note: because 'msl::safeint3::SafeInt' has user-provided 'msl::safeint3::SafeInt& msl::safeint3::SafeInt::operator=(const msl::safeint3::SafeInt&) [with T = long unsigned int; E = msl::safeint3::SafeIntInternal::SafeIntExceptionHandler]' 6073 | SafeInt& operator=(const SafeInt& rhs) SAFEINT_NOTHROW | ^~~~~~~~ /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/details/SafeInt3.hpp:6490:43: note: initializing argument 1 of 'msl::safeint3::SafeInt msl::safeint3::SafeInt::operator-(msl::safeint3::SafeInt) const [with T = long unsigned int; E = msl::safeint3::SafeIntInternal::SafeIntExceptionHandler]' 6490 | SafeInt operator-(SafeInt rhs) const SAFEINT_CPP_THROW | ~~~~~~~~~~~~~~^~~ In file included from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/http_msg.h:16, from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/details/http_helpers.h:19, from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/src/pch/stdafx.h:98, from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/src/http/listener/http_listener_msg.cpp:11: /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/containerstream.h: In instantiation of 'size_t Concurrency::streams::details::basic_container_buffer<_CollectionType>::read(Concurrency::streams::details::basic_container_buffer<_CollectionType>::_CharType*, size_t, bool) [with _CollectionType = std::vector; size_t = long unsigned int; Concurrency::streams::details::basic_container_buffer<_CollectionType>::_CharType = unsigned char]': /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/containerstream.h:207:45: required from 'pplx::task Concurrency::streams::details::basic_container_buffer<_CollectionType>::_getn(Concurrency::streams::details::basic_container_buffer<_CollectionType>::_CharType*, size_t) [with _CollectionType = std::vector; Concurrency::streams::details::basic_container_buffer<_CollectionType>::_CharType = unsigned char; size_t = long unsigned int]' /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/containerstream.h:205:32: required from here /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/containerstream.h:397:44: error: implicitly-declared 'constexpr msl::safeint3::SafeInt::SafeInt(const msl::safeint3::SafeInt&)' is deprecated [-Werror=deprecated-copy] 397 | size_t newPos = m_current_position + read_size; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/details/basic_types.h:31, from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/src/pch/stdafx.h:73, from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/src/http/listener/http_listener_msg.cpp:11: /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/details/SafeInt3.hpp:6073:20: note: because 'msl::safeint3::SafeInt' has user-provided 'msl::safeint3::SafeInt& msl::safeint3::SafeInt::operator=(const msl::safeint3::SafeInt&) [with T = long unsigned int; E = msl::safeint3::SafeIntInternal::SafeIntExceptionHandler]' 6073 | SafeInt& operator=(const SafeInt& rhs) SAFEINT_NOTHROW | ^~~~~~~~ /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/details/SafeInt3.hpp:7229:46: note: initializing argument 2 of 'msl::safeint3::SafeInt msl::safeint3::operator+(U, msl::safeint3::SafeInt) [with T = long unsigned int; U = long unsigned int; E = msl::safeint3::SafeIntInternal::SafeIntExceptionHandler]' 7229 | SafeInt operator+(U lhs, SafeInt rhs) SAFEINT_CPP_THROW | ~~~~~~~~~~~~~~^~~ In file included from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/http_msg.h:16, from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/details/http_helpers.h:19, from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/src/pch/stdafx.h:98, from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/src/http/listener/http_listener_msg.cpp:11: /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/containerstream.h: In instantiation of 'size_t Concurrency::streams::details::basic_container_buffer<_CollectionType>::read(Concurrency::streams::details::basic_container_buffer<_CollectionType>::_CharType*, size_t, bool) [with _CollectionType = std::__cxx11::basic_string; size_t = long unsigned int; Concurrency::streams::details::basic_container_buffer<_CollectionType>::_CharType = char]': /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/containerstream.h:207:45: required from 'pplx::task Concurrency::streams::details::basic_container_buffer<_CollectionType>::_getn(Concurrency::streams::details::basic_container_buffer<_CollectionType>::_CharType*, size_t) [with _CollectionType = std::__cxx11::basic_string; Concurrency::streams::details::basic_container_buffer<_CollectionType>::_CharType = char; size_t = long unsigned int]' /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/containerstream.h:205:32: required from here /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/containerstream.h:397:44: error: implicitly-declared 'constexpr msl::safeint3::SafeInt::SafeInt(const msl::safeint3::SafeInt&)' is deprecated [-Werror=deprecated-copy] 397 | size_t newPos = m_current_position + read_size; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/details/basic_types.h:31, from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/src/pch/stdafx.h:73, from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/src/http/listener/http_listener_msg.cpp:11: /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/details/SafeInt3.hpp:6073:20: note: because 'msl::safeint3::SafeInt' has user-provided 'msl::safeint3::SafeInt& msl::safeint3::SafeInt::operator=(const msl::safeint3::SafeInt&) [with T = long unsigned int; E = msl::safeint3::SafeIntInternal::SafeIntExceptionHandler]' 6073 | SafeInt& operator=(const SafeInt& rhs) SAFEINT_NOTHROW | ^~~~~~~~ /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/details/SafeInt3.hpp:7229:46: note: initializing argument 2 of 'msl::safeint3::SafeInt msl::safeint3::operator+(U, msl::safeint3::SafeInt) [with T = long unsigned int; U = long unsigned int; E = msl::safeint3::SafeIntInternal::SafeIntExceptionHandler]' 7229 | SafeInt operator+(U lhs, SafeInt rhs) SAFEINT_CPP_THROW | ~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/details/SafeInt3.hpp: In instantiation of 'msl::safeint3::SafeInt msl::safeint3::SafeInt::Min(msl::safeint3::SafeInt, T) const [with T = long unsigned int; E = msl::safeint3::SafeIntInternal::SafeIntExceptionHandler]': /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/containerstream.h:395:65: required from 'size_t Concurrency::streams::details::basic_container_buffer<_CollectionType>::read(Concurrency::streams::details::basic_container_buffer<_CollectionType>::_CharType*, size_t, bool) [with _CollectionType = std::vector; size_t = long unsigned int; Concurrency::streams::details::basic_container_buffer<_CollectionType>::_CharType = unsigned char]' /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/containerstream.h:207:45: required from 'pplx::task Concurrency::streams::details::basic_container_buffer<_CollectionType>::_getn(Concurrency::streams::details::basic_container_buffer<_CollectionType>::_CharType*, size_t) [with _CollectionType = std::vector; Concurrency::streams::details::basic_container_buffer<_CollectionType>::_CharType = unsigned char; size_t = long unsigned int]' /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/containerstream.h:205:32: required from here /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/details/SafeInt3.hpp:6724:22: error: implicitly-declared 'constexpr msl::safeint3::SafeInt::SafeInt(const msl::safeint3::SafeInt&)' is deprecated [-Werror=deprecated-copy] 6724 | T tmp = test < m_int ? (T)test : m_int; | ~~~~~^~~~~~~ /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/details/SafeInt3.hpp:6073:20: note: because 'msl::safeint3::SafeInt' has user-provided 'msl::safeint3::SafeInt& msl::safeint3::SafeInt::operator=(const msl::safeint3::SafeInt&) [with T = long unsigned int; E = msl::safeint3::SafeIntInternal::SafeIntExceptionHandler]' 6073 | SafeInt& operator=(const SafeInt& rhs) SAFEINT_NOTHROW | ^~~~~~~~ /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/details/SafeInt3.hpp:6852:30: note: initializing argument 1 of 'bool msl::safeint3::operator<(msl::safeint3::SafeInt, U) [with T = long unsigned int; U = long unsigned int; E = msl::safeint3::SafeIntInternal::SafeIntExceptionHandler]' 6852 | bool operator<(SafeInt lhs, U rhs) SAFEINT_NOTHROW | ~~~~~~~~~~~~~~^~~ cc1plus: all warnings being treated as errors make[2]: *** [src/CMakeFiles/cpprest.dir/build.make:141: src/CMakeFiles/cpprest.dir/http/listener/http_listener_msg.cpp.o] Error 1 make[2]: Leaving directory '/usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/BUILD' [ 2%] Building CXX object src/CMakeFiles/cpprest.dir/http/listener/http_listener.cpp.o In file included from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/src/pch/stdafx.h:88, from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/src/http/listener/http_listener.cpp:14: /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/json.h: In member function 'web::json::value& web::json::array::operator[](web::json::array::size_type)': /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/json.h:921:25: error: implicitly-declared 'constexpr msl::safeint3::SafeInt::SafeInt(const msl::safeint3::SafeInt&)' is deprecated [-Werror=deprecated-copy] 921 | if (nlastSize < nMinSize) m_elements.resize(nMinSize); | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/details/basic_types.h:31, from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/src/pch/stdafx.h:73, from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/src/http/listener/http_listener.cpp:14: /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/details/SafeInt3.hpp:6073:20: note: because 'msl::safeint3::SafeInt' has user-provided 'msl::safeint3::SafeInt& msl::safeint3::SafeInt::operator=(const msl::safeint3::SafeInt&) [with T = long unsigned int; E = msl::safeint3::SafeIntInternal::SafeIntExceptionHandler]' 6073 | SafeInt& operator=(const SafeInt& rhs) SAFEINT_NOTHROW | ^~~~~~~~ /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/details/SafeInt3.hpp:6858:30: note: initializing argument 1 of 'bool msl::safeint3::operator<(msl::safeint3::SafeInt, msl::safeint3::SafeInt) [with T = long unsigned int; U = long unsigned int; E = msl::safeint3::SafeIntInternal::SafeIntExceptionHandler]' 6858 | bool operator<(SafeInt lhs, SafeInt rhs) SAFEINT_NOTHROW | ~~~~~~~~~~~~~~^~~ In file included from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/src/pch/stdafx.h:88, from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/src/http/listener/http_listener.cpp:14: /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/json.h:921:25: error: implicitly-declared 'constexpr msl::safeint3::SafeInt::SafeInt(const msl::safeint3::SafeInt&)' is deprecated [-Werror=deprecated-copy] 921 | if (nlastSize < nMinSize) m_elements.resize(nMinSize); | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/details/basic_types.h:31, from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/src/pch/stdafx.h:73, from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/src/http/listener/http_listener.cpp:14: /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/details/SafeInt3.hpp:6073:20: note: because 'msl::safeint3::SafeInt' has user-provided 'msl::safeint3::SafeInt& msl::safeint3::SafeInt::operator=(const msl::safeint3::SafeInt&) [with T = long unsigned int; E = msl::safeint3::SafeIntInternal::SafeIntExceptionHandler]' 6073 | SafeInt& operator=(const SafeInt& rhs) SAFEINT_NOTHROW | ^~~~~~~~ /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/details/SafeInt3.hpp:6858:49: note: initializing argument 2 of 'bool msl::safeint3::operator<(msl::safeint3::SafeInt, msl::safeint3::SafeInt) [with T = long unsigned int; U = long unsigned int; E = msl::safeint3::SafeIntInternal::SafeIntExceptionHandler]' 6858 | bool operator<(SafeInt lhs, SafeInt rhs) SAFEINT_NOTHROW | ~~~~~~~~~~~~~~^~~ In file included from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/http_msg.h:16, from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/details/http_helpers.h:19, from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/src/pch/stdafx.h:98, from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/src/http/listener/http_listener.cpp:14: /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/containerstream.h: In instantiation of 'size_t Concurrency::streams::details::basic_container_buffer<_CollectionType>::in_avail() const [with _CollectionType = std::vector; size_t = long unsigned int]': /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/containerstream.h:108:20: required from here /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/containerstream.h:116:34: error: implicitly-declared 'constexpr msl::safeint3::SafeInt::SafeInt(const msl::safeint3::SafeInt&)' is deprecated [-Werror=deprecated-copy] 116 | return (size_t)(writeend - readhead); | ~~~~~~~~~~^~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/details/basic_types.h:31, from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/src/pch/stdafx.h:73, from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/src/http/listener/http_listener.cpp:14: /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/details/SafeInt3.hpp:6073:20: note: because 'msl::safeint3::SafeInt' has user-provided 'msl::safeint3::SafeInt& msl::safeint3::SafeInt::operator=(const msl::safeint3::SafeInt&) [with T = long unsigned int; E = msl::safeint3::SafeIntInternal::SafeIntExceptionHandler]' 6073 | SafeInt& operator=(const SafeInt& rhs) SAFEINT_NOTHROW | ^~~~~~~~ /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/details/SafeInt3.hpp:6490:43: note: initializing argument 1 of 'msl::safeint3::SafeInt msl::safeint3::SafeInt::operator-(msl::safeint3::SafeInt) const [with T = long unsigned int; E = msl::safeint3::SafeIntInternal::SafeIntExceptionHandler]' 6490 | SafeInt operator-(SafeInt rhs) const SAFEINT_CPP_THROW | ~~~~~~~~~~~~~~^~~ In file included from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/http_msg.h:16, from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/details/http_helpers.h:19, from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/src/pch/stdafx.h:98, from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/src/http/listener/http_listener.cpp:14: /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/containerstream.h: In instantiation of 'size_t Concurrency::streams::details::basic_container_buffer<_CollectionType>::in_avail() const [with _CollectionType = std::__cxx11::basic_string; size_t = long unsigned int]': /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/containerstream.h:108:20: required from here /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/containerstream.h:116:34: error: implicitly-declared 'constexpr msl::safeint3::SafeInt::SafeInt(const msl::safeint3::SafeInt&)' is deprecated [-Werror=deprecated-copy] 116 | return (size_t)(writeend - readhead); | ~~~~~~~~~~^~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/details/basic_types.h:31, from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/src/pch/stdafx.h:73, from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/src/http/listener/http_listener.cpp:14: /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/details/SafeInt3.hpp:6073:20: note: because 'msl::safeint3::SafeInt' has user-provided 'msl::safeint3::SafeInt& msl::safeint3::SafeInt::operator=(const msl::safeint3::SafeInt&) [with T = long unsigned int; E = msl::safeint3::SafeIntInternal::SafeIntExceptionHandler]' 6073 | SafeInt& operator=(const SafeInt& rhs) SAFEINT_NOTHROW | ^~~~~~~~ /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/details/SafeInt3.hpp:6490:43: note: initializing argument 1 of 'msl::safeint3::SafeInt msl::safeint3::SafeInt::operator-(msl::safeint3::SafeInt) const [with T = long unsigned int; E = msl::safeint3::SafeIntInternal::SafeIntExceptionHandler]' 6490 | SafeInt operator-(SafeInt rhs) const SAFEINT_CPP_THROW | ~~~~~~~~~~~~~~^~~ In file included from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/http_msg.h:16, from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/details/http_helpers.h:19, from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/src/pch/stdafx.h:98, from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/src/http/listener/http_listener.cpp:14: /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/containerstream.h: In instantiation of 'size_t Concurrency::streams::details::basic_container_buffer<_CollectionType>::read(Concurrency::streams::details::basic_container_buffer<_CollectionType>::_CharType*, size_t, bool) [with _CollectionType = std::vector; size_t = long unsigned int; Concurrency::streams::details::basic_container_buffer<_CollectionType>::_CharType = unsigned char]': /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/containerstream.h:207:45: required from 'pplx::task Concurrency::streams::details::basic_container_buffer<_CollectionType>::_getn(Concurrency::streams::details::basic_container_buffer<_CollectionType>::_CharType*, size_t) [with _CollectionType = std::vector; Concurrency::streams::details::basic_container_buffer<_CollectionType>::_CharType = unsigned char; size_t = long unsigned int]' /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/containerstream.h:205:32: required from here /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/containerstream.h:397:44: error: implicitly-declared 'constexpr msl::safeint3::SafeInt::SafeInt(const msl::safeint3::SafeInt&)' is deprecated [-Werror=deprecated-copy] 397 | size_t newPos = m_current_position + read_size; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/details/basic_types.h:31, from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/src/pch/stdafx.h:73, from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/src/http/listener/http_listener.cpp:14: /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/details/SafeInt3.hpp:6073:20: note: because 'msl::safeint3::SafeInt' has user-provided 'msl::safeint3::SafeInt& msl::safeint3::SafeInt::operator=(const msl::safeint3::SafeInt&) [with T = long unsigned int; E = msl::safeint3::SafeIntInternal::SafeIntExceptionHandler]' 6073 | SafeInt& operator=(const SafeInt& rhs) SAFEINT_NOTHROW | ^~~~~~~~ /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/details/SafeInt3.hpp:7229:46: note: initializing argument 2 of 'msl::safeint3::SafeInt msl::safeint3::operator+(U, msl::safeint3::SafeInt) [with T = long unsigned int; U = long unsigned int; E = msl::safeint3::SafeIntInternal::SafeIntExceptionHandler]' 7229 | SafeInt operator+(U lhs, SafeInt rhs) SAFEINT_CPP_THROW | ~~~~~~~~~~~~~~^~~ In file included from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/http_msg.h:16, from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/details/http_helpers.h:19, from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/src/pch/stdafx.h:98, from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/src/http/listener/http_listener.cpp:14: /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/containerstream.h: In instantiation of 'size_t Concurrency::streams::details::basic_container_buffer<_CollectionType>::read(Concurrency::streams::details::basic_container_buffer<_CollectionType>::_CharType*, size_t, bool) [with _CollectionType = std::__cxx11::basic_string; size_t = long unsigned int; Concurrency::streams::details::basic_container_buffer<_CollectionType>::_CharType = char]': /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/containerstream.h:207:45: required from 'pplx::task Concurrency::streams::details::basic_container_buffer<_CollectionType>::_getn(Concurrency::streams::details::basic_container_buffer<_CollectionType>::_CharType*, size_t) [with _CollectionType = std::__cxx11::basic_string; Concurrency::streams::details::basic_container_buffer<_CollectionType>::_CharType = char; size_t = long unsigned int]' /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/containerstream.h:205:32: required from here /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/containerstream.h:397:44: error: implicitly-declared 'constexpr msl::safeint3::SafeInt::SafeInt(const msl::safeint3::SafeInt&)' is deprecated [-Werror=deprecated-copy] 397 | size_t newPos = m_current_position + read_size; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/details/basic_types.h:31, from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/src/pch/stdafx.h:73, from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/src/http/listener/http_listener.cpp:14: /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/details/SafeInt3.hpp:6073:20: note: because 'msl::safeint3::SafeInt' has user-provided 'msl::safeint3::SafeInt& msl::safeint3::SafeInt::operator=(const msl::safeint3::SafeInt&) [with T = long unsigned int; E = msl::safeint3::SafeIntInternal::SafeIntExceptionHandler]' 6073 | SafeInt& operator=(const SafeInt& rhs) SAFEINT_NOTHROW | ^~~~~~~~ /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/details/SafeInt3.hpp:7229:46: note: initializing argument 2 of 'msl::safeint3::SafeInt msl::safeint3::operator+(U, msl::safeint3::SafeInt) [with T = long unsigned int; U = long unsigned int; E = msl::safeint3::SafeIntInternal::SafeIntExceptionHandler]' 7229 | SafeInt operator+(U lhs, SafeInt rhs) SAFEINT_CPP_THROW | ~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/details/SafeInt3.hpp: In instantiation of 'msl::safeint3::SafeInt msl::safeint3::SafeInt::Min(msl::safeint3::SafeInt, T) const [with T = long unsigned int; E = msl::safeint3::SafeIntInternal::SafeIntExceptionHandler]': /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/containerstream.h:395:65: required from 'size_t Concurrency::streams::details::basic_container_buffer<_CollectionType>::read(Concurrency::streams::details::basic_container_buffer<_CollectionType>::_CharType*, size_t, bool) [with _CollectionType = std::vector; size_t = long unsigned int; Concurrency::streams::details::basic_container_buffer<_CollectionType>::_CharType = unsigned char]' /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/containerstream.h:207:45: required from 'pplx::task Concurrency::streams::details::basic_container_buffer<_CollectionType>::_getn(Concurrency::streams::details::basic_container_buffer<_CollectionType>::_CharType*, size_t) [with _CollectionType = std::vector; Concurrency::streams::details::basic_container_buffer<_CollectionType>::_CharType = unsigned char; size_t = long unsigned int]' /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/containerstream.h:205:32: required from here /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/details/SafeInt3.hpp:6724:22: error: implicitly-declared 'constexpr msl::safeint3::SafeInt::SafeInt(const msl::safeint3::SafeInt&)' is deprecated [-Werror=deprecated-copy] 6724 | T tmp = test < m_int ? (T)test : m_int; | ~~~~~^~~~~~~ /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/details/SafeInt3.hpp:6073:20: note: because 'msl::safeint3::SafeInt' has user-provided 'msl::safeint3::SafeInt& msl::safeint3::SafeInt::operator=(const msl::safeint3::SafeInt&) [with T = long unsigned int; E = msl::safeint3::SafeIntInternal::SafeIntExceptionHandler]' 6073 | SafeInt& operator=(const SafeInt& rhs) SAFEINT_NOTHROW | ^~~~~~~~ /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/details/SafeInt3.hpp:6852:30: note: initializing argument 1 of 'bool msl::safeint3::operator<(msl::safeint3::SafeInt, U) [with T = long unsigned int; U = long unsigned int; E = msl::safeint3::SafeIntInternal::SafeIntExceptionHandler]' 6852 | bool operator<(SafeInt lhs, U rhs) SAFEINT_NOTHROW | ~~~~~~~~~~~~~~^~~ cc1plus: all warnings being treated as errors make[2]: *** [src/CMakeFiles/cpprest.dir/build.make:128: src/CMakeFiles/cpprest.dir/http/listener/http_listener.cpp.o] Error 1 make[2]: Leaving directory '/usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/BUILD' [ 1%] Building CXX object src/CMakeFiles/cpprest.dir/http/common/http_msg.cpp.o In file included from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/src/pch/stdafx.h:88, from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/src/http/common/http_msg.cpp:13: /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/json.h: In member function 'web::json::value& web::json::array::operator[](web::json::array::size_type)': /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/json.h:921:25: error: implicitly-declared 'constexpr msl::safeint3::SafeInt::SafeInt(const msl::safeint3::SafeInt&)' is deprecated [-Werror=deprecated-copy] 921 | if (nlastSize < nMinSize) m_elements.resize(nMinSize); | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/details/basic_types.h:31, from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/src/pch/stdafx.h:73, from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/src/http/common/http_msg.cpp:13: /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/details/SafeInt3.hpp:6073:20: note: because 'msl::safeint3::SafeInt' has user-provided 'msl::safeint3::SafeInt& msl::safeint3::SafeInt::operator=(const msl::safeint3::SafeInt&) [with T = long unsigned int; E = msl::safeint3::SafeIntInternal::SafeIntExceptionHandler]' 6073 | SafeInt& operator=(const SafeInt& rhs) SAFEINT_NOTHROW | ^~~~~~~~ /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/details/SafeInt3.hpp:6858:30: note: initializing argument 1 of 'bool msl::safeint3::operator<(msl::safeint3::SafeInt, msl::safeint3::SafeInt) [with T = long unsigned int; U = long unsigned int; E = msl::safeint3::SafeIntInternal::SafeIntExceptionHandler]' 6858 | bool operator<(SafeInt lhs, SafeInt rhs) SAFEINT_NOTHROW | ~~~~~~~~~~~~~~^~~ In file included from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/src/pch/stdafx.h:88, from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/src/http/common/http_msg.cpp:13: /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/json.h:921:25: error: implicitly-declared 'constexpr msl::safeint3::SafeInt::SafeInt(const msl::safeint3::SafeInt&)' is deprecated [-Werror=deprecated-copy] 921 | if (nlastSize < nMinSize) m_elements.resize(nMinSize); | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/details/basic_types.h:31, from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/src/pch/stdafx.h:73, from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/src/http/common/http_msg.cpp:13: /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/details/SafeInt3.hpp:6073:20: note: because 'msl::safeint3::SafeInt' has user-provided 'msl::safeint3::SafeInt& msl::safeint3::SafeInt::operator=(const msl::safeint3::SafeInt&) [with T = long unsigned int; E = msl::safeint3::SafeIntInternal::SafeIntExceptionHandler]' 6073 | SafeInt& operator=(const SafeInt& rhs) SAFEINT_NOTHROW | ^~~~~~~~ /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/details/SafeInt3.hpp:6858:49: note: initializing argument 2 of 'bool msl::safeint3::operator<(msl::safeint3::SafeInt, msl::safeint3::SafeInt) [with T = long unsigned int; U = long unsigned int; E = msl::safeint3::SafeIntInternal::SafeIntExceptionHandler]' 6858 | bool operator<(SafeInt lhs, SafeInt rhs) SAFEINT_NOTHROW | ~~~~~~~~~~~~~~^~~ In file included from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/http_msg.h:16, from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/details/http_helpers.h:19, from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/src/pch/stdafx.h:98, from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/src/http/common/http_msg.cpp:13: /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/containerstream.h: In instantiation of 'size_t Concurrency::streams::details::basic_container_buffer<_CollectionType>::in_avail() const [with _CollectionType = std::vector; size_t = long unsigned int]': /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/containerstream.h:108:20: required from here /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/containerstream.h:116:34: error: implicitly-declared 'constexpr msl::safeint3::SafeInt::SafeInt(const msl::safeint3::SafeInt&)' is deprecated [-Werror=deprecated-copy] 116 | return (size_t)(writeend - readhead); | ~~~~~~~~~~^~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/details/basic_types.h:31, from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/src/pch/stdafx.h:73, from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/src/http/common/http_msg.cpp:13: /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/details/SafeInt3.hpp:6073:20: note: because 'msl::safeint3::SafeInt' has user-provided 'msl::safeint3::SafeInt& msl::safeint3::SafeInt::operator=(const msl::safeint3::SafeInt&) [with T = long unsigned int; E = msl::safeint3::SafeIntInternal::SafeIntExceptionHandler]' 6073 | SafeInt& operator=(const SafeInt& rhs) SAFEINT_NOTHROW | ^~~~~~~~ /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/details/SafeInt3.hpp:6490:43: note: initializing argument 1 of 'msl::safeint3::SafeInt msl::safeint3::SafeInt::operator-(msl::safeint3::SafeInt) const [with T = long unsigned int; E = msl::safeint3::SafeIntInternal::SafeIntExceptionHandler]' 6490 | SafeInt operator-(SafeInt rhs) const SAFEINT_CPP_THROW | ~~~~~~~~~~~~~~^~~ In file included from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/http_msg.h:16, from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/details/http_helpers.h:19, from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/src/pch/stdafx.h:98, from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/src/http/common/http_msg.cpp:13: /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/containerstream.h: In instantiation of 'size_t Concurrency::streams::details::basic_container_buffer<_CollectionType>::in_avail() const [with _CollectionType = std::__cxx11::basic_string; size_t = long unsigned int]': /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/containerstream.h:108:20: required from here /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/containerstream.h:116:34: error: implicitly-declared 'constexpr msl::safeint3::SafeInt::SafeInt(const msl::safeint3::SafeInt&)' is deprecated [-Werror=deprecated-copy] 116 | return (size_t)(writeend - readhead); | ~~~~~~~~~~^~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/details/basic_types.h:31, from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/src/pch/stdafx.h:73, from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/src/http/common/http_msg.cpp:13: /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/details/SafeInt3.hpp:6073:20: note: because 'msl::safeint3::SafeInt' has user-provided 'msl::safeint3::SafeInt& msl::safeint3::SafeInt::operator=(const msl::safeint3::SafeInt&) [with T = long unsigned int; E = msl::safeint3::SafeIntInternal::SafeIntExceptionHandler]' 6073 | SafeInt& operator=(const SafeInt& rhs) SAFEINT_NOTHROW | ^~~~~~~~ /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/details/SafeInt3.hpp:6490:43: note: initializing argument 1 of 'msl::safeint3::SafeInt msl::safeint3::SafeInt::operator-(msl::safeint3::SafeInt) const [with T = long unsigned int; E = msl::safeint3::SafeIntInternal::SafeIntExceptionHandler]' 6490 | SafeInt operator-(SafeInt rhs) const SAFEINT_CPP_THROW | ~~~~~~~~~~~~~~^~~ In file included from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/http_msg.h:16, from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/details/http_helpers.h:19, from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/src/pch/stdafx.h:98, from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/src/http/common/http_msg.cpp:13: /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/containerstream.h: In instantiation of 'size_t Concurrency::streams::details::basic_container_buffer<_CollectionType>::read(Concurrency::streams::details::basic_container_buffer<_CollectionType>::_CharType*, size_t, bool) [with _CollectionType = std::vector; size_t = long unsigned int; Concurrency::streams::details::basic_container_buffer<_CollectionType>::_CharType = unsigned char]': /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/containerstream.h:207:45: required from 'pplx::task Concurrency::streams::details::basic_container_buffer<_CollectionType>::_getn(Concurrency::streams::details::basic_container_buffer<_CollectionType>::_CharType*, size_t) [with _CollectionType = std::vector; Concurrency::streams::details::basic_container_buffer<_CollectionType>::_CharType = unsigned char; size_t = long unsigned int]' /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/containerstream.h:205:32: required from here /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/containerstream.h:397:44: error: implicitly-declared 'constexpr msl::safeint3::SafeInt::SafeInt(const msl::safeint3::SafeInt&)' is deprecated [-Werror=deprecated-copy] 397 | size_t newPos = m_current_position + read_size; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/details/basic_types.h:31, from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/src/pch/stdafx.h:73, from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/src/http/common/http_msg.cpp:13: /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/details/SafeInt3.hpp:6073:20: note: because 'msl::safeint3::SafeInt' has user-provided 'msl::safeint3::SafeInt& msl::safeint3::SafeInt::operator=(const msl::safeint3::SafeInt&) [with T = long unsigned int; E = msl::safeint3::SafeIntInternal::SafeIntExceptionHandler]' 6073 | SafeInt& operator=(const SafeInt& rhs) SAFEINT_NOTHROW | ^~~~~~~~ /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/details/SafeInt3.hpp:7229:46: note: initializing argument 2 of 'msl::safeint3::SafeInt msl::safeint3::operator+(U, msl::safeint3::SafeInt) [with T = long unsigned int; U = long unsigned int; E = msl::safeint3::SafeIntInternal::SafeIntExceptionHandler]' 7229 | SafeInt operator+(U lhs, SafeInt rhs) SAFEINT_CPP_THROW | ~~~~~~~~~~~~~~^~~ In file included from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/http_msg.h:16, from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/details/http_helpers.h:19, from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/src/pch/stdafx.h:98, from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/src/http/common/http_msg.cpp:13: /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/containerstream.h: In instantiation of 'size_t Concurrency::streams::details::basic_container_buffer<_CollectionType>::read(Concurrency::streams::details::basic_container_buffer<_CollectionType>::_CharType*, size_t, bool) [with _CollectionType = std::__cxx11::basic_string; size_t = long unsigned int; Concurrency::streams::details::basic_container_buffer<_CollectionType>::_CharType = char]': /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/containerstream.h:207:45: required from 'pplx::task Concurrency::streams::details::basic_container_buffer<_CollectionType>::_getn(Concurrency::streams::details::basic_container_buffer<_CollectionType>::_CharType*, size_t) [with _CollectionType = std::__cxx11::basic_string; Concurrency::streams::details::basic_container_buffer<_CollectionType>::_CharType = char; size_t = long unsigned int]' /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/containerstream.h:205:32: required from here /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/containerstream.h:397:44: error: implicitly-declared 'constexpr msl::safeint3::SafeInt::SafeInt(const msl::safeint3::SafeInt&)' is deprecated [-Werror=deprecated-copy] 397 | size_t newPos = m_current_position + read_size; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/details/basic_types.h:31, from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/src/pch/stdafx.h:73, from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/src/http/common/http_msg.cpp:13: /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/details/SafeInt3.hpp:6073:20: note: because 'msl::safeint3::SafeInt' has user-provided 'msl::safeint3::SafeInt& msl::safeint3::SafeInt::operator=(const msl::safeint3::SafeInt&) [with T = long unsigned int; E = msl::safeint3::SafeIntInternal::SafeIntExceptionHandler]' 6073 | SafeInt& operator=(const SafeInt& rhs) SAFEINT_NOTHROW | ^~~~~~~~ /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/details/SafeInt3.hpp:7229:46: note: initializing argument 2 of 'msl::safeint3::SafeInt msl::safeint3::operator+(U, msl::safeint3::SafeInt) [with T = long unsigned int; U = long unsigned int; E = msl::safeint3::SafeIntInternal::SafeIntExceptionHandler]' 7229 | SafeInt operator+(U lhs, SafeInt rhs) SAFEINT_CPP_THROW | ~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/details/SafeInt3.hpp: In instantiation of 'msl::safeint3::SafeInt msl::safeint3::SafeInt::Min(msl::safeint3::SafeInt, T) const [with T = long unsigned int; E = msl::safeint3::SafeIntInternal::SafeIntExceptionHandler]': /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/containerstream.h:395:65: required from 'size_t Concurrency::streams::details::basic_container_buffer<_CollectionType>::read(Concurrency::streams::details::basic_container_buffer<_CollectionType>::_CharType*, size_t, bool) [with _CollectionType = std::vector; size_t = long unsigned int; Concurrency::streams::details::basic_container_buffer<_CollectionType>::_CharType = unsigned char]' /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/containerstream.h:207:45: required from 'pplx::task Concurrency::streams::details::basic_container_buffer<_CollectionType>::_getn(Concurrency::streams::details::basic_container_buffer<_CollectionType>::_CharType*, size_t) [with _CollectionType = std::vector; Concurrency::streams::details::basic_container_buffer<_CollectionType>::_CharType = unsigned char; size_t = long unsigned int]' /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/containerstream.h:205:32: required from here /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/details/SafeInt3.hpp:6724:22: error: implicitly-declared 'constexpr msl::safeint3::SafeInt::SafeInt(const msl::safeint3::SafeInt&)' is deprecated [-Werror=deprecated-copy] 6724 | T tmp = test < m_int ? (T)test : m_int; | ~~~~~^~~~~~~ /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/details/SafeInt3.hpp:6073:20: note: because 'msl::safeint3::SafeInt' has user-provided 'msl::safeint3::SafeInt& msl::safeint3::SafeInt::operator=(const msl::safeint3::SafeInt&) [with T = long unsigned int; E = msl::safeint3::SafeIntInternal::SafeIntExceptionHandler]' 6073 | SafeInt& operator=(const SafeInt& rhs) SAFEINT_NOTHROW | ^~~~~~~~ /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/details/SafeInt3.hpp:6852:30: note: initializing argument 1 of 'bool msl::safeint3::operator<(msl::safeint3::SafeInt, U) [with T = long unsigned int; U = long unsigned int; E = msl::safeint3::SafeIntInternal::SafeIntExceptionHandler]' 6852 | bool operator<(SafeInt lhs, U rhs) SAFEINT_NOTHROW | ~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/details/SafeInt3.hpp: In instantiation of 'msl::safeint3::SafeInt msl::safeint3::SafeInt::Max(msl::safeint3::SafeInt, T) const [with T = long unsigned int; E = msl::safeint3::SafeIntInternal::SafeIntExceptionHandler]': /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/producerconsumerstream.h:369:68: required from 'size_t Concurrency::streams::details::basic_producer_consumer_buffer<_CharType>::write(const _CharType*, size_t) [with _CharType = unsigned char; size_t = long unsigned int]' /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/producerconsumerstream.h:252:46: required from 'pplx::task::int_type> Concurrency::streams::details::basic_producer_consumer_buffer<_CharType>::_putc(_CharType) [with _CharType = unsigned char; typename Concurrency::streams::details::basic_streambuf<_CharType>::int_type = int]' /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/producerconsumerstream.h:250:34: required from here /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/details/SafeInt3.hpp:6730:22: error: implicitly-declared 'constexpr msl::safeint3::SafeInt::SafeInt(const msl::safeint3::SafeInt&)' is deprecated [-Werror=deprecated-copy] 6730 | T tmp = test > m_int ? (T)test : m_int; | ~~~~~^~~~~~~ /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/details/SafeInt3.hpp:6073:20: note: because 'msl::safeint3::SafeInt' has user-provided 'msl::safeint3::SafeInt& msl::safeint3::SafeInt::operator=(const msl::safeint3::SafeInt&) [with T = long unsigned int; E = msl::safeint3::SafeIntInternal::SafeIntExceptionHandler]' 6073 | SafeInt& operator=(const SafeInt& rhs) SAFEINT_NOTHROW | ^~~~~~~~ /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/details/SafeInt3.hpp:6871:30: note: initializing argument 1 of 'bool msl::safeint3::operator>(msl::safeint3::SafeInt, U) [with T = long unsigned int; U = long unsigned int; E = msl::safeint3::SafeIntInternal::SafeIntExceptionHandler]' 6871 | bool operator>(SafeInt lhs, U rhs) SAFEINT_NOTHROW | ~~~~~~~~~~~~~~^~~ cc1plus: all warnings being treated as errors make[2]: *** [src/CMakeFiles/cpprest.dir/build.make:115: src/CMakeFiles/cpprest.dir/http/common/http_msg.cpp.o] Error 1 make[2]: Leaving directory '/usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/BUILD' [ 1%] Building CXX object src/CMakeFiles/cpprest.dir/http/common/http_helpers.cpp.o In file included from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/src/pch/stdafx.h:88, from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/src/http/common/http_helpers.cpp:14: /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/json.h: In member function 'web::json::value& web::json::array::operator[](web::json::array::size_type)': /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/json.h:921:25: error: implicitly-declared 'constexpr msl::safeint3::SafeInt::SafeInt(const msl::safeint3::SafeInt&)' is deprecated [-Werror=deprecated-copy] 921 | if (nlastSize < nMinSize) m_elements.resize(nMinSize); | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/details/basic_types.h:31, from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/src/pch/stdafx.h:73, from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/src/http/common/http_helpers.cpp:14: /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/details/SafeInt3.hpp:6073:20: note: because 'msl::safeint3::SafeInt' has user-provided 'msl::safeint3::SafeInt& msl::safeint3::SafeInt::operator=(const msl::safeint3::SafeInt&) [with T = long unsigned int; E = msl::safeint3::SafeIntInternal::SafeIntExceptionHandler]' 6073 | SafeInt& operator=(const SafeInt& rhs) SAFEINT_NOTHROW | ^~~~~~~~ /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/details/SafeInt3.hpp:6858:30: note: initializing argument 1 of 'bool msl::safeint3::operator<(msl::safeint3::SafeInt, msl::safeint3::SafeInt) [with T = long unsigned int; U = long unsigned int; E = msl::safeint3::SafeIntInternal::SafeIntExceptionHandler]' 6858 | bool operator<(SafeInt lhs, SafeInt rhs) SAFEINT_NOTHROW | ~~~~~~~~~~~~~~^~~ In file included from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/src/pch/stdafx.h:88, from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/src/http/common/http_helpers.cpp:14: /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/json.h:921:25: error: implicitly-declared 'constexpr msl::safeint3::SafeInt::SafeInt(const msl::safeint3::SafeInt&)' is deprecated [-Werror=deprecated-copy] 921 | if (nlastSize < nMinSize) m_elements.resize(nMinSize); | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/details/basic_types.h:31, from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/src/pch/stdafx.h:73, from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/src/http/common/http_helpers.cpp:14: /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/details/SafeInt3.hpp:6073:20: note: because 'msl::safeint3::SafeInt' has user-provided 'msl::safeint3::SafeInt& msl::safeint3::SafeInt::operator=(const msl::safeint3::SafeInt&) [with T = long unsigned int; E = msl::safeint3::SafeIntInternal::SafeIntExceptionHandler]' 6073 | SafeInt& operator=(const SafeInt& rhs) SAFEINT_NOTHROW | ^~~~~~~~ /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/details/SafeInt3.hpp:6858:49: note: initializing argument 2 of 'bool msl::safeint3::operator<(msl::safeint3::SafeInt, msl::safeint3::SafeInt) [with T = long unsigned int; U = long unsigned int; E = msl::safeint3::SafeIntInternal::SafeIntExceptionHandler]' 6858 | bool operator<(SafeInt lhs, SafeInt rhs) SAFEINT_NOTHROW | ~~~~~~~~~~~~~~^~~ In file included from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/http_msg.h:16, from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/details/http_helpers.h:19, from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/src/pch/stdafx.h:98, from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/src/http/common/http_helpers.cpp:14: /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/containerstream.h: In instantiation of 'size_t Concurrency::streams::details::basic_container_buffer<_CollectionType>::in_avail() const [with _CollectionType = std::vector; size_t = long unsigned int]': /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/containerstream.h:108:20: required from here /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/containerstream.h:116:34: error: implicitly-declared 'constexpr msl::safeint3::SafeInt::SafeInt(const msl::safeint3::SafeInt&)' is deprecated [-Werror=deprecated-copy] 116 | return (size_t)(writeend - readhead); | ~~~~~~~~~~^~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/details/basic_types.h:31, from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/src/pch/stdafx.h:73, from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/src/http/common/http_helpers.cpp:14: /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/details/SafeInt3.hpp:6073:20: note: because 'msl::safeint3::SafeInt' has user-provided 'msl::safeint3::SafeInt& msl::safeint3::SafeInt::operator=(const msl::safeint3::SafeInt&) [with T = long unsigned int; E = msl::safeint3::SafeIntInternal::SafeIntExceptionHandler]' 6073 | SafeInt& operator=(const SafeInt& rhs) SAFEINT_NOTHROW | ^~~~~~~~ /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/details/SafeInt3.hpp:6490:43: note: initializing argument 1 of 'msl::safeint3::SafeInt msl::safeint3::SafeInt::operator-(msl::safeint3::SafeInt) const [with T = long unsigned int; E = msl::safeint3::SafeIntInternal::SafeIntExceptionHandler]' 6490 | SafeInt operator-(SafeInt rhs) const SAFEINT_CPP_THROW | ~~~~~~~~~~~~~~^~~ In file included from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/http_msg.h:16, from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/details/http_helpers.h:19, from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/src/pch/stdafx.h:98, from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/src/http/common/http_helpers.cpp:14: /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/containerstream.h: In instantiation of 'size_t Concurrency::streams::details::basic_container_buffer<_CollectionType>::in_avail() const [with _CollectionType = std::__cxx11::basic_string; size_t = long unsigned int]': /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/containerstream.h:108:20: required from here /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/containerstream.h:116:34: error: implicitly-declared 'constexpr msl::safeint3::SafeInt::SafeInt(const msl::safeint3::SafeInt&)' is deprecated [-Werror=deprecated-copy] 116 | return (size_t)(writeend - readhead); | ~~~~~~~~~~^~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/details/basic_types.h:31, from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/src/pch/stdafx.h:73, from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/src/http/common/http_helpers.cpp:14: /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/details/SafeInt3.hpp:6073:20: note: because 'msl::safeint3::SafeInt' has user-provided 'msl::safeint3::SafeInt& msl::safeint3::SafeInt::operator=(const msl::safeint3::SafeInt&) [with T = long unsigned int; E = msl::safeint3::SafeIntInternal::SafeIntExceptionHandler]' 6073 | SafeInt& operator=(const SafeInt& rhs) SAFEINT_NOTHROW | ^~~~~~~~ /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/details/SafeInt3.hpp:6490:43: note: initializing argument 1 of 'msl::safeint3::SafeInt msl::safeint3::SafeInt::operator-(msl::safeint3::SafeInt) const [with T = long unsigned int; E = msl::safeint3::SafeIntInternal::SafeIntExceptionHandler]' 6490 | SafeInt operator-(SafeInt rhs) const SAFEINT_CPP_THROW | ~~~~~~~~~~~~~~^~~ In file included from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/http_msg.h:16, from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/details/http_helpers.h:19, from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/src/pch/stdafx.h:98, from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/src/http/common/http_helpers.cpp:14: /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/containerstream.h: In instantiation of 'size_t Concurrency::streams::details::basic_container_buffer<_CollectionType>::read(Concurrency::streams::details::basic_container_buffer<_CollectionType>::_CharType*, size_t, bool) [with _CollectionType = std::vector; size_t = long unsigned int; Concurrency::streams::details::basic_container_buffer<_CollectionType>::_CharType = unsigned char]': /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/containerstream.h:207:45: required from 'pplx::task Concurrency::streams::details::basic_container_buffer<_CollectionType>::_getn(Concurrency::streams::details::basic_container_buffer<_CollectionType>::_CharType*, size_t) [with _CollectionType = std::vector; Concurrency::streams::details::basic_container_buffer<_CollectionType>::_CharType = unsigned char; size_t = long unsigned int]' /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/containerstream.h:205:32: required from here /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/containerstream.h:397:44: error: implicitly-declared 'constexpr msl::safeint3::SafeInt::SafeInt(const msl::safeint3::SafeInt&)' is deprecated [-Werror=deprecated-copy] 397 | size_t newPos = m_current_position + read_size; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/details/basic_types.h:31, from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/src/pch/stdafx.h:73, from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/src/http/common/http_helpers.cpp:14: /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/details/SafeInt3.hpp:6073:20: note: because 'msl::safeint3::SafeInt' has user-provided 'msl::safeint3::SafeInt& msl::safeint3::SafeInt::operator=(const msl::safeint3::SafeInt&) [with T = long unsigned int; E = msl::safeint3::SafeIntInternal::SafeIntExceptionHandler]' 6073 | SafeInt& operator=(const SafeInt& rhs) SAFEINT_NOTHROW | ^~~~~~~~ /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/details/SafeInt3.hpp:7229:46: note: initializing argument 2 of 'msl::safeint3::SafeInt msl::safeint3::operator+(U, msl::safeint3::SafeInt) [with T = long unsigned int; U = long unsigned int; E = msl::safeint3::SafeIntInternal::SafeIntExceptionHandler]' 7229 | SafeInt operator+(U lhs, SafeInt rhs) SAFEINT_CPP_THROW | ~~~~~~~~~~~~~~^~~ In file included from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/http_msg.h:16, from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/details/http_helpers.h:19, from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/src/pch/stdafx.h:98, from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/src/http/common/http_helpers.cpp:14: /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/containerstream.h: In instantiation of 'size_t Concurrency::streams::details::basic_container_buffer<_CollectionType>::read(Concurrency::streams::details::basic_container_buffer<_CollectionType>::_CharType*, size_t, bool) [with _CollectionType = std::__cxx11::basic_string; size_t = long unsigned int; Concurrency::streams::details::basic_container_buffer<_CollectionType>::_CharType = char]': /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/containerstream.h:207:45: required from 'pplx::task Concurrency::streams::details::basic_container_buffer<_CollectionType>::_getn(Concurrency::streams::details::basic_container_buffer<_CollectionType>::_CharType*, size_t) [with _CollectionType = std::__cxx11::basic_string; Concurrency::streams::details::basic_container_buffer<_CollectionType>::_CharType = char; size_t = long unsigned int]' /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/containerstream.h:205:32: required from here /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/containerstream.h:397:44: error: implicitly-declared 'constexpr msl::safeint3::SafeInt::SafeInt(const msl::safeint3::SafeInt&)' is deprecated [-Werror=deprecated-copy] 397 | size_t newPos = m_current_position + read_size; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/details/basic_types.h:31, from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/src/pch/stdafx.h:73, from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/src/http/common/http_helpers.cpp:14: /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/details/SafeInt3.hpp:6073:20: note: because 'msl::safeint3::SafeInt' has user-provided 'msl::safeint3::SafeInt& msl::safeint3::SafeInt::operator=(const msl::safeint3::SafeInt&) [with T = long unsigned int; E = msl::safeint3::SafeIntInternal::SafeIntExceptionHandler]' 6073 | SafeInt& operator=(const SafeInt& rhs) SAFEINT_NOTHROW | ^~~~~~~~ /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/details/SafeInt3.hpp:7229:46: note: initializing argument 2 of 'msl::safeint3::SafeInt msl::safeint3::operator+(U, msl::safeint3::SafeInt) [with T = long unsigned int; U = long unsigned int; E = msl::safeint3::SafeIntInternal::SafeIntExceptionHandler]' 7229 | SafeInt operator+(U lhs, SafeInt rhs) SAFEINT_CPP_THROW | ~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/details/SafeInt3.hpp: In instantiation of 'msl::safeint3::SafeInt msl::safeint3::SafeInt::Min(msl::safeint3::SafeInt, T) const [with T = long unsigned int; E = msl::safeint3::SafeIntInternal::SafeIntExceptionHandler]': /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/containerstream.h:395:65: required from 'size_t Concurrency::streams::details::basic_container_buffer<_CollectionType>::read(Concurrency::streams::details::basic_container_buffer<_CollectionType>::_CharType*, size_t, bool) [with _CollectionType = std::vector; size_t = long unsigned int; Concurrency::streams::details::basic_container_buffer<_CollectionType>::_CharType = unsigned char]' /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/containerstream.h:207:45: required from 'pplx::task Concurrency::streams::details::basic_container_buffer<_CollectionType>::_getn(Concurrency::streams::details::basic_container_buffer<_CollectionType>::_CharType*, size_t) [with _CollectionType = std::vector; Concurrency::streams::details::basic_container_buffer<_CollectionType>::_CharType = unsigned char; size_t = long unsigned int]' /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/containerstream.h:205:32: required from here /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/details/SafeInt3.hpp:6724:22: error: implicitly-declared 'constexpr msl::safeint3::SafeInt::SafeInt(const msl::safeint3::SafeInt&)' is deprecated [-Werror=deprecated-copy] 6724 | T tmp = test < m_int ? (T)test : m_int; | ~~~~~^~~~~~~ /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/details/SafeInt3.hpp:6073:20: note: because 'msl::safeint3::SafeInt' has user-provided 'msl::safeint3::SafeInt& msl::safeint3::SafeInt::operator=(const msl::safeint3::SafeInt&) [with T = long unsigned int; E = msl::safeint3::SafeIntInternal::SafeIntExceptionHandler]' 6073 | SafeInt& operator=(const SafeInt& rhs) SAFEINT_NOTHROW | ^~~~~~~~ /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/details/SafeInt3.hpp:6852:30: note: initializing argument 1 of 'bool msl::safeint3::operator<(msl::safeint3::SafeInt, U) [with T = long unsigned int; U = long unsigned int; E = msl::safeint3::SafeIntInternal::SafeIntExceptionHandler]' 6852 | bool operator<(SafeInt lhs, U rhs) SAFEINT_NOTHROW | ~~~~~~~~~~~~~~^~~ cc1plus: all warnings being treated as errors make[2]: *** [src/CMakeFiles/cpprest.dir/build.make:102: src/CMakeFiles/cpprest.dir/http/common/http_helpers.cpp.o] Error 1 make[2]: Leaving directory '/usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/BUILD' [ 3%] Building CXX object src/CMakeFiles/cpprest.dir/http/client/http_client_msg.cpp.o In file included from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/src/pch/stdafx.h:88, from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/src/http/client/http_client_msg.cpp:13: /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/json.h: In member function 'web::json::value& web::json::array::operator[](web::json::array::size_type)': /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/json.h:921:25: error: implicitly-declared 'constexpr msl::safeint3::SafeInt::SafeInt(const msl::safeint3::SafeInt&)' is deprecated [-Werror=deprecated-copy] 921 | if (nlastSize < nMinSize) m_elements.resize(nMinSize); | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/details/basic_types.h:31, from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/src/pch/stdafx.h:73, from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/src/http/client/http_client_msg.cpp:13: /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/details/SafeInt3.hpp:6073:20: note: because 'msl::safeint3::SafeInt' has user-provided 'msl::safeint3::SafeInt& msl::safeint3::SafeInt::operator=(const msl::safeint3::SafeInt&) [with T = long unsigned int; E = msl::safeint3::SafeIntInternal::SafeIntExceptionHandler]' 6073 | SafeInt& operator=(const SafeInt& rhs) SAFEINT_NOTHROW | ^~~~~~~~ /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/details/SafeInt3.hpp:6858:30: note: initializing argument 1 of 'bool msl::safeint3::operator<(msl::safeint3::SafeInt, msl::safeint3::SafeInt) [with T = long unsigned int; U = long unsigned int; E = msl::safeint3::SafeIntInternal::SafeIntExceptionHandler]' 6858 | bool operator<(SafeInt lhs, SafeInt rhs) SAFEINT_NOTHROW | ~~~~~~~~~~~~~~^~~ In file included from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/src/pch/stdafx.h:88, from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/src/http/client/http_client_msg.cpp:13: /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/json.h:921:25: error: implicitly-declared 'constexpr msl::safeint3::SafeInt::SafeInt(const msl::safeint3::SafeInt&)' is deprecated [-Werror=deprecated-copy] 921 | if (nlastSize < nMinSize) m_elements.resize(nMinSize); | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/details/basic_types.h:31, from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/src/pch/stdafx.h:73, from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/src/http/client/http_client_msg.cpp:13: /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/details/SafeInt3.hpp:6073:20: note: because 'msl::safeint3::SafeInt' has user-provided 'msl::safeint3::SafeInt& msl::safeint3::SafeInt::operator=(const msl::safeint3::SafeInt&) [with T = long unsigned int; E = msl::safeint3::SafeIntInternal::SafeIntExceptionHandler]' 6073 | SafeInt& operator=(const SafeInt& rhs) SAFEINT_NOTHROW | ^~~~~~~~ /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/details/SafeInt3.hpp:6858:49: note: initializing argument 2 of 'bool msl::safeint3::operator<(msl::safeint3::SafeInt, msl::safeint3::SafeInt) [with T = long unsigned int; U = long unsigned int; E = msl::safeint3::SafeIntInternal::SafeIntExceptionHandler]' 6858 | bool operator<(SafeInt lhs, SafeInt rhs) SAFEINT_NOTHROW | ~~~~~~~~~~~~~~^~~ In file included from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/http_msg.h:16, from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/details/http_helpers.h:19, from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/src/pch/stdafx.h:98, from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/src/http/client/http_client_msg.cpp:13: /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/containerstream.h: In instantiation of 'size_t Concurrency::streams::details::basic_container_buffer<_CollectionType>::in_avail() const [with _CollectionType = std::vector; size_t = long unsigned int]': /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/containerstream.h:108:20: required from here /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/containerstream.h:116:34: error: implicitly-declared 'constexpr msl::safeint3::SafeInt::SafeInt(const msl::safeint3::SafeInt&)' is deprecated [-Werror=deprecated-copy] 116 | return (size_t)(writeend - readhead); | ~~~~~~~~~~^~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/details/basic_types.h:31, from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/src/pch/stdafx.h:73, from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/src/http/client/http_client_msg.cpp:13: /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/details/SafeInt3.hpp:6073:20: note: because 'msl::safeint3::SafeInt' has user-provided 'msl::safeint3::SafeInt& msl::safeint3::SafeInt::operator=(const msl::safeint3::SafeInt&) [with T = long unsigned int; E = msl::safeint3::SafeIntInternal::SafeIntExceptionHandler]' 6073 | SafeInt& operator=(const SafeInt& rhs) SAFEINT_NOTHROW | ^~~~~~~~ /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/details/SafeInt3.hpp:6490:43: note: initializing argument 1 of 'msl::safeint3::SafeInt msl::safeint3::SafeInt::operator-(msl::safeint3::SafeInt) const [with T = long unsigned int; E = msl::safeint3::SafeIntInternal::SafeIntExceptionHandler]' 6490 | SafeInt operator-(SafeInt rhs) const SAFEINT_CPP_THROW | ~~~~~~~~~~~~~~^~~ In file included from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/http_msg.h:16, from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/details/http_helpers.h:19, from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/src/pch/stdafx.h:98, from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/src/http/client/http_client_msg.cpp:13: /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/containerstream.h: In instantiation of 'size_t Concurrency::streams::details::basic_container_buffer<_CollectionType>::in_avail() const [with _CollectionType = std::__cxx11::basic_string; size_t = long unsigned int]': /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/containerstream.h:108:20: required from here /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/containerstream.h:116:34: error: implicitly-declared 'constexpr msl::safeint3::SafeInt::SafeInt(const msl::safeint3::SafeInt&)' is deprecated [-Werror=deprecated-copy] 116 | return (size_t)(writeend - readhead); | ~~~~~~~~~~^~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/details/basic_types.h:31, from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/src/pch/stdafx.h:73, from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/src/http/client/http_client_msg.cpp:13: /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/details/SafeInt3.hpp:6073:20: note: because 'msl::safeint3::SafeInt' has user-provided 'msl::safeint3::SafeInt& msl::safeint3::SafeInt::operator=(const msl::safeint3::SafeInt&) [with T = long unsigned int; E = msl::safeint3::SafeIntInternal::SafeIntExceptionHandler]' 6073 | SafeInt& operator=(const SafeInt& rhs) SAFEINT_NOTHROW | ^~~~~~~~ /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/details/SafeInt3.hpp:6490:43: note: initializing argument 1 of 'msl::safeint3::SafeInt msl::safeint3::SafeInt::operator-(msl::safeint3::SafeInt) const [with T = long unsigned int; E = msl::safeint3::SafeIntInternal::SafeIntExceptionHandler]' 6490 | SafeInt operator-(SafeInt rhs) const SAFEINT_CPP_THROW | ~~~~~~~~~~~~~~^~~ In file included from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/http_msg.h:16, from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/details/http_helpers.h:19, from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/src/pch/stdafx.h:98, from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/src/http/client/http_client_msg.cpp:13: /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/containerstream.h: In instantiation of 'size_t Concurrency::streams::details::basic_container_buffer<_CollectionType>::read(Concurrency::streams::details::basic_container_buffer<_CollectionType>::_CharType*, size_t, bool) [with _CollectionType = std::vector; size_t = long unsigned int; Concurrency::streams::details::basic_container_buffer<_CollectionType>::_CharType = unsigned char]': /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/containerstream.h:207:45: required from 'pplx::task Concurrency::streams::details::basic_container_buffer<_CollectionType>::_getn(Concurrency::streams::details::basic_container_buffer<_CollectionType>::_CharType*, size_t) [with _CollectionType = std::vector; Concurrency::streams::details::basic_container_buffer<_CollectionType>::_CharType = unsigned char; size_t = long unsigned int]' /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/containerstream.h:205:32: required from here /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/containerstream.h:397:44: error: implicitly-declared 'constexpr msl::safeint3::SafeInt::SafeInt(const msl::safeint3::SafeInt&)' is deprecated [-Werror=deprecated-copy] 397 | size_t newPos = m_current_position + read_size; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/details/basic_types.h:31, from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/src/pch/stdafx.h:73, from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/src/http/client/http_client_msg.cpp:13: /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/details/SafeInt3.hpp:6073:20: note: because 'msl::safeint3::SafeInt' has user-provided 'msl::safeint3::SafeInt& msl::safeint3::SafeInt::operator=(const msl::safeint3::SafeInt&) [with T = long unsigned int; E = msl::safeint3::SafeIntInternal::SafeIntExceptionHandler]' 6073 | SafeInt& operator=(const SafeInt& rhs) SAFEINT_NOTHROW | ^~~~~~~~ /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/details/SafeInt3.hpp:7229:46: note: initializing argument 2 of 'msl::safeint3::SafeInt msl::safeint3::operator+(U, msl::safeint3::SafeInt) [with T = long unsigned int; U = long unsigned int; E = msl::safeint3::SafeIntInternal::SafeIntExceptionHandler]' 7229 | SafeInt operator+(U lhs, SafeInt rhs) SAFEINT_CPP_THROW | ~~~~~~~~~~~~~~^~~ In file included from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/http_msg.h:16, from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/details/http_helpers.h:19, from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/src/pch/stdafx.h:98, from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/src/http/client/http_client_msg.cpp:13: /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/containerstream.h: In instantiation of 'size_t Concurrency::streams::details::basic_container_buffer<_CollectionType>::read(Concurrency::streams::details::basic_container_buffer<_CollectionType>::_CharType*, size_t, bool) [with _CollectionType = std::__cxx11::basic_string; size_t = long unsigned int; Concurrency::streams::details::basic_container_buffer<_CollectionType>::_CharType = char]': /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/containerstream.h:207:45: required from 'pplx::task Concurrency::streams::details::basic_container_buffer<_CollectionType>::_getn(Concurrency::streams::details::basic_container_buffer<_CollectionType>::_CharType*, size_t) [with _CollectionType = std::__cxx11::basic_string; Concurrency::streams::details::basic_container_buffer<_CollectionType>::_CharType = char; size_t = long unsigned int]' /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/containerstream.h:205:32: required from here /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/containerstream.h:397:44: error: implicitly-declared 'constexpr msl::safeint3::SafeInt::SafeInt(const msl::safeint3::SafeInt&)' is deprecated [-Werror=deprecated-copy] 397 | size_t newPos = m_current_position + read_size; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/details/basic_types.h:31, from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/src/pch/stdafx.h:73, from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/src/http/client/http_client_msg.cpp:13: /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/details/SafeInt3.hpp:6073:20: note: because 'msl::safeint3::SafeInt' has user-provided 'msl::safeint3::SafeInt& msl::safeint3::SafeInt::operator=(const msl::safeint3::SafeInt&) [with T = long unsigned int; E = msl::safeint3::SafeIntInternal::SafeIntExceptionHandler]' 6073 | SafeInt& operator=(const SafeInt& rhs) SAFEINT_NOTHROW | ^~~~~~~~ /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/details/SafeInt3.hpp:7229:46: note: initializing argument 2 of 'msl::safeint3::SafeInt msl::safeint3::operator+(U, msl::safeint3::SafeInt) [with T = long unsigned int; U = long unsigned int; E = msl::safeint3::SafeIntInternal::SafeIntExceptionHandler]' 7229 | SafeInt operator+(U lhs, SafeInt rhs) SAFEINT_CPP_THROW | ~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/details/SafeInt3.hpp: In instantiation of 'msl::safeint3::SafeInt msl::safeint3::SafeInt::Min(msl::safeint3::SafeInt, T) const [with T = long unsigned int; E = msl::safeint3::SafeIntInternal::SafeIntExceptionHandler]': /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/containerstream.h:395:65: required from 'size_t Concurrency::streams::details::basic_container_buffer<_CollectionType>::read(Concurrency::streams::details::basic_container_buffer<_CollectionType>::_CharType*, size_t, bool) [with _CollectionType = std::vector; size_t = long unsigned int; Concurrency::streams::details::basic_container_buffer<_CollectionType>::_CharType = unsigned char]' /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/containerstream.h:207:45: required from 'pplx::task Concurrency::streams::details::basic_container_buffer<_CollectionType>::_getn(Concurrency::streams::details::basic_container_buffer<_CollectionType>::_CharType*, size_t) [with _CollectionType = std::vector; Concurrency::streams::details::basic_container_buffer<_CollectionType>::_CharType = unsigned char; size_t = long unsigned int]' /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/containerstream.h:205:32: required from here /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/details/SafeInt3.hpp:6724:22: error: implicitly-declared 'constexpr msl::safeint3::SafeInt::SafeInt(const msl::safeint3::SafeInt&)' is deprecated [-Werror=deprecated-copy] 6724 | T tmp = test < m_int ? (T)test : m_int; | ~~~~~^~~~~~~ /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/details/SafeInt3.hpp:6073:20: note: because 'msl::safeint3::SafeInt' has user-provided 'msl::safeint3::SafeInt& msl::safeint3::SafeInt::operator=(const msl::safeint3::SafeInt&) [with T = long unsigned int; E = msl::safeint3::SafeIntInternal::SafeIntExceptionHandler]' 6073 | SafeInt& operator=(const SafeInt& rhs) SAFEINT_NOTHROW | ^~~~~~~~ /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/details/SafeInt3.hpp:6852:30: note: initializing argument 1 of 'bool msl::safeint3::operator<(msl::safeint3::SafeInt, U) [with T = long unsigned int; U = long unsigned int; E = msl::safeint3::SafeIntInternal::SafeIntExceptionHandler]' 6852 | bool operator<(SafeInt lhs, U rhs) SAFEINT_NOTHROW | ~~~~~~~~~~~~~~^~~ cc1plus: all warnings being treated as errors make[2]: *** [src/CMakeFiles/cpprest.dir/build.make:76: src/CMakeFiles/cpprest.dir/http/client/http_client_msg.cpp.o] Error 1 make[2]: Leaving directory '/usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/BUILD' [ 5%] Building CXX object src/CMakeFiles/cpprest.dir/http/listener/http_server_api.cpp.o In file included from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/src/pch/stdafx.h:88, from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/src/http/listener/http_server_api.cpp:12: /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/json.h: In member function 'web::json::value& web::json::array::operator[](web::json::array::size_type)': /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/json.h:921:25: error: implicitly-declared 'constexpr msl::safeint3::SafeInt::SafeInt(const msl::safeint3::SafeInt&)' is deprecated [-Werror=deprecated-copy] 921 | if (nlastSize < nMinSize) m_elements.resize(nMinSize); | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/details/basic_types.h:31, from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/src/pch/stdafx.h:73, from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/src/http/listener/http_server_api.cpp:12: /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/details/SafeInt3.hpp:6073:20: note: because 'msl::safeint3::SafeInt' has user-provided 'msl::safeint3::SafeInt& msl::safeint3::SafeInt::operator=(const msl::safeint3::SafeInt&) [with T = long unsigned int; E = msl::safeint3::SafeIntInternal::SafeIntExceptionHandler]' 6073 | SafeInt& operator=(const SafeInt& rhs) SAFEINT_NOTHROW | ^~~~~~~~ /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/details/SafeInt3.hpp:6858:30: note: initializing argument 1 of 'bool msl::safeint3::operator<(msl::safeint3::SafeInt, msl::safeint3::SafeInt) [with T = long unsigned int; U = long unsigned int; E = msl::safeint3::SafeIntInternal::SafeIntExceptionHandler]' 6858 | bool operator<(SafeInt lhs, SafeInt rhs) SAFEINT_NOTHROW | ~~~~~~~~~~~~~~^~~ In file included from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/src/pch/stdafx.h:88, from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/src/http/listener/http_server_api.cpp:12: /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/json.h:921:25: error: implicitly-declared 'constexpr msl::safeint3::SafeInt::SafeInt(const msl::safeint3::SafeInt&)' is deprecated [-Werror=deprecated-copy] 921 | if (nlastSize < nMinSize) m_elements.resize(nMinSize); | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/details/basic_types.h:31, from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/src/pch/stdafx.h:73, from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/src/http/listener/http_server_api.cpp:12: /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/details/SafeInt3.hpp:6073:20: note: because 'msl::safeint3::SafeInt' has user-provided 'msl::safeint3::SafeInt& msl::safeint3::SafeInt::operator=(const msl::safeint3::SafeInt&) [with T = long unsigned int; E = msl::safeint3::SafeIntInternal::SafeIntExceptionHandler]' 6073 | SafeInt& operator=(const SafeInt& rhs) SAFEINT_NOTHROW | ^~~~~~~~ /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/details/SafeInt3.hpp:6858:49: note: initializing argument 2 of 'bool msl::safeint3::operator<(msl::safeint3::SafeInt, msl::safeint3::SafeInt) [with T = long unsigned int; U = long unsigned int; E = msl::safeint3::SafeIntInternal::SafeIntExceptionHandler]' 6858 | bool operator<(SafeInt lhs, SafeInt rhs) SAFEINT_NOTHROW | ~~~~~~~~~~~~~~^~~ In file included from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/http_msg.h:16, from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/details/http_helpers.h:19, from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/src/pch/stdafx.h:98, from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/src/http/listener/http_server_api.cpp:12: /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/containerstream.h: In instantiation of 'size_t Concurrency::streams::details::basic_container_buffer<_CollectionType>::in_avail() const [with _CollectionType = std::vector; size_t = long unsigned int]': /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/containerstream.h:108:20: required from here /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/containerstream.h:116:34: error: implicitly-declared 'constexpr msl::safeint3::SafeInt::SafeInt(const msl::safeint3::SafeInt&)' is deprecated [-Werror=deprecated-copy] 116 | return (size_t)(writeend - readhead); | ~~~~~~~~~~^~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/details/basic_types.h:31, from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/src/pch/stdafx.h:73, from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/src/http/listener/http_server_api.cpp:12: /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/details/SafeInt3.hpp:6073:20: note: because 'msl::safeint3::SafeInt' has user-provided 'msl::safeint3::SafeInt& msl::safeint3::SafeInt::operator=(const msl::safeint3::SafeInt&) [with T = long unsigned int; E = msl::safeint3::SafeIntInternal::SafeIntExceptionHandler]' 6073 | SafeInt& operator=(const SafeInt& rhs) SAFEINT_NOTHROW | ^~~~~~~~ /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/details/SafeInt3.hpp:6490:43: note: initializing argument 1 of 'msl::safeint3::SafeInt msl::safeint3::SafeInt::operator-(msl::safeint3::SafeInt) const [with T = long unsigned int; E = msl::safeint3::SafeIntInternal::SafeIntExceptionHandler]' 6490 | SafeInt operator-(SafeInt rhs) const SAFEINT_CPP_THROW | ~~~~~~~~~~~~~~^~~ In file included from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/http_msg.h:16, from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/details/http_helpers.h:19, from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/src/pch/stdafx.h:98, from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/src/http/listener/http_server_api.cpp:12: /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/containerstream.h: In instantiation of 'size_t Concurrency::streams::details::basic_container_buffer<_CollectionType>::in_avail() const [with _CollectionType = std::__cxx11::basic_string; size_t = long unsigned int]': /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/containerstream.h:108:20: required from here /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/containerstream.h:116:34: error: implicitly-declared 'constexpr msl::safeint3::SafeInt::SafeInt(const msl::safeint3::SafeInt&)' is deprecated [-Werror=deprecated-copy] 116 | return (size_t)(writeend - readhead); | ~~~~~~~~~~^~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/details/basic_types.h:31, from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/src/pch/stdafx.h:73, from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/src/http/listener/http_server_api.cpp:12: /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/details/SafeInt3.hpp:6073:20: note: because 'msl::safeint3::SafeInt' has user-provided 'msl::safeint3::SafeInt& msl::safeint3::SafeInt::operator=(const msl::safeint3::SafeInt&) [with T = long unsigned int; E = msl::safeint3::SafeIntInternal::SafeIntExceptionHandler]' 6073 | SafeInt& operator=(const SafeInt& rhs) SAFEINT_NOTHROW | ^~~~~~~~ /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/details/SafeInt3.hpp:6490:43: note: initializing argument 1 of 'msl::safeint3::SafeInt msl::safeint3::SafeInt::operator-(msl::safeint3::SafeInt) const [with T = long unsigned int; E = msl::safeint3::SafeIntInternal::SafeIntExceptionHandler]' 6490 | SafeInt operator-(SafeInt rhs) const SAFEINT_CPP_THROW | ~~~~~~~~~~~~~~^~~ In file included from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/http_msg.h:16, from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/details/http_helpers.h:19, from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/src/pch/stdafx.h:98, from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/src/http/listener/http_server_api.cpp:12: /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/containerstream.h: In instantiation of 'size_t Concurrency::streams::details::basic_container_buffer<_CollectionType>::read(Concurrency::streams::details::basic_container_buffer<_CollectionType>::_CharType*, size_t, bool) [with _CollectionType = std::vector; size_t = long unsigned int; Concurrency::streams::details::basic_container_buffer<_CollectionType>::_CharType = unsigned char]': /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/containerstream.h:207:45: required from 'pplx::task Concurrency::streams::details::basic_container_buffer<_CollectionType>::_getn(Concurrency::streams::details::basic_container_buffer<_CollectionType>::_CharType*, size_t) [with _CollectionType = std::vector; Concurrency::streams::details::basic_container_buffer<_CollectionType>::_CharType = unsigned char; size_t = long unsigned int]' /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/containerstream.h:205:32: required from here /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/containerstream.h:397:44: error: implicitly-declared 'constexpr msl::safeint3::SafeInt::SafeInt(const msl::safeint3::SafeInt&)' is deprecated [-Werror=deprecated-copy] 397 | size_t newPos = m_current_position + read_size; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/details/basic_types.h:31, from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/src/pch/stdafx.h:73, from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/src/http/listener/http_server_api.cpp:12: /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/details/SafeInt3.hpp:6073:20: note: because 'msl::safeint3::SafeInt' has user-provided 'msl::safeint3::SafeInt& msl::safeint3::SafeInt::operator=(const msl::safeint3::SafeInt&) [with T = long unsigned int; E = msl::safeint3::SafeIntInternal::SafeIntExceptionHandler]' 6073 | SafeInt& operator=(const SafeInt& rhs) SAFEINT_NOTHROW | ^~~~~~~~ /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/details/SafeInt3.hpp:7229:46: note: initializing argument 2 of 'msl::safeint3::SafeInt msl::safeint3::operator+(U, msl::safeint3::SafeInt) [with T = long unsigned int; U = long unsigned int; E = msl::safeint3::SafeIntInternal::SafeIntExceptionHandler]' 7229 | SafeInt operator+(U lhs, SafeInt rhs) SAFEINT_CPP_THROW | ~~~~~~~~~~~~~~^~~ In file included from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/http_msg.h:16, from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/details/http_helpers.h:19, from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/src/pch/stdafx.h:98, from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/src/http/listener/http_server_api.cpp:12: /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/containerstream.h: In instantiation of 'size_t Concurrency::streams::details::basic_container_buffer<_CollectionType>::read(Concurrency::streams::details::basic_container_buffer<_CollectionType>::_CharType*, size_t, bool) [with _CollectionType = std::__cxx11::basic_string; size_t = long unsigned int; Concurrency::streams::details::basic_container_buffer<_CollectionType>::_CharType = char]': /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/containerstream.h:207:45: required from 'pplx::task Concurrency::streams::details::basic_container_buffer<_CollectionType>::_getn(Concurrency::streams::details::basic_container_buffer<_CollectionType>::_CharType*, size_t) [with _CollectionType = std::__cxx11::basic_string; Concurrency::streams::details::basic_container_buffer<_CollectionType>::_CharType = char; size_t = long unsigned int]' /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/containerstream.h:205:32: required from here /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/containerstream.h:397:44: error: implicitly-declared 'constexpr msl::safeint3::SafeInt::SafeInt(const msl::safeint3::SafeInt&)' is deprecated [-Werror=deprecated-copy] 397 | size_t newPos = m_current_position + read_size; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/details/basic_types.h:31, from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/src/pch/stdafx.h:73, from /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/src/http/listener/http_server_api.cpp:12: /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/details/SafeInt3.hpp:6073:20: note: because 'msl::safeint3::SafeInt' has user-provided 'msl::safeint3::SafeInt& msl::safeint3::SafeInt::operator=(const msl::safeint3::SafeInt&) [with T = long unsigned int; E = msl::safeint3::SafeIntInternal::SafeIntExceptionHandler]' 6073 | SafeInt& operator=(const SafeInt& rhs) SAFEINT_NOTHROW | ^~~~~~~~ /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/details/SafeInt3.hpp:7229:46: note: initializing argument 2 of 'msl::safeint3::SafeInt msl::safeint3::operator+(U, msl::safeint3::SafeInt) [with T = long unsigned int; U = long unsigned int; E = msl::safeint3::SafeIntInternal::SafeIntExceptionHandler]' 7229 | SafeInt operator+(U lhs, SafeInt rhs) SAFEINT_CPP_THROW | ~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/details/SafeInt3.hpp: In instantiation of 'msl::safeint3::SafeInt msl::safeint3::SafeInt::Min(msl::safeint3::SafeInt, T) const [with T = long unsigned int; E = msl::safeint3::SafeIntInternal::SafeIntExceptionHandler]': /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/containerstream.h:395:65: required from 'size_t Concurrency::streams::details::basic_container_buffer<_CollectionType>::read(Concurrency::streams::details::basic_container_buffer<_CollectionType>::_CharType*, size_t, bool) [with _CollectionType = std::vector; size_t = long unsigned int; Concurrency::streams::details::basic_container_buffer<_CollectionType>::_CharType = unsigned char]' /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/containerstream.h:207:45: required from 'pplx::task Concurrency::streams::details::basic_container_buffer<_CollectionType>::_getn(Concurrency::streams::details::basic_container_buffer<_CollectionType>::_CharType*, size_t) [with _CollectionType = std::vector; Concurrency::streams::details::basic_container_buffer<_CollectionType>::_CharType = unsigned char; size_t = long unsigned int]' /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/containerstream.h:205:32: required from here /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/details/SafeInt3.hpp:6724:22: error: implicitly-declared 'constexpr msl::safeint3::SafeInt::SafeInt(const msl::safeint3::SafeInt&)' is deprecated [-Werror=deprecated-copy] 6724 | T tmp = test < m_int ? (T)test : m_int; | ~~~~~^~~~~~~ /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/details/SafeInt3.hpp:6073:20: note: because 'msl::safeint3::SafeInt' has user-provided 'msl::safeint3::SafeInt& msl::safeint3::SafeInt::operator=(const msl::safeint3::SafeInt&) [with T = long unsigned int; E = msl::safeint3::SafeIntInternal::SafeIntExceptionHandler]' 6073 | SafeInt& operator=(const SafeInt& rhs) SAFEINT_NOTHROW | ^~~~~~~~ /usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/include/cpprest/details/SafeInt3.hpp:6852:30: note: initializing argument 1 of 'bool msl::safeint3::operator<(msl::safeint3::SafeInt, U) [with T = long unsigned int; U = long unsigned int; E = msl::safeint3::SafeIntInternal::SafeIntExceptionHandler]' 6852 | bool operator<(SafeInt lhs, U rhs) SAFEINT_NOTHROW | ~~~~~~~~~~~~~~^~~ cc1plus: all warnings being treated as errors make[2]: *** [src/CMakeFiles/cpprest.dir/build.make:154: src/CMakeFiles/cpprest.dir/http/listener/http_server_api.cpp.o] Error 1 make[2]: Leaving directory '/usr/src/RPM/BUILD/cpprestsdk-2.10.14/Release/BUILD' make[1]: *** [CMakeFiles/Makefile2:96: src/CMakeFiles/cpprest.dir/all] Error 2 make: *** [Makefile:141: all] Error 2 error: Bad exit status from /usr/src/tmp/rpm-tmp.64400 (%build) RPM build errors: Bad exit status from /usr/src/tmp/rpm-tmp.64400 (%build) Command exited with non-zero status 1 165.21user 7.75system 1:11.06elapsed 243%CPU (0avgtext+0avgdata 710204maxresident)k 0inputs+0outputs (0major+1324060minor)pagefaults 0swaps hsh-rebuild: rebuild of `cpprest-2.10.14-alt1.src.rpm' failed. Command exited with non-zero status 1 183.15user 14.92system 1:41.28elapsed 195%CPU (0avgtext+0avgdata 710204maxresident)k 472inputs+0outputs (0major+1628186minor)pagefaults 0swaps