Skip to content

Deprecation of 0 as a null pointer constant #1120

Closed
@alejandro-colomar

Description

GCC 15 will add -Wzero-as-null-pointer-constant working towards the deprecation of 0 as a null pointer constant in C. Let's remove all of our uses of 0 as a null pointer constant already.

I'm also working on a paper for deprecating it in ISO C2y.

Link: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117059
Link: https://software.codidact.com/posts/292718/292759#answer-292759

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions