aws / aws-sdk-cpp

AWS SDK for C++
Apache License 2.0
1.98k stars 1.06k forks source link

Do not fail build on newer MSVS on GTEST_SKIP macro #2819

Closed SergeyRyabinin closed 9 months ago

SergeyRyabinin commented 9 months ago

Issue #, if available:

...\aws-cpp-sdk-core-tests\utils\threading\ReaderWriterLockTest.cpp(94): error C2220: the following warning is treated as an erro
r [...\aws-sdk-cpp\build\tests\aws-cpp-sdk-core-tests\aws-cpp-sdk-core-tests.vcxproj]
...\aws-sdk-cpp\tests\aws-cpp-sdk-core-tests\utils\threading\ReaderWriterLockTest.cpp(94): warning C4702: unreachable code [...\aws-sdk
-cpp\build\tests\aws-cpp-sdk-core-tests\aws-cpp-sdk-core-tests.vcxproj]

Description of changes: pragma ignore warning in AwsGTestSuite header (should be used only in tests). Check all that applies:

Check which platforms you have built SDK on to verify the correctness of this PR.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.