Skip to content

Error during build on unguarded use of new symbols on macOS #128135

@zanieb

Description

@zanieb

Feature or enhancement

Proposal:

CPython builds run against the latest macOS version and unguarded use of new symbols does not throw an error. However, building CPython on older versions of macOS is supported. Consequently, regressions are not caught, e.g.:

Enabling -Werror=unguarded-availability-new would be great to catch these before they become a problem downstream.

Has this already been discussed elsewhere?

This is a minor feature, which does not need previous discussion elsewhere

Links to previous discussion of this feature:

This was discussed briefly in Discord

Metadata

Metadata

Assignees

No one assigned

    Labels

    buildThe build process and cross-buildtype-featureA feature request or enhancement

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions