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 implicit int warning in configure check for PTHREAD_SCOPE_SYSTEM (#99085)#99085
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
bedevere-bot commentedNov 4, 2022
Most changes to Pythonrequire a NEWS entry. Please add it using theblurb_it web app or theblurb command-line tool. |
ghost commentedNov 4, 2022 • edited by ghost
Loading Uh oh!
There was an error while loading.Please reload this page.
edited by ghost
Uh oh!
There was an error while loading.Please reload this page.
…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>
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.
LGTM
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.
One small nit regarding the NEWS entry. The AC fix is fine with me, but IMO usingAC_LANG_PROGRAM iso.AC_LANG_SOURCE would have been better.
Misc/NEWS.d/next/Build/2022-11-04-02-58-10.gh-issue-99086.DV_4Br.rst OutdatedShow resolvedHide resolved
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 butpython#99085 is pending.Signed-off-by: Sam James <sam@gentoo.org>
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? |
Yeah, leave this as it is. We can get rid of |
Thanks@thesamesam for the PR, and@erlend-aasland for merging it 🌮🎉.. I'm working now to backport this PR to: 3.10, 3.11. |
Sorry,@thesamesam and@erlend-aasland, I could not cleanly backport this to |
Sorry@thesamesam and@erlend-aasland, I had trouble checking out the |
… check for PTHREAD_SCOPE_SYSTEM (pythonGH-99085)(cherry picked from commit12078e7)Co-authored-by: Sam James <sam@cmpct.info>
… check for PTHREAD_SCOPE_SYSTEM (pythonGH-99085)(cherry picked from commit12078e7)Co-authored-by: Sam James <sam@cmpct.info>
bedevere-bot commentedNov 5, 2022
GH-99118 is a backport of this pull request to the3.11 branch. |
bedevere-bot commentedNov 5, 2022
GH-99119 is a backport of this pull request to the3.10 branch. |
thesamesam commentedNov 5, 2022 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
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>
Uh oh!
There was an error while loading.Please reload this page.
Clang 16 makes -Wimplicit-int fatal by default.
Avoids errors like:
Signed-off-by: Sam Jamessam@gentoo.org