-
Notifications
You must be signed in to change notification settings - Fork 712
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
-Wcast-qual not enabled in cmake file #4710
Comments
We can actually enable this compile flag but we first have to update our version of aws-lc to v1.33.0. That version fixes the one cast-qual issue when built with aws-lc. |
I have updated the flag in PR #4735. Seems like awslc has enabled
|
When Here is the part of code that triggers this problem: |
Problem:
-Wcast-qual
is not enabled withawslc
.S2N_LIBCRYPTO
environmental variable needs to be set for that-Wcast-qual
to be enabled.s2n-tls/CMakeLists.txt
Lines 212 to 215 in 45bf1d4
Requirements / Acceptance Criteria:
What must a solution address in order to solve the problem? How do we know the solution is complete?
-Wcast-qual
should be enabled even if no environmental variables are set.-Wcast-qual
should be enabled forawslc
.The text was updated successfully, but these errors were encountered: