From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 113298 invoked by alias); 3 Sep 2019 10:48:45 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 113003 invoked by uid 89); 3 Sep 2019 10:48:22 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-115.4 required=5.0 tests=AWL,BAYES_00,GIT_PATCH_0,GIT_PATCH_1,GIT_PATCH_2,GIT_PATCH_3,GOOD_FROM_CORINNA_CYGWIN,KAM_NUMSUBJECT,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 spammy= X-HELO: mout.kundenserver.de Received: from mout.kundenserver.de (HELO mout.kundenserver.de) (212.227.126.133) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 03 Sep 2019 10:48:21 +0000 Received: from calimero.vinschen.de ([24.134.7.25]) by mrelayeu.kundenserver.de (mreue012 [212.227.15.167]) with ESMTPSA (Nemesis) id 1MJnnV-1hlWCk1oEb-00K5ME; Tue, 03 Sep 2019 12:48:07 +0200 Received: by calimero.vinschen.de (Postfix, from userid 500) id D4B34A8064B; Tue, 3 Sep 2019 12:48:06 +0200 (CEST) Date: Tue, 03 Sep 2019 10:48:00 -0000 From: Corinna Vinschen To: Biswapriyo Nath Cc: cygwin@cygwin.com Subject: Re: [ANNOUNCEMENT] TEST: Cygwin 3.1.0-0.3 Message-ID: <20190903104806.GJ4164@calimero.vinschen.de> Reply-To: cygwin@cygwin.com Mail-Followup-To: Biswapriyo Nath , cygwin@cygwin.com References: <20190830075523.GB27273@calimero.vinschen.de> <20190831032003.d19fb7060c632bb51777c0de@nifty.ne.jp> <20190831131814.2f6c9969a4380a457e61d91b@nifty.ne.jp> <20190902081659.GC4164@calimero.vinschen.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="CEUtFxTsmBsHRLs3" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.12.1 (2019-06-15) X-SW-Source: 2019-09/txt/msg00017.txt.bz2 --CEUtFxTsmBsHRLs3 Content-Type: multipart/mixed; boundary="AGZzQgpsuUlWC1xT" Content-Disposition: inline --AGZzQgpsuUlWC1xT Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-length: 625 On Sep 3 14:56, Biswapriyo Nath wrote: > While compiling cygwin with gcc version 7.4.0 (GCC) this error is shown: >=20 > Making all in reent > /d/newlib-cygwin/newlib/libc/reent/execr.c: In function =E2=80=98_wait_r= =E2=80=99: > /d/newlib-cygwin/newlib/libc/reent/execr.c:120:14: warning: implicit > declaration of function =E2=80=98_wait=E2=80=99; did you mean =E2=80=98wa= it=E2=80=99? > [-Wimplicit-function-declaration] > if ((ret =3D _wait (status)) =3D=3D -1 && errno !=3D 0) > ^~~~~ > wait The attached patch should fix it. Thanks, Corinna --=20 Corinna Vinschen Cygwin Maintainer --AGZzQgpsuUlWC1xT Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0001-Cygwin-sys-wait.h-Add-_wait-prototype-to-avoid-compi.patch" Content-Transfer-Encoding: quoted-printable Content-length: 918 =46rom 4d04ee50958deebc8c024cbb23f6164f0bf21ae1 Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Tue, 3 Sep 2019 12:45:55 +0200 Subject: [PATCH] Cygwin: sys/wait.h: Add _wait prototype to avoid compiler warning Signed-off-by: Corinna Vinschen --- winsup/cygwin/include/sys/wait.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/winsup/cygwin/include/sys/wait.h b/winsup/cygwin/include/sys/w= ait.h index 97e5d9998114..1ed1f5a2e801 100644 --- a/winsup/cygwin/include/sys/wait.h +++ b/winsup/cygwin/include/sys/wait.h @@ -22,6 +22,10 @@ pid_t waitpid (pid_t __pid, int *__status, int __options= ); pid_t wait3 (int *__status, int __options, struct rusage *__rusage); pid_t wait4 (pid_t __pid, int *__status, int __options, struct rusage *__r= usage); =20 +#ifdef _COMPILING_NEWLIB +pid_t _wait (int *); +#endif + #ifdef __cplusplus } #endif --=20 2.20.1 --AGZzQgpsuUlWC1xT-- --CEUtFxTsmBsHRLs3 Content-Type: application/pgp-signature; name="signature.asc" Content-length: 833 -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEoVYPmneWZnwT6kwF9TYGna5ET6AFAl1uROYACgkQ9TYGna5E T6AsmA//eG/YbIg/Ff8TqigS6S5IWI1BjRYaFR4uXxSEUuN7fyBxZMqLiYKLa0VL CjQlU7H+IrPDxmv44RVwBw6m0bO3v4rWqQpPeLrbVPdHi0W7yQGx/ea+nDOPf74i f3Ux7wa4iudWToi7h/XAidS1WPbU7VhMR/GlZDKWDkYQ/njcgXTJKxgjtwCyQOuc zUfr3ojqVwQG2Gi7Te7r9kfUBw/vUmTHksD6kUSEe7MTPgQM2fb2QWaE76I2Nvgk vBA7+kZaxLIhP9zzw+eZn+26vwPyrLOStEvxwusGXjxqPQqJjivRKvbLs3HXeWJL gjkYE8GzJFwGN0doJin7DAgHmwAwnK3QM5ZVA2QG+TZiq97obv8SGY6SnrIO8wlR +l63Mv6pIESLZ2TKJvW19HRJK1fMf/AR7jtU02986/dPCMcq+SLvYYqta7j+QCSv yuoURjuoY88NfEmPeYwtqxm61VGhS5l3MpvDjUy9MtsDjcf69t5jQtmBLSOFadW6 OTw+hHaDCU+v7ufE3yNMEZBReexHpe9EBdgGuGMM1keJjBHtbe4Yt8YcFvaABdnL xST4/ogem5lEbd3E+2U7oqtlgIf4ZCyyf+IJP8Dzum90N6PhMtoPTe/YJchgUxpN 0P50ZROyDNwlo0Cn/V++4yBdDMA+QqCGd52gBTsfDEyasqEkhkM= =QGqy -----END PGP SIGNATURE----- --CEUtFxTsmBsHRLs3--