Re: make-4.2.93 patch fix compilation in -ansi/-std=c99 mode

2020-01-04 Thread Paul Smith
On Sat, 2020-01-04 at 20:36 -0500, Dmitry Goncharov wrote: > On Sat, Jan 4, 2020 at 3:23 PM Paul Smith wrote: > > Thanks, I did something similar to this but not quite the same. > Have you pushed? I have now.

Re: make-4.2.93 patch fix compilation in -ansi/-std=c99 mode

2020-01-04 Thread Dmitry Goncharov via Bug reports and discussion for GNU make
On Sat, Jan 4, 2020 at 3:23 PM Paul Smith wrote: > Thanks, I did something similar to this but not quite the same. Have you pushed? > It's a bit strange because I don't see that same error on my system and in > fact, I don't have that code in my sys/wait.h file; I'm using GNU libc > 2.30. Maybe

Re: make-4.2.93 patch fix compilation in -ansi/-std=c99 mode

2020-01-04 Thread Paul Smith
On Fri, 2020-01-03 at 22:18 -0500, Dmitry Goncharov via Bug reports and discussion for GNU make wrote: > This patch replaces __attribute__ with gmake_attribute to retain the > current behavior of getting __attribute__ removed from gmake's internal > function declartions and keep glibc declarations

make-4.2.93 patch fix compilation in -ansi/-std=c99 mode

2020-01-03 Thread Dmitry Goncharov via Bug reports and discussion for GNU make
Good morning. job.c fails to compile on glibc when -ansi or -std=c99 is specified. ../src/job.c: In function 'reap_children': ../src/job.c:753: error: incompatible type for argument 1 of 'wait' /usr/include/sys/wait.h:116: note: expected '__WAIT_STATUS' but argument is of type 'int *' This