https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117059
Bug ID: 117059
Summary: Make -Wzero-as-null-pointer-constant available in C
Product: gcc
Version: 15.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
Assignee: unassigned at gcc dot gnu.org
Reporter: alx at kernel dot org
Target Milestone: ---
nullptr was a terrible mistake from WG14. Instead, they should have deprecated
0 as a null pointer constant.
Let's do that.
Link: <https://software.codidact.com/posts/292718/292759#answer-292759>