Uh oh!
There was an error while loading. Please reload this page.
gh-99086: Fix implicit int warning in configure check for PTHREAD_SCOPE_SYSTEM (#99085) - #99085
Conversation
bedevere-bot
commented
Nov 4, 2022
Most changes to Python require a NEWS entry. Please add it using the blurb_it web app or the blurb command-line tool. |
…ck (python#99085) Clang 16 makes -Wimplicit-int fatal by default. Avoids errors like: ``` conftest.c:142:7: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] ``` Signed-off-by: Sam James <sam@gentoo.org>
…ck (python#99085) Clang 16 makes -Wimplicit-int fatal by default. Avoids errors like: ``` conftest.c:142:7: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] ``` Signed-off-by: Sam James <sam@gentoo.org>
…ck (python#99085) Clang 16 makes -Wimplicit-int fatal by default. Avoids errors like: ``` conftest.c:142:7: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] ``` Signed-off-by: Sam James <sam@gentoo.org>
erlend-aasland
left a comment
There was a problem hiding this comment.
One small nit regarding the NEWS entry. The AC fix is fine with me, but IMO using AC_LANG_PROGRAM iso. AC_LANG_SOURCE would have been better.
Uh oh!
There was an error while loading. Please reload this page.
These warnings became fatal by default in Clang 16. Most of this has since been fixed upstream but python#99085 is pending. Signed-off-by: Sam James <sam@gentoo.org>
thesamesam
commented
Nov 4, 2022
Ah, that's a fair point. I've got an absolute tonne of these to fix (https://lwn.net/SubscriberLink/913505/b61bbc0c4296117f/) so I've been trying to make non-invasive changes. Is it alright if I leave this one as-is? |
erlend-aasland
commented
Nov 5, 2022
Yeah, leave this as it is. We can get rid of |
miss-islington
commented
Nov 5, 2022
Thanks @thesamesam for the PR, and @erlend-aasland for merging it 🌮🎉.. I'm working now to backport this PR to: 3.10, 3.11. |
miss-islington
commented
Nov 5, 2022
Sorry, @thesamesam and @erlend-aasland, I could not cleanly backport this to |
miss-islington
commented
Nov 5, 2022
Sorry @thesamesam and @erlend-aasland, I had trouble checking out the |
… check for PTHREAD_SCOPE_SYSTEM (pythonGH-99085) (cherry picked from commit 12078e7) Co-authored-by: Sam James <sam@cmpct.info>
… check for PTHREAD_SCOPE_SYSTEM (pythonGH-99085) (cherry picked from commit 12078e7) Co-authored-by: Sam James <sam@cmpct.info>
bedevere-bot
commented
Nov 5, 2022
GH-99118 is a backport of this pull request to the 3.11 branch. |
bedevere-bot
commented
Nov 5, 2022
GH-99119 is a backport of this pull request to the 3.10 branch. |
Thank you! |
…ck (python#99085) Clang 16 makes -Wimplicit-int fatal by default. Avoids errors like: ``` conftest.c:142:7: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] ``` Signed-off-by: Sam James <sam@gentoo.org>
…ck (python#99085) Clang 16 makes -Wimplicit-int fatal by default. Avoids errors like: ``` conftest.c:142:7: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] ``` Signed-off-by: Sam James <sam@gentoo.org>
…ck (python#99085) Clang 16 makes -Wimplicit-int fatal by default. Avoids errors like: ``` conftest.c:142:7: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] ``` Signed-off-by: Sam James <sam@gentoo.org>
…ck (python#99085) Clang 16 makes -Wimplicit-int fatal by default. Avoids errors like: ``` conftest.c:142:7: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] ``` Signed-off-by: Sam James <sam@gentoo.org>
…ck (python#99085) Clang 16 makes -Wimplicit-int fatal by default. Avoids errors like: ``` conftest.c:142:7: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] ``` Signed-off-by: Sam James <sam@gentoo.org>
Clang 16 makes -Wimplicit-int fatal by default.
Avoids errors like:
Signed-off-by: Sam James sam@gentoo.org