fix: enable -Wcast-qual flag for libcrypto=awslc#4735
Conversation
* Remove the condition which only add -Wcast-qual back for non AWS-lc Libcrypto.
|
This PR has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
* add -Wcast-qual to the general compilation options
|
This PR should be unblocked. The original problem is caused by AWSLC having cast-qual issue, and it is fixed now. This was the original problem with compilation: We have removed that |
| -std=gnu99 | ||
| -Wall | ||
| -Wcast-align | ||
| -Wcast-qual |
There was a problem hiding this comment.
I think this change conflicts with #5198?
If we want to continue to support older versions of AWS-LC, I'm not sure we can add this flag. Unless there's a way to check the AWS-LC version first.
|
We decide to continue with this change. This PR should be reviewed if the CI passes. |
Resolved issues:
resolves #4710
Description of changes:
Call-outs:
Testing:
S2N_LIBCRYPTO=openssl.AWSLCandAWSLC-FIPS.By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.