Uh oh!
There was an error while loading. Please reload this page.
gh-99086: Fix -Wstrict-prototypes, -Wimplicit-function-declaration warnings in configure.ac - #99406
Conversation
741df47 to
e7d69e1Comparethesamesam
commented
Nov 12, 2022
cc @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 |
thesamesam
commented
Nov 24, 2022
ping |
e7d69e1 to
0287ff9Compare…aration fixes Followup to 12078e7. 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
0287ff9 to
0ee1b0cCompare
kumaraditya303
left a comment
There was a problem hiding this comment.
Looks fine but I would like a review from @erlend-aasland
erlend-aasland
left a comment
There was a problem hiding this comment.
Thanks, looks good to me! Sorry for the delay.
miss-islington
commented
Nov 26, 2022
Thanks @thesamesam for the PR, and @kumaraditya303 for merging it 🌮🎉.. I'm working now to backport this PR to: 3.10, 3.11. |
miss-islington
commented
Nov 26, 2022
Sorry, @thesamesam and @kumaraditya303, I could not cleanly backport this to |
miss-islington
commented
Nov 26, 2022
Sorry @thesamesam and @kumaraditya303, I had trouble checking out the |
kumaraditya303
commented
Nov 26, 2022
@thesamesam Can you create the backports? thanks |
thesamesam
commented
Nov 30, 2022
@kumaraditya303 Happy to, thanks folks! |
…eclaration warnings in configure.ac (pythonGH-99406) Follow up to 12078e7. (cherry picked from commit e35ca41)
…eclaration warnings in configure.ac (pythonGH-99406) Follow up to 12078e7. (cherry picked from commit e35ca41) Co-authored-by: Sam James <sam@gentoo.org>
…eclaration warnings in configure.ac (pythonGH-99406) Follow up to 12078e7.. (cherry picked from commit e35ca41) Co-authored-by: Sam James <sam@gentoo.org>
bedevere-bot
commented
Dec 1, 2022
GH-99919 is a backport of this pull request to the 3.11 branch. |
bedevere-bot
commented
Dec 1, 2022
GH-99920 is a backport of this pull request to the 3.10 branch. |
bedevere-bot
commented
Dec 1, 2022
GH-99920 is a backport of this pull request to the 3.10 branch. |
…eclara… (python#99920) [3.10] pythongh-99086: Fix -Wstrict-prototypes, -Wimplicit-function-declaration warnings in configure.ac (pythonGH-99406) Follow up to 12078e7. (cherry picked from commit e35ca41) 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 to 12078e7. (cherry picked from commit e35ca41) 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 to 12078e7. (cherry picked from commit e35ca41) 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 to 12078e7. (cherry picked from commit e35ca41) 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 to 12078e7. (cherry picked from commit e35ca41) Co-authored-by: Sam James <sam@gentoo.org>
…n fixes
Followup to 12078e7. 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 James sam@gentoo.org