Opened 6 months ago
Last modified 6 months ago
#70011 assigned defect
cpprestsdk build fails: error: 'locale_t' does not name a type — at Initial Version
Reported by: | barracuda156 | Owned by: | mohd-akram (Mohamed Akram) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | tiger, leopard, snowleopard, powerpc | Cc: | |
Port: | cpprestsdk |
Description
cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_www_cpprestsdk/cpprestsdk/work/build/Release/src && /opt/local/bin/g++-mp-13 -DCPPREST_EXCLUDE_BROTLI=1 -DCPPREST_FORCE_HTTP_CLIENT_ASIO -DCPPREST_FORCE_HTTP_LISTENER_ASIO -DCPPREST_NO_SSL_LEAK_SUPPRESS -Dcpprest_EXPORTS -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_www_cpprestsdk/cpprestsdk/work/cpprestsdk-2.10.19/Release/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_www_cpprestsdk/cpprestsdk/work/cpprestsdk-2.10.19/Release/src/pch -I/opt/local/libexec/boost/1.76/include -F//System/Library/Frameworks -isystem /opt/local/include -pipe -I/opt/local/libexec/boost/1.76/include -Os -DNDEBUG -I/opt/local/libexec/boost/1.76/include -I/opt/local/include -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++11 -fno-strict-aliasing -arch ppc -mmacosx-version-min=10.6 -fPIC -pedantic -Wall -Wextra -Wunused-parameter -Wcast-align -Wcast-qual -Wconversion -Wformat=2 -Winit-self -Winvalid-pch -Wmissing-format-attribute -Wmissing-include-dirs -Wpacked -Wredundant-decls -Wunreachable-code -MD -MT Release/src/CMakeFiles/cpprest.dir/http/common/http_helpers.cpp.o -MF CMakeFiles/cpprest.dir/http/common/http_helpers.cpp.o.d -o CMakeFiles/cpprest.dir/http/common/http_helpers.cpp.o -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_www_cpprestsdk/cpprestsdk/work/cpprestsdk-2.10.19/Release/src/http/common/http_helpers.cpp [ 20%] Building CXX object Release/src/CMakeFiles/cpprest.dir/http/common/http_msg.cpp.o cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_www_cpprestsdk/cpprestsdk/work/build/Release/src && /opt/local/bin/g++-mp-13 -DCPPREST_EXCLUDE_BROTLI=1 -DCPPREST_FORCE_HTTP_CLIENT_ASIO -DCPPREST_FORCE_HTTP_LISTENER_ASIO -DCPPREST_NO_SSL_LEAK_SUPPRESS -Dcpprest_EXPORTS -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_www_cpprestsdk/cpprestsdk/work/cpprestsdk-2.10.19/Release/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_www_cpprestsdk/cpprestsdk/work/cpprestsdk-2.10.19/Release/src/pch -I/opt/local/libexec/boost/1.76/include -F//System/Library/Frameworks -isystem /opt/local/include -pipe -I/opt/local/libexec/boost/1.76/include -Os -DNDEBUG -I/opt/local/libexec/boost/1.76/include -I/opt/local/include -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++11 -fno-strict-aliasing -arch ppc -mmacosx-version-min=10.6 -fPIC -pedantic -Wall -Wextra -Wunused-parameter -Wcast-align -Wcast-qual -Wconversion -Wformat=2 -Winit-self -Winvalid-pch -Wmissing-format-attribute -Wmissing-include-dirs -Wpacked -Wredundant-decls -Wunreachable-code -MD -MT Release/src/CMakeFiles/cpprest.dir/http/common/http_msg.cpp.o -MF CMakeFiles/cpprest.dir/http/common/http_msg.cpp.o.d -o CMakeFiles/cpprest.dir/http/common/http_msg.cpp.o -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_www_cpprestsdk/cpprestsdk/work/cpprestsdk-2.10.19/Release/src/http/common/http_msg.cpp In file included from /opt/local/libexec/boost/1.76/include/boost/thread/detail/platform_time.hpp:13, from /opt/local/libexec/boost/1.76/include/boost/thread/pthread/condition_variable.hpp:9, from /opt/local/libexec/boost/1.76/include/boost/thread/condition_variable.hpp:16, from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_www_cpprestsdk/cpprestsdk/work/cpprestsdk-2.10.19/Release/src/pch/stdafx.h:61, from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_www_cpprestsdk/cpprestsdk/work/cpprestsdk-2.10.19/Release/src/http/common/http_compression.cpp:14: /opt/local/libexec/boost/1.76/include/boost/date_time/posix_time/conversion.hpp: In function 'time_t boost::posix_time::to_time_t(ptime)': /opt/local/libexec/boost/1.76/include/boost/date_time/posix_time/conversion.hpp:36:65: warning: conversion from 'boost::date_time::time_duration<boost::posix_time::time_duration, boost::date_time::time_resolution_traits<boost::date_time::time_resolution_traits_adapted64_impl, boost::date_time::micro, 1000000, 6> >::sec_type' {aka 'long long int'} to 'time_t' {aka 'long int'} may change value [-Wconversion] 36 | return (pt - ptime(gregorian::date(1970,1,1))).total_seconds(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /opt/local/libexec/boost/1.76/include/boost/thread/detail/platform_time.hpp: In function 'boost::time_max_t boost::threads::chrono_details::steady_full()': /opt/local/libexec/boost/1.76/include/boost/thread/detail/platform_time.hpp:88:54: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'double' may change value [-Wconversion] 88 | return static_cast<time_max_t>(mach_absolute_time() * factor); | ~~~~~~~~~~~~~~~~~~^~ /opt/local/libexec/boost/1.76/include/boost/thread/detail/platform_time.hpp: In constructor 'boost::detail::platform_duration::platform_duration(const boost::posix_time::time_duration&)': /opt/local/libexec/boost/1.76/include/boost/thread/detail/platform_time.hpp:148:47: warning: conversion from 'boost::date_time::time_duration<boost::posix_time::time_duration, boost::date_time::time_resolution_traits<boost::date_time::time_resolution_traits_adapted64_impl, boost::date_time::micro, 1000000, 6> >::sec_type' {aka 'long long int'} to '__darwin_time_t' {aka 'long int'} may change value [-Wconversion] 148 | ts_val.tv_sec = rel_time.total_seconds(); | ~~~~~~~~~~~~~~~~~~~~~~^~ In file included from /opt/local/libexec/boost/1.76/include/boost/thread/detail/platform_time.hpp:13, from /opt/local/libexec/boost/1.76/include/boost/thread/pthread/condition_variable.hpp:9, from /opt/local/libexec/boost/1.76/include/boost/thread/condition_variable.hpp:16, from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_www_cpprestsdk/cpprestsdk/work/cpprestsdk-2.10.19/Release/src/pch/stdafx.h:61, from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_www_cpprestsdk/cpprestsdk/work/cpprestsdk-2.10.19/Release/src/http/common/http_helpers.cpp:14: /opt/local/libexec/boost/1.76/include/boost/date_time/posix_time/conversion.hpp: In function 'time_t boost::posix_time::to_time_t(ptime)': /opt/local/libexec/boost/1.76/include/boost/date_time/posix_time/conversion.hpp:36:65: warning: conversion from 'boost::date_time::time_duration<boost::posix_time::time_duration, boost::date_time::time_resolution_traits<boost::date_time::time_resolution_traits_adapted64_impl, boost::date_time::micro, 1000000, 6> >::sec_type' {aka 'long long int'} to 'time_t' {aka 'long int'} may change value [-Wconversion] 36 | return (pt - ptime(gregorian::date(1970,1,1))).total_seconds(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from /opt/local/libexec/boost/1.76/include/boost/thread/detail/platform_time.hpp:13, from /opt/local/libexec/boost/1.76/include/boost/thread/pthread/condition_variable.hpp:9, from /opt/local/libexec/boost/1.76/include/boost/thread/condition_variable.hpp:16, from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_www_cpprestsdk/cpprestsdk/work/cpprestsdk-2.10.19/Release/src/pch/stdafx.h:61, from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_www_cpprestsdk/cpprestsdk/work/cpprestsdk-2.10.19/Release/src/http/listener/http_listener.cpp:14: /opt/local/libexec/boost/1.76/include/boost/date_time/posix_time/conversion.hpp: In function 'time_t boost::posix_time::to_time_t(ptime)': /opt/local/libexec/boost/1.76/include/boost/date_time/posix_time/conversion.hpp:36:65: warning: conversion from 'boost::date_time::time_duration<boost::posix_time::time_duration, boost::date_time::time_resolution_traits<boost::date_time::time_resolution_traits_adapted64_impl, boost::date_time::micro, 1000000, 6> >::sec_type' {aka 'long long int'} to 'time_t' {aka 'long int'} may change value [-Wconversion] 36 | return (pt - ptime(gregorian::date(1970,1,1))).total_seconds(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from /opt/local/libexec/boost/1.76/include/boost/thread/detail/platform_time.hpp:13, from /opt/local/libexec/boost/1.76/include/boost/thread/pthread/condition_variable.hpp:9, from /opt/local/libexec/boost/1.76/include/boost/thread/condition_variable.hpp:16, from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_www_cpprestsdk/cpprestsdk/work/cpprestsdk-2.10.19/Release/src/pch/stdafx.h:61, from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_www_cpprestsdk/cpprestsdk/work/cpprestsdk-2.10.19/Release/src/http/client/http_client.cpp:16: /opt/local/libexec/boost/1.76/include/boost/date_time/posix_time/conversion.hpp: In function 'time_t boost::posix_time::to_time_t(ptime)': /opt/local/libexec/boost/1.76/include/boost/date_time/posix_time/conversion.hpp:36:65: warning: conversion from 'boost::date_time::time_duration<boost::posix_time::time_duration, boost::date_time::time_resolution_traits<boost::date_time::time_resolution_traits_adapted64_impl, boost::date_time::micro, 1000000, 6> >::sec_type' {aka 'long long int'} to 'time_t' {aka 'long int'} may change value [-Wconversion] 36 | return (pt - ptime(gregorian::date(1970,1,1))).total_seconds(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from /opt/local/libexec/boost/1.76/include/boost/thread/detail/platform_time.hpp:13, from /opt/local/libexec/boost/1.76/include/boost/thread/pthread/condition_variable.hpp:9, from /opt/local/libexec/boost/1.76/include/boost/thread/condition_variable.hpp:16, from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_www_cpprestsdk/cpprestsdk/work/cpprestsdk-2.10.19/Release/src/pch/stdafx.h:61, from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_www_cpprestsdk/cpprestsdk/work/cpprestsdk-2.10.19/Release/src/http/common/http_msg.cpp:13: /opt/local/libexec/boost/1.76/include/boost/date_time/posix_time/conversion.hpp: In function 'time_t boost::posix_time::to_time_t(ptime)': /opt/local/libexec/boost/1.76/include/boost/date_time/posix_time/conversion.hpp:36:65: warning: conversion from 'boost::date_time::time_duration<boost::posix_time::time_duration, boost::date_time::time_resolution_traits<boost::date_time::time_resolution_traits_adapted64_impl, boost::date_time::micro, 1000000, 6> >::sec_type' {aka 'long long int'} to 'time_t' {aka 'long int'} may change value [-Wconversion] 36 | return (pt - ptime(gregorian::date(1970,1,1))).total_seconds(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /opt/local/libexec/boost/1.76/include/boost/thread/detail/platform_time.hpp: In function 'boost::time_max_t boost::threads::chrono_details::steady_full()': /opt/local/libexec/boost/1.76/include/boost/thread/detail/platform_time.hpp:88:54: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'double' may change value [-Wconversion] 88 | return static_cast<time_max_t>(mach_absolute_time() * factor); | ~~~~~~~~~~~~~~~~~~^~ /opt/local/libexec/boost/1.76/include/boost/thread/detail/platform_time.hpp: In constructor 'boost::detail::platform_duration::platform_duration(const boost::posix_time::time_duration&)': /opt/local/libexec/boost/1.76/include/boost/thread/detail/platform_time.hpp:148:47: warning: conversion from 'boost::date_time::time_duration<boost::posix_time::time_duration, boost::date_time::time_resolution_traits<boost::date_time::time_resolution_traits_adapted64_impl, boost::date_time::micro, 1000000, 6> >::sec_type' {aka 'long long int'} to '__darwin_time_t' {aka 'long int'} may change value [-Wconversion] 148 | ts_val.tv_sec = rel_time.total_seconds(); | ~~~~~~~~~~~~~~~~~~~~~~^~ /opt/local/libexec/boost/1.76/include/boost/thread/detail/platform_time.hpp: In function 'boost::time_max_t boost::threads::chrono_details::steady_full()': /opt/local/libexec/boost/1.76/include/boost/thread/detail/platform_time.hpp:88:54: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'double' may change value [-Wconversion] 88 | return static_cast<time_max_t>(mach_absolute_time() * factor); | ~~~~~~~~~~~~~~~~~~^~ /opt/local/libexec/boost/1.76/include/boost/thread/detail/platform_time.hpp: In constructor 'boost::detail::platform_duration::platform_duration(const boost::posix_time::time_duration&)': /opt/local/libexec/boost/1.76/include/boost/thread/detail/platform_time.hpp:148:47: warning: conversion from 'boost::date_time::time_duration<boost::posix_time::time_duration, boost::date_time::time_resolution_traits<boost::date_time::time_resolution_traits_adapted64_impl, boost::date_time::micro, 1000000, 6> >::sec_type' {aka 'long long int'} to '__darwin_time_t' {aka 'long int'} may change value [-Wconversion] 148 | ts_val.tv_sec = rel_time.total_seconds(); | ~~~~~~~~~~~~~~~~~~~~~~^~ In file included from /opt/local/libexec/boost/1.76/include/boost/thread/detail/platform_time.hpp:13, from /opt/local/libexec/boost/1.76/include/boost/thread/pthread/condition_variable.hpp:9, from /opt/local/libexec/boost/1.76/include/boost/thread/condition_variable.hpp:16, from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_www_cpprestsdk/cpprestsdk/work/cpprestsdk-2.10.19/Release/src/pch/stdafx.h:61, from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_www_cpprestsdk/cpprestsdk/work/cpprestsdk-2.10.19/Release/src/http/client/http_client_msg.cpp:13: /opt/local/libexec/boost/1.76/include/boost/date_time/posix_time/conversion.hpp: In function 'time_t boost::posix_time::to_time_t(ptime)': /opt/local/libexec/boost/1.76/include/boost/date_time/posix_time/conversion.hpp:36:65: warning: conversion from 'boost::date_time::time_duration<boost::posix_time::time_duration, boost::date_time::time_resolution_traits<boost::date_time::time_resolution_traits_adapted64_impl, boost::date_time::micro, 1000000, 6> >::sec_type' {aka 'long long int'} to 'time_t' {aka 'long int'} may change value [-Wconversion] 36 | return (pt - ptime(gregorian::date(1970,1,1))).total_seconds(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /opt/local/libexec/boost/1.76/include/boost/thread/detail/platform_time.hpp: In function 'boost::time_max_t boost::threads::chrono_details::steady_full()': /opt/local/libexec/boost/1.76/include/boost/thread/detail/platform_time.hpp:88:54: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'double' may change value [-Wconversion] 88 | return static_cast<time_max_t>(mach_absolute_time() * factor); | ~~~~~~~~~~~~~~~~~~^~ /opt/local/libexec/boost/1.76/include/boost/thread/detail/platform_time.hpp: In constructor 'boost::detail::platform_duration::platform_duration(const boost::posix_time::time_duration&)': /opt/local/libexec/boost/1.76/include/boost/thread/detail/platform_time.hpp:148:47: warning: conversion from 'boost::date_time::time_duration<boost::posix_time::time_duration, boost::date_time::time_resolution_traits<boost::date_time::time_resolution_traits_adapted64_impl, boost::date_time::micro, 1000000, 6> >::sec_type' {aka 'long long int'} to '__darwin_time_t' {aka 'long int'} may change value [-Wconversion] 148 | ts_val.tv_sec = rel_time.total_seconds(); | ~~~~~~~~~~~~~~~~~~~~~~^~ /opt/local/libexec/boost/1.76/include/boost/thread/detail/platform_time.hpp: In function 'boost::time_max_t boost::threads::chrono_details::steady_full()': /opt/local/libexec/boost/1.76/include/boost/thread/detail/platform_time.hpp:88:54: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'double' may change value [-Wconversion] 88 | return static_cast<time_max_t>(mach_absolute_time() * factor); | ~~~~~~~~~~~~~~~~~~^~ /opt/local/libexec/boost/1.76/include/boost/thread/detail/platform_time.hpp: In constructor 'boost::detail::platform_duration::platform_duration(const boost::posix_time::time_duration&)': /opt/local/libexec/boost/1.76/include/boost/thread/detail/platform_time.hpp:148:47: warning: conversion from 'boost::date_time::time_duration<boost::posix_time::time_duration, boost::date_time::time_resolution_traits<boost::date_time::time_resolution_traits_adapted64_impl, boost::date_time::micro, 1000000, 6> >::sec_type' {aka 'long long int'} to '__darwin_time_t' {aka 'long int'} may change value [-Wconversion] 148 | ts_val.tv_sec = rel_time.total_seconds(); | ~~~~~~~~~~~~~~~~~~~~~~^~ /opt/local/libexec/boost/1.76/include/boost/thread/detail/platform_time.hpp: In function 'boost::time_max_t boost::threads::chrono_details::steady_full()': /opt/local/libexec/boost/1.76/include/boost/thread/detail/platform_time.hpp:88:54: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'double' may change value [-Wconversion] 88 | return static_cast<time_max_t>(mach_absolute_time() * factor); | ~~~~~~~~~~~~~~~~~~^~ /opt/local/libexec/boost/1.76/include/boost/thread/detail/platform_time.hpp: In constructor 'boost::detail::platform_duration::platform_duration(const boost::posix_time::time_duration&)': /opt/local/libexec/boost/1.76/include/boost/thread/detail/platform_time.hpp:148:47: warning: conversion from 'boost::date_time::time_duration<boost::posix_time::time_duration, boost::date_time::time_resolution_traits<boost::date_time::time_resolution_traits_adapted64_impl, boost::date_time::micro, 1000000, 6> >::sec_type' {aka 'long long int'} to '__darwin_time_t' {aka 'long int'} may change value [-Wconversion] 148 | ts_val.tv_sec = rel_time.total_seconds(); | ~~~~~~~~~~~~~~~~~~~~~~^~ In file included from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_www_cpprestsdk/cpprestsdk/work/cpprestsdk-2.10.19/Release/include/cpprest/json.h:18, from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_www_cpprestsdk/cpprestsdk/work/cpprestsdk-2.10.19/Release/src/pch/stdafx.h:88: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_www_cpprestsdk/cpprestsdk/work/cpprestsdk-2.10.19/Release/include/cpprest/asyncrt_utils.h: At global scope: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_www_cpprestsdk/cpprestsdk/work/cpprestsdk-2.10.19/Release/include/cpprest/asyncrt_utils.h:317:13: error: 'locale_t' does not name a type 317 | typedef locale_t xplat_locale; | ^~~~~~~~ /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_www_cpprestsdk/cpprestsdk/work/cpprestsdk-2.10.19/Release/include/cpprest/asyncrt_utils.h:320:24: error: 'xplat_locale' does not name a type 320 | static _ASYNCRTIMP xplat_locale __cdecl c_locale(); | ^~~~~~~~~~~~ In file included from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_www_cpprestsdk/cpprestsdk/work/cpprestsdk-2.10.19/Release/include/cpprest/json.h:18, from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_www_cpprestsdk/cpprestsdk/work/cpprestsdk-2.10.19/Release/src/pch/stdafx.h:88: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_www_cpprestsdk/cpprestsdk/work/cpprestsdk-2.10.19/Release/include/cpprest/asyncrt_utils.h: At global scope: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_www_cpprestsdk/cpprestsdk/work/cpprestsdk-2.10.19/Release/include/cpprest/asyncrt_utils.h:317:13: error: 'locale_t' does not name a type 317 | typedef locale_t xplat_locale; | ^~~~~~~~ /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_www_cpprestsdk/cpprestsdk/work/cpprestsdk-2.10.19/Release/include/cpprest/asyncrt_utils.h:327:5: error: 'locale_t' does not name a type 327 | locale_t m_prevLocale; | ^~~~~~~~ In file included from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_www_cpprestsdk/cpprestsdk/work/cpprestsdk-2.10.19/Release/include/cpprest/json.h:18, from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_www_cpprestsdk/cpprestsdk/work/cpprestsdk-2.10.19/Release/src/pch/stdafx.h:88: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_www_cpprestsdk/cpprestsdk/work/cpprestsdk-2.10.19/Release/include/cpprest/asyncrt_utils.h: At global scope: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_www_cpprestsdk/cpprestsdk/work/cpprestsdk-2.10.19/Release/include/cpprest/asyncrt_utils.h:317:13: error: 'locale_t' does not name a type 317 | typedef locale_t xplat_locale; | ^~~~~~~~ /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_www_cpprestsdk/cpprestsdk/work/cpprestsdk-2.10.19/Release/include/cpprest/asyncrt_utils.h:320:24: error: 'xplat_locale' does not name a type 320 | static _ASYNCRTIMP xplat_locale __cdecl c_locale(); | ^~~~~~~~~~~~ /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_www_cpprestsdk/cpprestsdk/work/cpprestsdk-2.10.19/Release/include/cpprest/asyncrt_utils.h:327:5: error: 'locale_t' does not name a type 327 | locale_t m_prevLocale; | ^~~~~~~~ /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_www_cpprestsdk/cpprestsdk/work/cpprestsdk-2.10.19/Release/include/cpprest/asyncrt_utils.h:320:24: error: 'xplat_locale' does not name a type 320 | static _ASYNCRTIMP xplat_locale __cdecl c_locale(); | ^~~~~~~~~~~~ /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_www_cpprestsdk/cpprestsdk/work/cpprestsdk-2.10.19/Release/include/cpprest/asyncrt_utils.h:327:5: error: 'locale_t' does not name a type 327 | locale_t m_prevLocale; | ^~~~~~~~ In file included from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_www_cpprestsdk/cpprestsdk/work/cpprestsdk-2.10.19/Release/include/cpprest/json.h:18, from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_www_cpprestsdk/cpprestsdk/work/cpprestsdk-2.10.19/Release/src/pch/stdafx.h:88: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_www_cpprestsdk/cpprestsdk/work/cpprestsdk-2.10.19/Release/include/cpprest/asyncrt_utils.h: At global scope: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_www_cpprestsdk/cpprestsdk/work/cpprestsdk-2.10.19/Release/include/cpprest/asyncrt_utils.h:317:13: error: 'locale_t' does not name a type 317 | typedef locale_t xplat_locale; | ^~~~~~~~ In file included from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_www_cpprestsdk/cpprestsdk/work/cpprestsdk-2.10.19/Release/include/cpprest/json.h:18, from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_www_cpprestsdk/cpprestsdk/work/cpprestsdk-2.10.19/Release/src/pch/stdafx.h:88: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_www_cpprestsdk/cpprestsdk/work/cpprestsdk-2.10.19/Release/include/cpprest/asyncrt_utils.h: At global scope: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_www_cpprestsdk/cpprestsdk/work/cpprestsdk-2.10.19/Release/include/cpprest/asyncrt_utils.h:317:13: error: 'locale_t' does not name a type 317 | typedef locale_t xplat_locale; | ^~~~~~~~ In file included from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_www_cpprestsdk/cpprestsdk/work/cpprestsdk-2.10.19/Release/include/cpprest/json.h:18, from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_www_cpprestsdk/cpprestsdk/work/cpprestsdk-2.10.19/Release/src/pch/stdafx.h:88: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_www_cpprestsdk/cpprestsdk/work/cpprestsdk-2.10.19/Release/include/cpprest/asyncrt_utils.h: At global scope: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_www_cpprestsdk/cpprestsdk/work/cpprestsdk-2.10.19/Release/include/cpprest/asyncrt_utils.h:317:13: error: 'locale_t' does not name a type 317 | typedef locale_t xplat_locale; | ^~~~~~~~ /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_www_cpprestsdk/cpprestsdk/work/cpprestsdk-2.10.19/Release/include/cpprest/asyncrt_utils.h:320:24: error: 'xplat_locale' does not name a type 320 | static _ASYNCRTIMP xplat_locale __cdecl c_locale(); | ^~~~~~~~~~~~ /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_www_cpprestsdk/cpprestsdk/work/cpprestsdk-2.10.19/Release/include/cpprest/asyncrt_utils.h:320:24: error: 'xplat_locale' does not name a type 320 | static _ASYNCRTIMP xplat_locale __cdecl c_locale(); | ^~~~~~~~~~~~ /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_www_cpprestsdk/cpprestsdk/work/cpprestsdk-2.10.19/Release/include/cpprest/asyncrt_utils.h:327:5: error: 'locale_t' does not name a type 327 | locale_t m_prevLocale; | ^~~~~~~~ /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_www_cpprestsdk/cpprestsdk/work/cpprestsdk-2.10.19/Release/include/cpprest/asyncrt_utils.h:327:5: error: 'locale_t' does not name a type 327 | locale_t m_prevLocale; | ^~~~~~~~ /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_www_cpprestsdk/cpprestsdk/work/cpprestsdk-2.10.19/Release/include/cpprest/asyncrt_utils.h:320:24: error: 'xplat_locale' does not name a type 320 | static _ASYNCRTIMP xplat_locale __cdecl c_locale(); | ^~~~~~~~~~~~ /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_www_cpprestsdk/cpprestsdk/work/cpprestsdk-2.10.19/Release/include/cpprest/asyncrt_utils.h:327:5: error: 'locale_t' does not name a type 327 | locale_t m_prevLocale; | ^~~~~~~~ In file included from /opt/local/libexec/boost/1.76/include/boost/asio/ssl/context.hpp:23, from /opt/local/libexec/boost/1.76/include/boost/asio/ssl.hpp:18, from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_www_cpprestsdk/cpprestsdk/work/cpprestsdk-2.10.19/Release/include/cpprest/http_client.h:68, from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_www_cpprestsdk/cpprestsdk/work/cpprestsdk-2.10.19/Release/src/pch/stdafx.h:99: /opt/local/libexec/boost/1.76/include/boost/asio/ssl/context_base.hpp:139:3: warning: overflow in conversion from 'uint64_t' {aka 'long long unsigned int'} to 'long int' changes value from '2147485776' to '-2147481520' [-Woverflow] 139 | BOOST_ASIO_STATIC_CONSTANT(long, default_workarounds = SSL_OP_ALL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /opt/local/libexec/boost/1.76/include/boost/asio/ssl/context.hpp:760: /opt/local/libexec/boost/1.76/include/boost/asio/ssl/impl/context.ipp: In destructor 'boost::asio::ssl::context::rsa_cleanup::~rsa_cleanup()': /opt/local/libexec/boost/1.76/include/boost/asio/ssl/impl/context.ipp:54:37: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 54 | ~rsa_cleanup() { if (p) ::RSA_free(p); } | ~~~~~~~~~~^~~ In file included from /opt/local/include/openssl/x509.h:36, from /opt/local/include/openssl/ssl.h:31, from /opt/local/libexec/boost/1.76/include/boost/asio/ssl/detail/openssl_types.hpp:24, from /opt/local/libexec/boost/1.76/include/boost/asio/ssl/context_base.hpp:19: /opt/local/include/openssl/rsa.h:299:28: note: declared here 299 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ /opt/local/libexec/boost/1.76/include/boost/asio/ssl/impl/context.ipp: In destructor 'boost::asio::ssl::context::dh_cleanup::~dh_cleanup()': /opt/local/libexec/boost/1.76/include/boost/asio/ssl/impl/context.ipp:60:35: warning: 'void DH_free(DH*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 60 | ~dh_cleanup() { if (p) ::DH_free(p); } | ~~~~~~~~~^~~ In file included from /opt/local/include/openssl/dsa.h:31, from /opt/local/include/openssl/x509.h:37: /opt/local/include/openssl/dh.h:207:28: note: declared here 207 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh); | ^~~~~~~ In file included from /opt/local/libexec/boost/1.76/include/boost/asio/ssl/context.hpp:23, from /opt/local/libexec/boost/1.76/include/boost/asio/ssl.hpp:18, from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_www_cpprestsdk/cpprestsdk/work/cpprestsdk-2.10.19/Release/include/cpprest/http_client.h:68, from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_www_cpprestsdk/cpprestsdk/work/cpprestsdk-2.10.19/Release/src/pch/stdafx.h:99: /opt/local/libexec/boost/1.76/include/boost/asio/ssl/context_base.hpp:139:3: warning: overflow in conversion from 'uint64_t' {aka 'long long unsigned int'} to 'long int' changes value from '2147485776' to '-2147481520' [-Woverflow] 139 | BOOST_ASIO_STATIC_CONSTANT(long, default_workarounds = SSL_OP_ALL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/local/libexec/boost/1.76/include/boost/asio/ssl/impl/context.ipp: In member function 'boost::system::error_code boost::asio::ssl::context::use_rsa_private_key(const boost::asio::const_buffer&, boost::asio::ssl::context_base::file_format, boost::system::error_code&)': /opt/local/libexec/boost/1.76/include/boost/asio/ssl/impl/context.ipp:956:50: warning: 'RSA* d2i_RSAPrivateKey_bio(BIO*, RSA**)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 956 | rsa_private_key.p = ::d2i_RSAPrivateKey_bio(bio.p, 0); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/local/include/openssl/x509.h:619:28: note: declared here 619 | OSSL_DEPRECATEDIN_3_0 RSA *d2i_RSAPrivateKey_bio(BIO *bp, RSA **rsa); | ^~~~~~~~~~~~~~~~~~~~~ /opt/local/libexec/boost/1.76/include/boost/asio/ssl/impl/context.ipp:959:55: warning: 'RSA* PEM_read_bio_RSAPrivateKey(BIO*, RSA**, int (*)(char*, int, int, void*), void*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 959 | rsa_private_key.p = ::PEM_read_bio_RSAPrivateKey( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 960 | bio.p, 0, callback, | ~~~~~~~~~~~~~~~~~~~ 961 | cb_userdata); | ~~~~~~~~~~~~ In file included from /opt/local/include/openssl/ssl.h:36: /opt/local/include/openssl/pem.h:450:1: note: declared here 450 | DECLARE_PEM_rw_cb_attr(OSSL_DEPRECATEDIN_3_0, RSAPrivateKey, RSA) | ^~~~~~~~~~~~~~~~~~~~~~ /opt/local/libexec/boost/1.76/include/boost/asio/ssl/impl/context.ipp:972:38: warning: 'int SSL_CTX_use_RSAPrivateKey(SSL_CTX*, RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 972 | if (::SSL_CTX_use_RSAPrivateKey(handle_, rsa_private_key.p) == 1) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/local/include/openssl/ssl.h:1813:12: note: declared here 1813 | __owur int SSL_CTX_use_RSAPrivateKey(SSL_CTX *ctx, RSA *rsa); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /opt/local/libexec/boost/1.76/include/boost/asio/ssl/impl/context.ipp: In member function 'boost::system::error_code boost::asio::ssl::context::use_rsa_private_key_file(const std::string&, boost::asio::ssl::context_base::file_format, boost::system::error_code&)': /opt/local/libexec/boost/1.76/include/boost/asio/ssl/impl/context.ipp:1050:39: warning: 'int SSL_CTX_use_RSAPrivateKey_file(SSL_CTX*, const char*, int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1050 | if (::SSL_CTX_use_RSAPrivateKey_file( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1051 | handle_, filename.c_str(), file_type) != 1) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/local/include/openssl/ssl.h:1700:12: note: declared here 1700 | __owur int SSL_CTX_use_RSAPrivateKey_file(SSL_CTX *ctx, const char *file, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /opt/local/libexec/boost/1.76/include/boost/asio/ssl/context.hpp:760: /opt/local/libexec/boost/1.76/include/boost/asio/ssl/impl/context.ipp: In destructor 'boost::asio::ssl::context::rsa_cleanup::~rsa_cleanup()': /opt/local/libexec/boost/1.76/include/boost/asio/ssl/impl/context.ipp:54:37: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 54 | ~rsa_cleanup() { if (p) ::RSA_free(p); } | ~~~~~~~~~~^~~ In file included from /opt/local/include/openssl/x509.h:36, from /opt/local/include/openssl/ssl.h:31, from /opt/local/libexec/boost/1.76/include/boost/asio/ssl/detail/openssl_types.hpp:24, from /opt/local/libexec/boost/1.76/include/boost/asio/ssl/context_base.hpp:19: /opt/local/include/openssl/rsa.h:299:28: note: declared here 299 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ /opt/local/libexec/boost/1.76/include/boost/asio/ssl/impl/context.ipp: In destructor 'boost::asio::ssl::context::dh_cleanup::~dh_cleanup()': /opt/local/libexec/boost/1.76/include/boost/asio/ssl/impl/context.ipp:60:35: warning: 'void DH_free(DH*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 60 | ~dh_cleanup() { if (p) ::DH_free(p); } | ~~~~~~~~~^~~ In file included from /opt/local/include/openssl/dsa.h:31, from /opt/local/include/openssl/x509.h:37: /opt/local/include/openssl/dh.h:207:28: note: declared here 207 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh); | ^~~~~~~ /opt/local/libexec/boost/1.76/include/boost/asio/ssl/impl/context.ipp: In member function 'boost::system::error_code boost::asio::ssl::context::do_use_tmp_dh(BIO*, boost::system::error_code&)': /opt/local/libexec/boost/1.76/include/boost/asio/ssl/impl/context.ipp:1116:44: warning: 'DH* PEM_read_bio_DHparams(BIO*, DH**, int (*)(char*, int, int, void*), void*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1116 | dh_cleanup dh = { ::PEM_read_bio_DHparams(bio, 0, 0, 0) }; | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /opt/local/include/openssl/pem.h:472:1: note: declared here 472 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, DHparams, DH) | ^~~~~~~~~~~~~~~~~~~ In file included from /opt/local/libexec/boost/1.76/include/boost/asio/ssl/context.hpp:23, from /opt/local/libexec/boost/1.76/include/boost/asio/ssl.hpp:18, from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_www_cpprestsdk/cpprestsdk/work/cpprestsdk-2.10.19/Release/include/cpprest/http_client.h:68, from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_www_cpprestsdk/cpprestsdk/work/cpprestsdk-2.10.19/Release/src/pch/stdafx.h:99: /opt/local/libexec/boost/1.76/include/boost/asio/ssl/context_base.hpp:139:3: warning: overflow in conversion from 'uint64_t' {aka 'long long unsigned int'} to 'long int' changes value from '2147485776' to '-2147481520' [-Woverflow] 139 | BOOST_ASIO_STATIC_CONSTANT(long, default_workarounds = SSL_OP_ALL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/local/libexec/boost/1.76/include/boost/asio/ssl/impl/context.ipp: In member function 'boost::system::error_code boost::asio::ssl::context::use_rsa_private_key(const boost::asio::const_buffer&, boost::asio::ssl::context_base::file_format, boost::system::error_code&)': /opt/local/libexec/boost/1.76/include/boost/asio/ssl/impl/context.ipp:956:50: warning: 'RSA* d2i_RSAPrivateKey_bio(BIO*, RSA**)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 956 | rsa_private_key.p = ::d2i_RSAPrivateKey_bio(bio.p, 0); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/local/include/openssl/x509.h:619:28: note: declared here 619 | OSSL_DEPRECATEDIN_3_0 RSA *d2i_RSAPrivateKey_bio(BIO *bp, RSA **rsa); | ^~~~~~~~~~~~~~~~~~~~~ /opt/local/libexec/boost/1.76/include/boost/asio/ssl/impl/context.ipp:959:55: warning: 'RSA* PEM_read_bio_RSAPrivateKey(BIO*, RSA**, int (*)(char*, int, int, void*), void*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 959 | rsa_private_key.p = ::PEM_read_bio_RSAPrivateKey( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 960 | bio.p, 0, callback, | ~~~~~~~~~~~~~~~~~~~ 961 | cb_userdata); | ~~~~~~~~~~~~ In file included from /opt/local/include/openssl/ssl.h:36: /opt/local/include/openssl/pem.h:450:1: note: declared here 450 | DECLARE_PEM_rw_cb_attr(OSSL_DEPRECATEDIN_3_0, RSAPrivateKey, RSA) | ^~~~~~~~~~~~~~~~~~~~~~ /opt/local/libexec/boost/1.76/include/boost/asio/ssl/impl/context.ipp:972:38: warning: 'int SSL_CTX_use_RSAPrivateKey(SSL_CTX*, RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 972 | if (::SSL_CTX_use_RSAPrivateKey(handle_, rsa_private_key.p) == 1) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/local/include/openssl/ssl.h:1813:12: note: declared here 1813 | __owur int SSL_CTX_use_RSAPrivateKey(SSL_CTX *ctx, RSA *rsa); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /opt/local/libexec/boost/1.76/include/boost/asio/ssl/impl/context.ipp: In member function 'boost::system::error_code boost::asio::ssl::context::use_rsa_private_key_file(const std::string&, boost::asio::ssl::context_base::file_format, boost::system::error_code&)': /opt/local/libexec/boost/1.76/include/boost/asio/ssl/impl/context.ipp:1050:39: warning: 'int SSL_CTX_use_RSAPrivateKey_file(SSL_CTX*, const char*, int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1050 | if (::SSL_CTX_use_RSAPrivateKey_file( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1051 | handle_, filename.c_str(), file_type) != 1) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/local/include/openssl/ssl.h:1700:12: note: declared here 1700 | __owur int SSL_CTX_use_RSAPrivateKey_file(SSL_CTX *ctx, const char *file, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /opt/local/libexec/boost/1.76/include/boost/asio/ssl/context.hpp:760: /opt/local/libexec/boost/1.76/include/boost/asio/ssl/impl/context.ipp: In destructor 'boost::asio::ssl::context::rsa_cleanup::~rsa_cleanup()': /opt/local/libexec/boost/1.76/include/boost/asio/ssl/impl/context.ipp:54:37: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 54 | ~rsa_cleanup() { if (p) ::RSA_free(p); } | ~~~~~~~~~~^~~ In file included from /opt/local/include/openssl/x509.h:36, from /opt/local/include/openssl/ssl.h:31, from /opt/local/libexec/boost/1.76/include/boost/asio/ssl/detail/openssl_types.hpp:24, from /opt/local/libexec/boost/1.76/include/boost/asio/ssl/context_base.hpp:19: /opt/local/include/openssl/rsa.h:299:28: note: declared here 299 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ /opt/local/libexec/boost/1.76/include/boost/asio/ssl/impl/context.ipp: In destructor 'boost::asio::ssl::context::dh_cleanup::~dh_cleanup()': /opt/local/libexec/boost/1.76/include/boost/asio/ssl/impl/context.ipp:60:35: warning: 'void DH_free(DH*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 60 | ~dh_cleanup() { if (p) ::DH_free(p); } | ~~~~~~~~~^~~ In file included from /opt/local/include/openssl/dsa.h:31, from /opt/local/include/openssl/x509.h:37: /opt/local/include/openssl/dh.h:207:28: note: declared here 207 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh); | ^~~~~~~ /opt/local/libexec/boost/1.76/include/boost/asio/ssl/impl/context.ipp: In member function 'boost::system::error_code boost::asio::ssl::context::do_use_tmp_dh(BIO*, boost::system::error_code&)': /opt/local/libexec/boost/1.76/include/boost/asio/ssl/impl/context.ipp:1116:44: warning: 'DH* PEM_read_bio_DHparams(BIO*, DH**, int (*)(char*, int, int, void*), void*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1116 | dh_cleanup dh = { ::PEM_read_bio_DHparams(bio, 0, 0, 0) }; | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /opt/local/include/openssl/pem.h:472:1: note: declared here 472 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, DHparams, DH) | ^~~~~~~~~~~~~~~~~~~ In file included from /opt/local/libexec/boost/1.76/include/boost/asio/ssl/context.hpp:23, from /opt/local/libexec/boost/1.76/include/boost/asio/ssl.hpp:18, from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_www_cpprestsdk/cpprestsdk/work/cpprestsdk-2.10.19/Release/include/cpprest/http_client.h:68, from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_www_cpprestsdk/cpprestsdk/work/cpprestsdk-2.10.19/Release/src/pch/stdafx.h:99: /opt/local/libexec/boost/1.76/include/boost/asio/ssl/context_base.hpp:139:3: warning: overflow in conversion from 'uint64_t' {aka 'long long unsigned int'} to 'long int' changes value from '2147485776' to '-2147481520' [-Woverflow] 139 | BOOST_ASIO_STATIC_CONSTANT(long, default_workarounds = SSL_OP_ALL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/local/libexec/boost/1.76/include/boost/asio/ssl/impl/context.ipp: In member function 'boost::system::error_code boost::asio::ssl::context::use_rsa_private_key(const boost::asio::const_buffer&, boost::asio::ssl::context_base::file_format, boost::system::error_code&)': /opt/local/libexec/boost/1.76/include/boost/asio/ssl/impl/context.ipp:956:50: warning: 'RSA* d2i_RSAPrivateKey_bio(BIO*, RSA**)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 956 | rsa_private_key.p = ::d2i_RSAPrivateKey_bio(bio.p, 0); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/local/include/openssl/x509.h:619:28: note: declared here 619 | OSSL_DEPRECATEDIN_3_0 RSA *d2i_RSAPrivateKey_bio(BIO *bp, RSA **rsa); | ^~~~~~~~~~~~~~~~~~~~~ /opt/local/libexec/boost/1.76/include/boost/asio/ssl/impl/context.ipp:959:55: warning: 'RSA* PEM_read_bio_RSAPrivateKey(BIO*, RSA**, int (*)(char*, int, int, void*), void*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 959 | rsa_private_key.p = ::PEM_read_bio_RSAPrivateKey( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 960 | bio.p, 0, callback, | ~~~~~~~~~~~~~~~~~~~ 961 | cb_userdata); | ~~~~~~~~~~~~ In file included from /opt/local/include/openssl/ssl.h:36: /opt/local/include/openssl/pem.h:450:1: note: declared here 450 | DECLARE_PEM_rw_cb_attr(OSSL_DEPRECATEDIN_3_0, RSAPrivateKey, RSA) | ^~~~~~~~~~~~~~~~~~~~~~ /opt/local/libexec/boost/1.76/include/boost/asio/ssl/impl/context.ipp:972:38: warning: 'int SSL_CTX_use_RSAPrivateKey(SSL_CTX*, RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 972 | if (::SSL_CTX_use_RSAPrivateKey(handle_, rsa_private_key.p) == 1) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/local/include/openssl/ssl.h:1813:12: note: declared here 1813 | __owur int SSL_CTX_use_RSAPrivateKey(SSL_CTX *ctx, RSA *rsa); | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /opt/local/libexec/boost/1.76/include/boost/asio/ssl/context.hpp:23, from /opt/local/libexec/boost/1.76/include/boost/asio/ssl.hpp:18, from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_www_cpprestsdk/cpprestsdk/work/cpprestsdk-2.10.19/Release/include/cpprest/http_client.h:68, from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_www_cpprestsdk/cpprestsdk/work/cpprestsdk-2.10.19/Release/src/pch/stdafx.h:99: /opt/local/libexec/boost/1.76/include/boost/asio/ssl/context_base.hpp:139:3: warning: overflow in conversion from 'uint64_t' {aka 'long long unsigned int'} to 'long int' changes value from '2147485776' to '-2147481520' [-Woverflow] 139 | BOOST_ASIO_STATIC_CONSTANT(long, default_workarounds = SSL_OP_ALL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /opt/local/libexec/boost/1.76/include/boost/asio/ssl/context.hpp:23, from /opt/local/libexec/boost/1.76/include/boost/asio/ssl.hpp:18, from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_www_cpprestsdk/cpprestsdk/work/cpprestsdk-2.10.19/Release/include/cpprest/http_client.h:68, from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_www_cpprestsdk/cpprestsdk/work/cpprestsdk-2.10.19/Release/src/pch/stdafx.h:99: /opt/local/libexec/boost/1.76/include/boost/asio/ssl/context_base.hpp:139:3: warning: overflow in conversion from 'uint64_t' {aka 'long long unsigned int'} to 'long int' changes value from '2147485776' to '-2147481520' [-Woverflow] 139 | BOOST_ASIO_STATIC_CONSTANT(long, default_workarounds = SSL_OP_ALL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/local/libexec/boost/1.76/include/boost/asio/ssl/impl/context.ipp: In member function 'boost::system::error_code boost::asio::ssl::context::use_rsa_private_key_file(const std::string&, boost::asio::ssl::context_base::file_format, boost::system::error_code&)': /opt/local/libexec/boost/1.76/include/boost/asio/ssl/impl/context.ipp:1050:39: warning: 'int SSL_CTX_use_RSAPrivateKey_file(SSL_CTX*, const char*, int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1050 | if (::SSL_CTX_use_RSAPrivateKey_file( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1051 | handle_, filename.c_str(), file_type) != 1) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/local/include/openssl/ssl.h:1700:12: note: declared here 1700 | __owur int SSL_CTX_use_RSAPrivateKey_file(SSL_CTX *ctx, const char *file, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/local/libexec/boost/1.76/include/boost/asio/ssl/impl/context.ipp: In member function 'boost::system::error_code boost::asio::ssl::context::do_use_tmp_dh(BIO*, boost::system::error_code&)': /opt/local/libexec/boost/1.76/include/boost/asio/ssl/impl/context.ipp:1116:44: warning: 'DH* PEM_read_bio_DHparams(BIO*, DH**, int (*)(char*, int, int, void*), void*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1116 | dh_cleanup dh = { ::PEM_read_bio_DHparams(bio, 0, 0, 0) }; | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /opt/local/include/openssl/pem.h:472:1: note: declared here 472 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, DHparams, DH) | ^~~~~~~~~~~~~~~~~~~ In file included from /opt/local/libexec/boost/1.76/include/boost/asio/ssl/context.hpp:760: /opt/local/libexec/boost/1.76/include/boost/asio/ssl/impl/context.ipp: In destructor 'boost::asio::ssl::context::rsa_cleanup::~rsa_cleanup()': /opt/local/libexec/boost/1.76/include/boost/asio/ssl/impl/context.ipp:54:37: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 54 | ~rsa_cleanup() { if (p) ::RSA_free(p); } | ~~~~~~~~~~^~~ In file included from /opt/local/include/openssl/x509.h:36, from /opt/local/include/openssl/ssl.h:31, from /opt/local/libexec/boost/1.76/include/boost/asio/ssl/detail/openssl_types.hpp:24, from /opt/local/libexec/boost/1.76/include/boost/asio/ssl/context_base.hpp:19: /opt/local/include/openssl/rsa.h:299:28: note: declared here 299 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ /opt/local/libexec/boost/1.76/include/boost/asio/ssl/impl/context.ipp: In destructor 'boost::asio::ssl::context::dh_cleanup::~dh_cleanup()': /opt/local/libexec/boost/1.76/include/boost/asio/ssl/impl/context.ipp:60:35: warning: 'void DH_free(DH*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 60 | ~dh_cleanup() { if (p) ::DH_free(p); } | ~~~~~~~~~^~~ In file included from /opt/local/include/openssl/dsa.h:31, from /opt/local/include/openssl/x509.h:37: /opt/local/include/openssl/dh.h:207:28: note: declared here 207 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh); | ^~~~~~~ In file included from /opt/local/libexec/boost/1.76/include/boost/asio/ssl/context.hpp:760: /opt/local/libexec/boost/1.76/include/boost/asio/ssl/impl/context.ipp: In destructor 'boost::asio::ssl::context::rsa_cleanup::~rsa_cleanup()': /opt/local/libexec/boost/1.76/include/boost/asio/ssl/impl/context.ipp:54:37: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 54 | ~rsa_cleanup() { if (p) ::RSA_free(p); } | ~~~~~~~~~~^~~ In file included from /opt/local/include/openssl/x509.h:36, from /opt/local/include/openssl/ssl.h:31, from /opt/local/libexec/boost/1.76/include/boost/asio/ssl/detail/openssl_types.hpp:24, from /opt/local/libexec/boost/1.76/include/boost/asio/ssl/context_base.hpp:19: /opt/local/include/openssl/rsa.h:299:28: note: declared here 299 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ /opt/local/libexec/boost/1.76/include/boost/asio/ssl/impl/context.ipp: In destructor 'boost::asio::ssl::context::dh_cleanup::~dh_cleanup()': /opt/local/libexec/boost/1.76/include/boost/asio/ssl/impl/context.ipp:60:35: warning: 'void DH_free(DH*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 60 | ~dh_cleanup() { if (p) ::DH_free(p); } | ~~~~~~~~~^~~ In file included from /opt/local/include/openssl/dsa.h:31, from /opt/local/include/openssl/x509.h:37: /opt/local/include/openssl/dh.h:207:28: note: declared here 207 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh); | ^~~~~~~ In file included from /opt/local/libexec/boost/1.76/include/boost/asio/ssl/context.hpp:760: /opt/local/libexec/boost/1.76/include/boost/asio/ssl/impl/context.ipp: In destructor 'boost::asio::ssl::context::rsa_cleanup::~rsa_cleanup()': /opt/local/libexec/boost/1.76/include/boost/asio/ssl/impl/context.ipp:54:37: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 54 | ~rsa_cleanup() { if (p) ::RSA_free(p); } | ~~~~~~~~~~^~~ In file included from /opt/local/include/openssl/x509.h:36, from /opt/local/include/openssl/ssl.h:31, from /opt/local/libexec/boost/1.76/include/boost/asio/ssl/detail/openssl_types.hpp:24, from /opt/local/libexec/boost/1.76/include/boost/asio/ssl/context_base.hpp:19: /opt/local/include/openssl/rsa.h:299:28: note: declared here 299 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ /opt/local/libexec/boost/1.76/include/boost/asio/ssl/impl/context.ipp: In destructor 'boost::asio::ssl::context::dh_cleanup::~dh_cleanup()': /opt/local/libexec/boost/1.76/include/boost/asio/ssl/impl/context.ipp:60:35: warning: 'void DH_free(DH*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 60 | ~dh_cleanup() { if (p) ::DH_free(p); } | ~~~~~~~~~^~~ In file included from /opt/local/include/openssl/dsa.h:31, from /opt/local/include/openssl/x509.h:37: /opt/local/include/openssl/dh.h:207:28: note: declared here 207 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh); | ^~~~~~~ /opt/local/libexec/boost/1.76/include/boost/asio/ssl/impl/context.ipp: In member function 'boost::system::error_code boost::asio::ssl::context::use_rsa_private_key(const boost::asio::const_buffer&, boost::asio::ssl::context_base::file_format, boost::system::error_code&)': /opt/local/libexec/boost/1.76/include/boost/asio/ssl/impl/context.ipp:956:50: warning: 'RSA* d2i_RSAPrivateKey_bio(BIO*, RSA**)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 956 | rsa_private_key.p = ::d2i_RSAPrivateKey_bio(bio.p, 0); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/local/include/openssl/x509.h:619:28: note: declared here 619 | OSSL_DEPRECATEDIN_3_0 RSA *d2i_RSAPrivateKey_bio(BIO *bp, RSA **rsa); | ^~~~~~~~~~~~~~~~~~~~~ /opt/local/libexec/boost/1.76/include/boost/asio/ssl/impl/context.ipp:959:55: warning: 'RSA* PEM_read_bio_RSAPrivateKey(BIO*, RSA**, int (*)(char*, int, int, void*), void*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 959 | rsa_private_key.p = ::PEM_read_bio_RSAPrivateKey( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 960 | bio.p, 0, callback, | ~~~~~~~~~~~~~~~~~~~ 961 | cb_userdata); | ~~~~~~~~~~~~ In file included from /opt/local/include/openssl/ssl.h:36: /opt/local/include/openssl/pem.h:450:1: note: declared here 450 | DECLARE_PEM_rw_cb_attr(OSSL_DEPRECATEDIN_3_0, RSAPrivateKey, RSA) | ^~~~~~~~~~~~~~~~~~~~~~ /opt/local/libexec/boost/1.76/include/boost/asio/ssl/impl/context.ipp: In member function 'boost::system::error_code boost::asio::ssl::context::use_rsa_private_key(const boost::asio::const_buffer&, boost::asio::ssl::context_base::file_format, boost::system::error_code&)': /opt/local/libexec/boost/1.76/include/boost/asio/ssl/impl/context.ipp:956:50: warning: 'RSA* d2i_RSAPrivateKey_bio(BIO*, RSA**)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 956 | rsa_private_key.p = ::d2i_RSAPrivateKey_bio(bio.p, 0); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/local/include/openssl/x509.h:619:28: note: declared here 619 | OSSL_DEPRECATEDIN_3_0 RSA *d2i_RSAPrivateKey_bio(BIO *bp, RSA **rsa); | ^~~~~~~~~~~~~~~~~~~~~ /opt/local/libexec/boost/1.76/include/boost/asio/ssl/impl/context.ipp:972:38: warning: 'int SSL_CTX_use_RSAPrivateKey(SSL_CTX*, RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 972 | if (::SSL_CTX_use_RSAPrivateKey(handle_, rsa_private_key.p) == 1) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/local/include/openssl/ssl.h:1813:12: note: declared here 1813 | __owur int SSL_CTX_use_RSAPrivateKey(SSL_CTX *ctx, RSA *rsa); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /opt/local/libexec/boost/1.76/include/boost/asio/ssl/impl/context.ipp:959:55: warning: 'RSA* PEM_read_bio_RSAPrivateKey(BIO*, RSA**, int (*)(char*, int, int, void*), void*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 959 | rsa_private_key.p = ::PEM_read_bio_RSAPrivateKey( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 960 | bio.p, 0, callback, | ~~~~~~~~~~~~~~~~~~~ 961 | cb_userdata); | ~~~~~~~~~~~~ In file included from /opt/local/include/openssl/ssl.h:36: /opt/local/include/openssl/pem.h:450:1: note: declared here 450 | DECLARE_PEM_rw_cb_attr(OSSL_DEPRECATEDIN_3_0, RSAPrivateKey, RSA) | ^~~~~~~~~~~~~~~~~~~~~~ /opt/local/libexec/boost/1.76/include/boost/asio/ssl/impl/context.ipp:972:38: warning: 'int SSL_CTX_use_RSAPrivateKey(SSL_CTX*, RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 972 | if (::SSL_CTX_use_RSAPrivateKey(handle_, rsa_private_key.p) == 1) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/local/libexec/boost/1.76/include/boost/asio/ssl/impl/context.ipp: In member function 'boost::system::error_code boost::asio::ssl::context::use_rsa_private_key_file(const std::string&, boost::asio::ssl::context_base::file_format, boost::system::error_code&)': /opt/local/libexec/boost/1.76/include/boost/asio/ssl/impl/context.ipp:1050:39: warning: 'int SSL_CTX_use_RSAPrivateKey_file(SSL_CTX*, const char*, int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1050 | if (::SSL_CTX_use_RSAPrivateKey_file( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1051 | handle_, filename.c_str(), file_type) != 1) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/local/include/openssl/ssl.h:1700:12: note: declared here 1700 | __owur int SSL_CTX_use_RSAPrivateKey_file(SSL_CTX *ctx, const char *file, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/local/include/openssl/ssl.h:1813:12: note: declared here 1813 | __owur int SSL_CTX_use_RSAPrivateKey(SSL_CTX *ctx, RSA *rsa); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /opt/local/libexec/boost/1.76/include/boost/asio/ssl/impl/context.ipp: In member function 'boost::system::error_code boost::asio::ssl::context::use_rsa_private_key(const boost::asio::const_buffer&, boost::asio::ssl::context_base::file_format, boost::system::error_code&)': /opt/local/libexec/boost/1.76/include/boost/asio/ssl/impl/context.ipp:956:50: warning: 'RSA* d2i_RSAPrivateKey_bio(BIO*, RSA**)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 956 | rsa_private_key.p = ::d2i_RSAPrivateKey_bio(bio.p, 0); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/local/include/openssl/x509.h:619:28: note: declared here 619 | OSSL_DEPRECATEDIN_3_0 RSA *d2i_RSAPrivateKey_bio(BIO *bp, RSA **rsa); | ^~~~~~~~~~~~~~~~~~~~~ /opt/local/libexec/boost/1.76/include/boost/asio/ssl/impl/context.ipp:959:55: warning: 'RSA* PEM_read_bio_RSAPrivateKey(BIO*, RSA**, int (*)(char*, int, int, void*), void*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 959 | rsa_private_key.p = ::PEM_read_bio_RSAPrivateKey( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 960 | bio.p, 0, callback, | ~~~~~~~~~~~~~~~~~~~ 961 | cb_userdata); | ~~~~~~~~~~~~ In file included from /opt/local/include/openssl/ssl.h:36: /opt/local/include/openssl/pem.h:450:1: note: declared here 450 | DECLARE_PEM_rw_cb_attr(OSSL_DEPRECATEDIN_3_0, RSAPrivateKey, RSA) | ^~~~~~~~~~~~~~~~~~~~~~ /opt/local/libexec/boost/1.76/include/boost/asio/ssl/impl/context.ipp:972:38: warning: 'int SSL_CTX_use_RSAPrivateKey(SSL_CTX*, RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 972 | if (::SSL_CTX_use_RSAPrivateKey(handle_, rsa_private_key.p) == 1) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/local/include/openssl/ssl.h:1813:12: note: declared here 1813 | __owur int SSL_CTX_use_RSAPrivateKey(SSL_CTX *ctx, RSA *rsa); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /opt/local/libexec/boost/1.76/include/boost/asio/ssl/impl/context.ipp: In member function 'boost::system::error_code boost::asio::ssl::context::use_rsa_private_key_file(const std::string&, boost::asio::ssl::context_base::file_format, boost::system::error_code&)': /opt/local/libexec/boost/1.76/include/boost/asio/ssl/impl/context.ipp:1050:39: warning: 'int SSL_CTX_use_RSAPrivateKey_file(SSL_CTX*, const char*, int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1050 | if (::SSL_CTX_use_RSAPrivateKey_file( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1051 | handle_, filename.c_str(), file_type) != 1) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/local/include/openssl/ssl.h:1700:12: note: declared here 1700 | __owur int SSL_CTX_use_RSAPrivateKey_file(SSL_CTX *ctx, const char *file, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/local/libexec/boost/1.76/include/boost/asio/ssl/impl/context.ipp: In member function 'boost::system::error_code boost::asio::ssl::context::use_rsa_private_key_file(const std::string&, boost::asio::ssl::context_base::file_format, boost::system::error_code&)': /opt/local/libexec/boost/1.76/include/boost/asio/ssl/impl/context.ipp:1050:39: warning: 'int SSL_CTX_use_RSAPrivateKey_file(SSL_CTX*, const char*, int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1050 | if (::SSL_CTX_use_RSAPrivateKey_file( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1051 | handle_, filename.c_str(), file_type) != 1) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/local/include/openssl/ssl.h:1700:12: note: declared here 1700 | __owur int SSL_CTX_use_RSAPrivateKey_file(SSL_CTX *ctx, const char *file, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/local/libexec/boost/1.76/include/boost/asio/ssl/impl/context.ipp: In member function 'boost::system::error_code boost::asio::ssl::context::do_use_tmp_dh(BIO*, boost::system::error_code&)': /opt/local/libexec/boost/1.76/include/boost/asio/ssl/impl/context.ipp:1116:44: warning: 'DH* PEM_read_bio_DHparams(BIO*, DH**, int (*)(char*, int, int, void*), void*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1116 | dh_cleanup dh = { ::PEM_read_bio_DHparams(bio, 0, 0, 0) }; | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /opt/local/include/openssl/pem.h:472:1: note: declared here 472 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, DHparams, DH) | ^~~~~~~~~~~~~~~~~~~ /opt/local/libexec/boost/1.76/include/boost/asio/ssl/impl/context.ipp: In member function 'boost::system::error_code boost::asio::ssl::context::do_use_tmp_dh(BIO*, boost::system::error_code&)': /opt/local/libexec/boost/1.76/include/boost/asio/ssl/impl/context.ipp:1116:44: warning: 'DH* PEM_read_bio_DHparams(BIO*, DH**, int (*)(char*, int, int, void*), void*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1116 | dh_cleanup dh = { ::PEM_read_bio_DHparams(bio, 0, 0, 0) }; | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /opt/local/include/openssl/pem.h:472:1: note: declared here 472 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, DHparams, DH) | ^~~~~~~~~~~~~~~~~~~ /opt/local/libexec/boost/1.76/include/boost/asio/ssl/impl/context.ipp: In member function 'boost::system::error_code boost::asio::ssl::context::do_use_tmp_dh(BIO*, boost::system::error_code&)': /opt/local/libexec/boost/1.76/include/boost/asio/ssl/impl/context.ipp:1116:44: warning: 'DH* PEM_read_bio_DHparams(BIO*, DH**, int (*)(char*, int, int, void*), void*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1116 | dh_cleanup dh = { ::PEM_read_bio_DHparams(bio, 0, 0, 0) }; | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /opt/local/include/openssl/pem.h:472:1: note: declared here 472 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, DHparams, DH) | ^~~~~~~~~~~~~~~~~~~ In file included from /opt/local/libexec/boost/1.76/include/boost/asio/detail/socket_ops.hpp:382, from /opt/local/libexec/boost/1.76/include/boost/asio/ip/impl/address_v4.ipp:23, from /opt/local/libexec/boost/1.76/include/boost/asio/ip/address_v4.hpp:354, from /opt/local/libexec/boost/1.76/include/boost/asio/ip/address.hpp:24, from /opt/local/libexec/boost/1.76/include/boost/asio/ssl/impl/rfc2818_verification.ipp:24, from /opt/local/libexec/boost/1.76/include/boost/asio/ssl/rfc2818_verification.hpp:95, from /opt/local/libexec/boost/1.76/include/boost/asio/ssl.hpp:21: /opt/local/libexec/boost/1.76/include/boost/asio/detail/impl/socket_ops.ipp: In function 'boost::system::error_code boost::asio::detail::socket_ops::getaddrinfo(const char*, const char*, const boost::asio::detail::addrinfo_type&, boost::asio::detail::addrinfo_type**, boost::system::error_code&)': /opt/local/libexec/boost/1.76/include/boost/asio/detail/impl/socket_ops.ipp:3742:51: warning: conversion from 'int' to 'boost::asio::detail::u_short_type' {aka 'short unsigned int'} may change value [-Wconversion] 3742 | u_short_type port = host_to_network_short(atoi(service)); | ~~~~^~~~~~~~~ In file included from /opt/local/libexec/boost/1.76/include/boost/asio/detail/socket_ops.hpp:382, from /opt/local/libexec/boost/1.76/include/boost/asio/ip/impl/address_v4.ipp:23, from /opt/local/libexec/boost/1.76/include/boost/asio/ip/address_v4.hpp:354, from /opt/local/libexec/boost/1.76/include/boost/asio/ip/address.hpp:24, from /opt/local/libexec/boost/1.76/include/boost/asio/ssl/impl/rfc2818_verification.ipp:24, from /opt/local/libexec/boost/1.76/include/boost/asio/ssl/rfc2818_verification.hpp:95, from /opt/local/libexec/boost/1.76/include/boost/asio/ssl.hpp:21: /opt/local/libexec/boost/1.76/include/boost/asio/detail/impl/socket_ops.ipp: In function 'boost::system::error_code boost::asio::detail::socket_ops::getaddrinfo(const char*, const char*, const boost::asio::detail::addrinfo_type&, boost::asio::detail::addrinfo_type**, boost::system::error_code&)': /opt/local/libexec/boost/1.76/include/boost/asio/detail/impl/socket_ops.ipp:3742:51: warning: conversion from 'int' to 'boost::asio::detail::u_short_type' {aka 'short unsigned int'} may change value [-Wconversion] 3742 | u_short_type port = host_to_network_short(atoi(service)); | ~~~~^~~~~~~~~ In file included from /opt/local/libexec/boost/1.76/include/boost/asio/detail/socket_ops.hpp:382, from /opt/local/libexec/boost/1.76/include/boost/asio/ip/impl/address_v4.ipp:23, from /opt/local/libexec/boost/1.76/include/boost/asio/ip/address_v4.hpp:354, from /opt/local/libexec/boost/1.76/include/boost/asio/ip/address.hpp:24, from /opt/local/libexec/boost/1.76/include/boost/asio/ssl/impl/rfc2818_verification.ipp:24, from /opt/local/libexec/boost/1.76/include/boost/asio/ssl/rfc2818_verification.hpp:95, from /opt/local/libexec/boost/1.76/include/boost/asio/ssl.hpp:21: /opt/local/libexec/boost/1.76/include/boost/asio/detail/impl/socket_ops.ipp: In function 'boost::system::error_code boost::asio::detail::socket_ops::getaddrinfo(const char*, const char*, const boost::asio::detail::addrinfo_type&, boost::asio::detail::addrinfo_type**, boost::system::error_code&)': /opt/local/libexec/boost/1.76/include/boost/asio/detail/impl/socket_ops.ipp:3742:51: warning: conversion from 'int' to 'boost::asio::detail::u_short_type' {aka 'short unsigned int'} may change value [-Wconversion] 3742 | u_short_type port = host_to_network_short(atoi(service)); | ~~~~^~~~~~~~~ In file included from /opt/local/libexec/boost/1.76/include/boost/asio/detail/socket_ops.hpp:382, from /opt/local/libexec/boost/1.76/include/boost/asio/ip/impl/address_v4.ipp:23, from /opt/local/libexec/boost/1.76/include/boost/asio/ip/address_v4.hpp:354, from /opt/local/libexec/boost/1.76/include/boost/asio/ip/address.hpp:24, from /opt/local/libexec/boost/1.76/include/boost/asio/ssl/impl/rfc2818_verification.ipp:24, from /opt/local/libexec/boost/1.76/include/boost/asio/ssl/rfc2818_verification.hpp:95, from /opt/local/libexec/boost/1.76/include/boost/asio/ssl.hpp:21: /opt/local/libexec/boost/1.76/include/boost/asio/detail/impl/socket_ops.ipp: In function 'boost::system::error_code boost::asio::detail::socket_ops::getaddrinfo(const char*, const char*, const boost::asio::detail::addrinfo_type&, boost::asio::detail::addrinfo_type**, boost::system::error_code&)': /opt/local/libexec/boost/1.76/include/boost/asio/detail/impl/socket_ops.ipp:3742:51: warning: conversion from 'int' to 'boost::asio::detail::u_short_type' {aka 'short unsigned int'} may change value [-Wconversion] 3742 | u_short_type port = host_to_network_short(atoi(service)); | ~~~~^~~~~~~~~ In file included from /opt/local/libexec/boost/1.76/include/boost/asio/detail/socket_ops.hpp:382, from /opt/local/libexec/boost/1.76/include/boost/asio/ip/impl/address_v4.ipp:23, from /opt/local/libexec/boost/1.76/include/boost/asio/ip/address_v4.hpp:354, from /opt/local/libexec/boost/1.76/include/boost/asio/ip/address.hpp:24, from /opt/local/libexec/boost/1.76/include/boost/asio/ssl/impl/rfc2818_verification.ipp:24, from /opt/local/libexec/boost/1.76/include/boost/asio/ssl/rfc2818_verification.hpp:95, from /opt/local/libexec/boost/1.76/include/boost/asio/ssl.hpp:21: /opt/local/libexec/boost/1.76/include/boost/asio/detail/impl/socket_ops.ipp: In function 'boost::system::error_code boost::asio::detail::socket_ops::getaddrinfo(const char*, const char*, const boost::asio::detail::addrinfo_type&, boost::asio::detail::addrinfo_type**, boost::system::error_code&)': /opt/local/libexec/boost/1.76/include/boost/asio/detail/impl/socket_ops.ipp:3742:51: warning: conversion from 'int' to 'boost::asio::detail::u_short_type' {aka 'short unsigned int'} may change value [-Wconversion] 3742 | u_short_type port = host_to_network_short(atoi(service)); | ~~~~^~~~~~~~~ In file included from /opt/local/libexec/boost/1.76/include/boost/asio/detail/socket_ops.hpp:382, from /opt/local/libexec/boost/1.76/include/boost/asio/ip/impl/address_v4.ipp:23, from /opt/local/libexec/boost/1.76/include/boost/asio/ip/address_v4.hpp:354, from /opt/local/libexec/boost/1.76/include/boost/asio/ip/address.hpp:24, from /opt/local/libexec/boost/1.76/include/boost/asio/ssl/impl/rfc2818_verification.ipp:24, from /opt/local/libexec/boost/1.76/include/boost/asio/ssl/rfc2818_verification.hpp:95, from /opt/local/libexec/boost/1.76/include/boost/asio/ssl.hpp:21: /opt/local/libexec/boost/1.76/include/boost/asio/detail/impl/socket_ops.ipp: In function 'boost::system::error_code boost::asio::detail::socket_ops::getaddrinfo(const char*, const char*, const boost::asio::detail::addrinfo_type&, boost::asio::detail::addrinfo_type**, boost::system::error_code&)': /opt/local/libexec/boost/1.76/include/boost/asio/detail/impl/socket_ops.ipp:3742:51: warning: conversion from 'int' to 'boost::asio::detail::u_short_type' {aka 'short unsigned int'} may change value [-Wconversion] 3742 | u_short_type port = host_to_network_short(atoi(service)); | ~~~~^~~~~~~~~ make[2]: *** [Release/src/CMakeFiles/cpprest.dir/http/listener/http_listener.cpp.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: *** [Release/src/CMakeFiles/cpprest.dir/http/common/http_helpers.cpp.o] Error 1 make[2]: *** [Release/src/CMakeFiles/cpprest.dir/http/client/http_client_msg.cpp.o] Error 1 make[2]: *** [Release/src/CMakeFiles/cpprest.dir/http/client/http_client.cpp.o] Error 1 make[2]: *** [Release/src/CMakeFiles/cpprest.dir/http/common/http_compression.cpp.o] Error 1 make[2]: *** [Release/src/CMakeFiles/cpprest.dir/http/common/http_msg.cpp.o] Error 1 make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_www_cpprestsdk/cpprestsdk/work/build' make[1]: *** [Release/src/CMakeFiles/cpprest.dir/all] Error 2 make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_www_cpprestsdk/cpprestsdk/work/build' make: *** [all] Error 2
Note: See
TracTickets for help on using
tickets.