Skip to content

PTHREAD_SCOPE_SYSTEM configure check fails with Clang 16 (-Wimplicit-int) #99086

Description

@thesamesam

Bug report

The PTHREAD_SCOPE_SYSTEM configure check lacks int before the main() definition and causes Clang to emit a -Wimplicit-int warning. This warning becomes an error by default with Clang 16+.

Your environment

  • CPython versions tested on: master
  • Operating system and architecture: Gentoo Linux amd64
  • Clang 16 (or Clang 15 with -Werror=implicit-int -Werror=implicit-function-declaration)

Activity

  1. added 3 commits that reference this issue on Nov 4, 2022
  2. added
    3.11only security fixes
    3.12only security fixes
    buildThe build process and cross-build
    on Nov 4, 2022
  3. added 5 commits that reference this issue on Nov 5, 2022
  4. added a commit that references this issue on Nov 12, 2022
  5. 68 remaining items

  6. added 2 commits that reference this issue on Jul 30, 2025
  7. added a commit that references this issue on Aug 12, 2025
  8. added a commit that references this issue on Oct 10, 2025
  9. added a commit that references this issue on Nov 3, 2025
  10. added a commit that references this issue on Feb 3, 2026
  11. added a commit that references this issue on Mar 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    3.10 (EOL)end of life3.11only security fixes3.12only security fixesbuildThe build process and cross-buildtype-bugAn unexpected behavior, bug, or error

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions