-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Build breaks on TextToSpeechManager.cpp due to set-but-unused-variable while -Werror is turned on. #1816
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
Comments
Hi @HFTrader , |
text-to-speech doesn't compile with clang >= 13 See aws/aws-sdk-cpp#1816
* aws-sdk-cpp: add version 1.9.247 Implements #10048 * aws-sdk-cpp: Downgrade 1.9.247 -> 1.9.234 Somewhere between 1.9.234 and 1.9.247 builds for Mac broke as the OpenSSL headers are not found anymore when compiling aws-sdk-cpp-core. See #10526 (comment) * aws-sdk-cpp: support clang >= 13 with 1.9.100 Add patch for aws/aws-sdk-cpp#1816 * aws-sdk-cpp: support clang >= 13 with 1.8.130 Add patch for aws/aws-sdk-cpp#1816
We have recently reworking the build process, can you update to the latest version of this sdk and let me know if you are still having trouble building? |
@jmklix Compiles clean now. But I am compiling only s3 keep in mind. |
|
Uh oh!
There was an error while loading. Please reload this page.
Confirm by changing [ ] to [x] below to ensure that it's a bug:
Describe the bug
The build breaks because one variable is being set but not used. This should be just a warming but it causes the build to break since -Werror is turned on.
SDK version number
1.9.149 compiling with clang 13.0
Platform/OS/Hardware/Device
What are you running the sdk on?
Linux Ubuntu Focal 19.04
To Reproduce (observed behavior)
The only think I needed to do was to checkout the above version and try to build with cmake.
Expected behavior
I expected the build to go through.
Logs/output
Additional context
The culprit is this snippet. You see that amountRead is set but never used.
You can see that I even try to set Wno-error but the next -Werror overrides it.
I can see Werror being set on aws-sdk-cpp-1.9.149/cmake/compiler_settings.cmake
The text was updated successfully, but these errors were encountered: