Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork33.3k
gh-99086: Fix -Wstrict-prototypes, -Wimplicit-function-declaration warnings in configure.ac#99406
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
741df47 toe7d69e1Comparecc@erlend-aasland@kumaraditya303, followup from#99085. Apologies for missing a few! As penance, I'm going to do a followup now (but not generate configure yet as it won't be suitable to merge unless/until this is) in another PR for some |
ping |
…aration fixesFollowup to12078e7. I ended up missinga few, apparently.Clang 16 makes -Wimplicit-function-declaration an error by defaultand warns on -Wstrict-prototypes. It's free to fix -Wstrict-prototypeswhile we're here and it futureproofs us, so throw that in.The only notable part of this which might not be super obvious is<stddef.h> for size_t.See:12078e7
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.
Looks fine but I would like a review from@erlend-aasland
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, looks good to me! Sorry for the delay.
Thanks@thesamesam for the PR, and@kumaraditya303 for merging it 🌮🎉.. I'm working now to backport this PR to: 3.10, 3.11. |
Sorry,@thesamesam and@kumaraditya303, I could not cleanly backport this to |
Sorry@thesamesam and@kumaraditya303, I had trouble checking out the |
@thesamesam Can you create the backports? thanks |
@kumaraditya303 Happy to, thanks folks! |
…eclaration warnings in configure.ac (pythonGH-99406)Follow up to12078e7.(cherry picked from commite35ca41)
…eclaration warnings in configure.ac (pythonGH-99406)Follow up to12078e7.(cherry picked from commite35ca41)Co-authored-by: Sam James <sam@gentoo.org>
…eclaration warnings in configure.ac (pythonGH-99406)Follow up to12078e7..(cherry picked from commite35ca41)Co-authored-by: Sam James <sam@gentoo.org>
bedevere-bot commentedDec 1, 2022
GH-99919 is a backport of this pull request to the3.11 branch. |
bedevere-bot commentedDec 1, 2022
GH-99920 is a backport of this pull request to the3.10 branch. |
bedevere-bot commentedDec 1, 2022
GH-99920 is a backport of this pull request to the3.10 branch. |
…eclara… (python#99920)[3.10]pythongh-99086: Fix -Wstrict-prototypes, -Wimplicit-function-declaration warnings in configure.ac (pythonGH-99406)Follow up to12078e7.(cherry picked from commite35ca41)Co-authored-by: Sam James <sam@gentoo.org>
…eclara… (python#99920)[3.10]pythongh-99086: Fix -Wstrict-prototypes, -Wimplicit-function-declaration warnings in configure.ac (pythonGH-99406)Follow up to12078e7.(cherry picked from commite35ca41)Co-authored-by: Sam James <sam@gentoo.org>
…eclara… (python#99920)[3.10]pythongh-99086: Fix -Wstrict-prototypes, -Wimplicit-function-declaration warnings in configure.ac (pythonGH-99406)Follow up to12078e7.(cherry picked from commite35ca41)Co-authored-by: Sam James <sam@gentoo.org>
…eclara… (python#99920)[3.10]pythongh-99086: Fix -Wstrict-prototypes, -Wimplicit-function-declaration warnings in configure.ac (pythonGH-99406)Follow up to12078e7.(cherry picked from commite35ca41)Co-authored-by: Sam James <sam@gentoo.org>
…eclara… (python#99920)[3.10]pythongh-99086: Fix -Wstrict-prototypes, -Wimplicit-function-declaration warnings in configure.ac (pythonGH-99406)Follow up to12078e7.(cherry picked from commite35ca41)Co-authored-by: Sam James <sam@gentoo.org>
Uh oh!
There was an error while loading.Please reload this page.
…n fixes
Followup to12078e7. I ended up missing a few, apparently.
Clang 16 makes -Wimplicit-function-declaration an error by default and warns on -Wstrict-prototypes. It's free to fix -Wstrict-prototypes while we're here and it futureproofs us, so throw that in.
The only notable part of this which might not be super obvious is <stddef.h> for size_t.
See:12078e7
Signed-off-by: Sam Jamessam@gentoo.org