You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please introduce a similar option to either disable -Werror, or to force cmake to respect CXXFLAGS and CFLAGS by not post-pending -Werror.
Expected Behavior
Don't set -Werror unconditionally.
Current Behavior
Builds fail when new compiler versions are released with different safety checks. There are many examples in the issue tracker. It takes time to get these fixed and released across all downstream packages, so an escape-hatch is necessary.
Reproduction Steps
n/a please see many prior issues in this repo
Possible Solution
No response
Additional Information/Context
No response
AWS CPP SDK version used
n/a
Compiler and Version used
gcc 12, but happens with other compilers
Operating System and version
Debian 12
The text was updated successfully, but these errors were encountered:
Thank you very much for your submission and feedback.
I see the previous issue submission related to this. I will bring this up for discussion with the team and update you on this issue.
jmklix
added
feature-request
A feature should be added or improved.
p2
This is a standard priority issue
and removed
bug
This issue is a bug.
needs-review
This issue or pull request needs review from a core team member.
labels
Jun 30, 2023
Added AWS_SDK_WARNINGS_ARE_ERRORS as a cmake arg that defaults to on that you can escape hatch out of it if desired. give a shout if you have any questions or suggestions, thanks for the feedback!
Comments on closed issues are hard for our team to see.
If you need more assistance, please either tag a team member or open a new issue that references this one.
If you wish to keep having a conversation with other community members under this issue feel free to do so.
Describe the bug
As far as I can tell, aws-sdk-cpp does not currently provide a way to disable setting
-Werror
, although some dependencies do (https://github.com/awslabs/aws-c-common/blob/1778c799be82fde844a02e27d59c5a30a1489e90/cmake/AwsCFlags.cmake#L12).Please introduce a similar option to either disable
-Werror
, or to force cmake to respectCXXFLAGS
andCFLAGS
by not post-pending-Werror
.Expected Behavior
Don't set
-Werror
unconditionally.Current Behavior
Builds fail when new compiler versions are released with different safety checks. There are many examples in the issue tracker. It takes time to get these fixed and released across all downstream packages, so an escape-hatch is necessary.
Reproduction Steps
n/a please see many prior issues in this repo
Possible Solution
No response
Additional Information/Context
No response
AWS CPP SDK version used
n/a
Compiler and Version used
gcc 12, but happens with other compilers
Operating System and version
Debian 12
The text was updated successfully, but these errors were encountered: