Am 20.09.22 um 20:36 schrieb Paul Smith:
> A new release candidate for GNU make 4.4 is available now for download:
>
> 0c3daaec8c81bf72f460677ccda32364 make-4.3.90.tar.lz
> 54726144a7ae0465451f8ca0740f3d1f make-4.3.90.tar.gz
On macOS, compiling "glob.c" gives these warnings:
glob.c:823:27: warning: incompatible pointer types passing 'char **' to
parameter of type 'char *'; dereference with * [-Wincompatible-pointer-types]
= (char **) realloc (pglob->gl_pathv,
^~~~~~~~~~~~~~~
*
glob.c:942:24: warning: incompatible pointer types passing 'char **' to
parameter of type 'char *'; dereference with * [-Wincompatible-pointer-types]
= (char **) realloc (pglob->gl_pathv,
^~~~~~~~~~~~~~~
*
glob.c:997:39: warning: incompatible pointer types passing 'char **' to
parameter of type 'char *'; dereference with * [-Wincompatible-pointer-types]
new_pathv = (char **) realloc (pglob->gl_pathv,
^~~~~~~~~~~~~~~
*
glob.c:1388:23: warning: incompatible pointer types passing 'char **' to
parameter of type 'char *'; dereference with * [-Wincompatible-pointer-types]
= (char **) realloc (pglob->gl_pathv,
^~~~~~~~~~~~~~~
*
but from what Paul said in
https://lists.gnu.org/archive/html/bug-make/2019-05/msg00017.html
> Argh, another glob.c issue. I really need to figure out how to update
> to a newer version, preferably without breaking Windows AND pulling in
> 75% of gnulib stuff in the process.
I assume we still have to live with these warnings?
Apart from that, there is only one compiler warning:
src/getopt.c:685:6: warning: add explicit braces to avoid dangling else
[-Wdangling-else]
else
^
A fix had been posted in
https://savannah.gnu.org/bugs/?func=detailitem&item_id=58075. That looks like a
"small effort" change to me, perhaps it can be incorporated into GNU Make 4.4?
Regards, Martin