-
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
Compilation Failure on macOS Catalina #2581
Comments
Hello @mdavis-coder , Thank you very much for your submission. I am unable to reproduce this behavior but from a first glance, this seems to be an issue with your environment. Could you please provide all your set up and building steps? As a side note, as documented in the readme if you would like to build with macOS - Xcode:
Thank you very much for your time and collaboration. Sincerely, Yasmine |
Hello @mdavis-coder , My apologies, I did not catch that you had the following flag I'll try to reproduce it and submit a fix for it. Thank you very much for your time and collaboration, Sincerely, Yasmine |
This should be released, give a shout if you see anymore errors |
|
Describe the bug
The SDK doesn't build out of the box on Catalina.
The source file, aws-sdk-cpp/src/aws-cpp-sdk-core/source/utils/component-registry/ComponentRegistry.cpp, fails to compile.
Expected Behavior
The compilation should not fail with:
cmake -DBUILD_ONLY="s3" -DBUILD_SHARED_LIBS=OFF
Current Behavior
Reproduction Steps
macOS 10.15.7 (Intel)
Apple clang version 12.0.0 (clang-1200.0.32.29)
Target: x86_64-apple-darwin19.6.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
Possible Solution
The value of the for loop should use a reference and not make a copy:
Additional Information/Context
No response
AWS CPP SDK version used
a4fccfa
Compiler and Version used
Apple clang version 12.0.0 (clang-1200.0.32.29)
Operating System and version
macOS 10.15.7
The text was updated successfully, but these errors were encountered: