-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Visual Studio 2022 STD::Allocator Warning Treated as Error #3001
Visual Studio 2022 STD::Allocator Warning Treated as Error #3001
Comments
Thanks for pointing this out to us. Can you confirm if your suggested workaround works for you? |
I see this when building on C++20 as well. If I replace the code in before |
-DAWS_SDK_WARNINGS_ARE_ERRORS=OFF works. |
Signed-off-by: AMZN-Gene <genewalt@amazon.com>
I made a PR here to fix this |
This issue is now closed. Comments on closed issues are hard for our team to see. |
aws/aws-sdk-cpp#3014) Signed-off-by: AMZN-Gene <genewalt@amazon.com>
- Upgrading the AWS SDK 11.361 with AWS_APPSTORE_SAFE flag - 1.11.361 also contains this fix: [Visual Studio 2022 STD::Allocator Warning Treated as Error · Issue #3001 · aws/aws-sdk-cpp (github.com)](aws/aws-sdk-cpp#3001) - 1.11.361 also contains this fix: [1.11.337+ Android cURL Build No Longer Compiles · Issue #3014 · aws/aws-sdk-cpp (github.com)](aws/aws-sdk-cpp#3014) Tested by 1) Grep'ing libraries for non-public api "CryptorGCM" before and after enabling AWS_APPSTORE_SAFE flag 2) Help from external developer re-submitting to Apple AppStore and passing Fixes o3de/o3de#18029 --------- Signed-off-by: Gene Walters <genewalt@amazon.com> Signed-off-by: Gene Walters <32776221+AMZN-Gene@users.noreply.github.com> Signed-off-by: AMZN-Gene <genewalt@amazon.com>
Describe the bug
Compiling AWS SDK 1.11.344 results in compiler warnings due to using deprecated std::allocator member variables in C++17
Expected Behavior
Build should succeed
Current Behavior
Reproduction Steps
MSVC 19.40.33811.0
cmake 3.29
Temporary Work Around
Temp workaround is to use -DAWS_SDK_WARNINGS_ARE_ERRORS=OFF
Additional Information/Context
No response
AWS CPP SDK version used
1.11.344
Compiler and Version used
Visual Studio 2022 MSVC 19.40.33811.0
Operating System and version
Windows 10 Enterprise
The text was updated successfully, but these errors were encountered: