Hi Bruno,

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

GCC 15 has added -Wzero-as-null-pointer-constant for C (or actually,
will, once it's released).

We're planning a path for deprecation of 0 as a null pointer constant,
in favor of NULL, eventually turning this new diagnostic into -Wall and
deprecating it in ISO C, and later removing it from the language.

As a first step, Joseph proposed adding it into gnulib's manywarnings.
Does it sound good to you?

Have a lovely night!
Alex



-- 
<https://www.alejandro-colomar.es/>

Attachment: signature.asc
Description: PGP signature

Reply via email to