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
PTHREAD_SCOPE_SYSTEM configure check fails with Clang 16 (-Wimplicit-int) #99086
Comments
thesamesam
added a commit
to thesamesam/cpython
that referenced
this issue
Nov 4, 2022
…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>
thesamesam
added a commit
to thesamesam/cpython
that referenced
this issue
Nov 4, 2022
…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>
thesamesam
added a commit
to thesamesam/cpython
that referenced
this issue
Nov 4, 2022
…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
pushed a commit
to erlend-aasland/cpython
that referenced
this issue
Nov 5, 2022
… check for PTHREAD_SCOPE_SYSTEM (pythonGH-99085) (cherry picked from commit 12078e7) Co-authored-by: Sam James <sam@cmpct.info>
erlend-aasland
pushed a commit
to erlend-aasland/cpython
that referenced
this issue
Nov 5, 2022
… check for PTHREAD_SCOPE_SYSTEM (pythonGH-99085) (cherry picked from commit 12078e7) Co-authored-by: Sam James <sam@cmpct.info>
erlend-aasland
added a commit
that referenced
this issue
Nov 5, 2022
erlend-aasland
added a commit
that referenced
this issue
Nov 6, 2022
thesamesam
added a commit
to thesamesam/cpython
that referenced
this issue
Nov 12, 2022
…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 Signed-off-by: Sam James <sam@gentoo.org>
thesamesam
added a commit
to thesamesam/cpython
that referenced
this issue
Nov 12, 2022
…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 Signed-off-by: Sam James <sam@gentoo.org>
thesamesam
added a commit
to thesamesam/cpython
that referenced
this issue
Nov 12, 2022
…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 Signed-off-by: Sam James <sam@gentoo.org>
thesamesam
added a commit
to thesamesam/cpython
that referenced
this issue
Nov 24, 2022
…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 Signed-off-by: Sam James <sam@gentoo.org>
thesamesam
added a commit
to thesamesam/cpython
that referenced
this issue
Nov 24, 2022
…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
thesamesam
added a commit
to thesamesam/cpython
that referenced
this issue
Dec 1, 2022
…eclaration warnings in configure.ac (pythonGH-99406) Follow up to 12078e7. (cherry picked from commit e35ca41)
thesamesam
added a commit
to thesamesam/cpython
that referenced
this issue
Dec 1, 2022
…eclaration warnings in configure.ac (pythonGH-99406) Follow up to 12078e7. (cherry picked from commit e35ca41) Co-authored-by: Sam James <sam@gentoo.org>
thesamesam
added a commit
to thesamesam/cpython
that referenced
this issue
Dec 1, 2022
…eclaration warnings in configure.ac (pythonGH-99406) Follow up to 12078e7.. (cherry picked from commit e35ca41) Co-authored-by: Sam James <sam@gentoo.org>
This was referenced Dec 1, 2022
miss-islington
pushed a commit
that referenced
this issue
Dec 1, 2022
kumaraditya303
pushed a commit
that referenced
this issue
Dec 1, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
thesamesam commentedNov 4, 2022
•
edited by bedevere-bot
Bug report
The PTHREAD_SCOPE_SYSTEM configure check lacks
int
before themain()
definition and causes Clang to emit a-Wimplicit-int
warning. This warning becomes an error by default with Clang 16+.Your environment
-Werror=implicit-int -Werror=implicit-function-declaration
)The text was updated successfully, but these errors were encountered: