Ignore deprecated stdext:: usage in AWS SDK

This commit is contained in:
Dan Paulat 2023-11-16 22:22:26 -06:00
parent b934f90ffa
commit c331f4a1e4
4 changed files with 14 additions and 1 deletions

View file

@ -1,4 +1,5 @@
#define NOMINMAX #define NOMINMAX
#define _SILENCE_STDEXT_ARR_ITERS_DEPRECATION_WARNING
#include <scwx/qt/config/radar_site.hpp> #include <scwx/qt/config/radar_site.hpp>
#include <scwx/qt/main/main_window.hpp> #include <scwx/qt/main/main_window.hpp>

View file

@ -2,7 +2,13 @@
#include <scwx/provider/nexrad_data_provider.hpp> #include <scwx/provider/nexrad_data_provider.hpp>
#include <aws/s3/S3Client.h> namespace Aws
{
namespace S3
{
class S3Client;
} // namespace S3
} // namespace Aws
namespace scwx namespace scwx
{ {

View file

@ -1,3 +1,5 @@
#define _SILENCE_STDEXT_ARR_ITERS_DEPRECATION_WARNING
#include <scwx/provider/aws_level3_data_provider.hpp> #include <scwx/provider/aws_level3_data_provider.hpp>
#include <scwx/common/sites.hpp> #include <scwx/common/sites.hpp>
#include <scwx/util/logger.hpp> #include <scwx/util/logger.hpp>
@ -5,6 +7,7 @@
#include <shared_mutex> #include <shared_mutex>
#include <aws/s3/S3Client.h>
#include <aws/s3/model/ListObjectsV2Request.h> #include <aws/s3/model/ListObjectsV2Request.h>
#include <fmt/chrono.h> #include <fmt/chrono.h>
#include <fmt/format.h> #include <fmt/format.h>

View file

@ -1,3 +1,5 @@
#define _SILENCE_STDEXT_ARR_ITERS_DEPRECATION_WARNING
#include <scwx/provider/aws_nexrad_data_provider.hpp> #include <scwx/provider/aws_nexrad_data_provider.hpp>
#include <scwx/util/environment.hpp> #include <scwx/util/environment.hpp>
#include <scwx/util/logger.hpp> #include <scwx/util/logger.hpp>
@ -7,6 +9,7 @@
#include <shared_mutex> #include <shared_mutex>
#include <aws/s3/S3Client.h>
#include <aws/s3/model/GetObjectRequest.h> #include <aws/s3/model/GetObjectRequest.h>
#include <aws/s3/model/ListObjectsV2Request.h> #include <aws/s3/model/ListObjectsV2Request.h>
#include <fmt/chrono.h> #include <fmt/chrono.h>