-
Notifications
You must be signed in to change notification settings - Fork 8k
fix [-Wstrict-prototypes] buid warnings in ext/gd #7684
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
Conversation
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.
Given the existing mess, this is a nice solution! Thank you!
Thoughts about merging this into PHP-8.1? @krakjoe, @patrickallaert, @ramsey |
Minor issue: typo in commit message (buid → build) |
Can we drop |
despite changes are quite large, probably worth to be in 8.1 (especially as the call of |
Well, not a real issue to pass surplus arguments, but better to fix it. |
Perhaps, but the warning allow to discover a real issue (gdImagePngCtxEx call ;) |
d4c673e
to
221dee1
Compare
I am ok with it, would be part of PHP 8.1.1 then. |
The question was whether we can drop --Wno-strict-prototypes. :) In other words, are we -W-strict-prototypes clean with this PR? |
Would be a good think IMHO, yes. |
Sorry, I misunderstod @nikic question. |
Replaced by #7689 |
Followup of #7683
Previous was trivial, so target 8.1
This one is more change, so target master only