-
Notifications
You must be signed in to change notification settings - Fork 30k
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
src: fix ignore GCC -Wcast-function-type for older compilers #31524
Conversation
As mentioned in the issue, the new warning was visible in CI even. Checking the output for this PR on the Ubuntu 18.04 CI node, I no longer see the new warning. |
In addition to our CI (which uses pre-8 GCC compilers), our Travis CI builds use GCC 6 and GitHub Actions Linux runners use GCC 7. The new warnings no longer appear in the logs for those builds for this PR while they do for the equivalent logs for #31475. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
Landed in 2462a2c |
Fixes: #31517
I don't have an easy access to pre-8 GCC compiler so I haven't explicitly tested this. Perhaps @mscdex can check if this fixes your issue?
GCC8 changelog https://gcc.gnu.org/gcc-8/changes.html which denotes the addition of
Wcast-function-type
.Checklist
make -j4 test
(UNIX), orvcbuild test
(Windows) passes