Hi Alejandro,
> We're planning a path for deprecation of 0 as a null pointer constant,
> in favor of NULL
+1
For reference, we discussed the use of nullptr in Gnulib [1][2] in the past.
> As a first step, Joseph proposed adding it into gnulib's manywarnings.
> Does it sound good to you?
Yes. Usually we augment the manywarnings module right after a new GCC
release, but there is no problem adding a new warning that still only
exists in GCC snapshots.
Let me
- build a GCC snapshot locally,
- see how this new warning behaves on the Gnulib source code
and some other packages (inetutils comes to mind),
- then tell you about the results.
Bruno
[1] https://lists.gnu.org/archive/html/bug-gnulib/2023-02/msg00029.html
[2] https://lists.gnu.org/archive/html/bug-gnulib/2023-02/msg00031.html