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

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.10only security fixes3.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