This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [ANNOUNCEMENT] TEST: Cygwin 3.1.0-0.3


On Sep  3 14:56, Biswapriyo Nath wrote:
> While compiling cygwin with gcc version 7.4.0 (GCC) this error is shown:
> 
> Making all in reent
> /d/newlib-cygwin/newlib/libc/reent/execr.c: In function ‘_wait_r’:
> /d/newlib-cygwin/newlib/libc/reent/execr.c:120:14: warning: implicit
> declaration of function ‘_wait’; did you mean ‘wait’?
> [-Wimplicit-function-declaration]
>    if ((ret = _wait (status)) == -1 && errno != 0)
>               ^~~~~
>               wait

The attached patch should fix it.


Thanks,
Corinna

-- 
Corinna Vinschen
Cygwin Maintainer

Attachment: 0001-Cygwin-sys-wait.h-Add-_wait-prototype-to-avoid-compi.patch
Description: Text document

Attachment: signature.asc
Description: PGP signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]