X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:to:cc:subject:message-id:reply-to :references:mime-version:content-type:in-reply-to; q=dns; s= default; b=lvlGzU/L57Wz3yZrP81wD5MMSERrzI/5sZg1cBpoy8Uagzjl0I5Gq ifHI/yfvdbDGi4Kw1tgmJVq1vxk7s4JRE2q27FC/+RCON5YaKTaFxZQMzSBCMErE TVLEXUrW2bJnSJ3KbgsVf410fXTFnuyhSuEF9ZNZovxnc9bpjHDR+4= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:to:cc:subject:message-id:reply-to :references:mime-version:content-type:in-reply-to; s=default; bh=nOinCFUoU+u56TlLYs6Tb081Kgc=; b=GddwevyRFwKtF+26WBCZBnjcI7p8 vNz7I7oASPKq0p/hk0bq4tVT1tWzE9K2wov3ppQhG9MUxZruG7Cz4tyux7vve4CM H54Yd3OBX8TOvOuu5oq1prXFDVSfU1HBUaHqSV3EatLh643em6MSQr6lT5h0bwzF 7DJW2AX660fS18A= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com 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 Date: Tue, 3 Sep 2019 12:48:06 +0200 From: Corinna Vinschen To: Biswapriyo Nath Cc: cygwin AT cygwin DOT com Subject: Re: [ANNOUNCEMENT] TEST: Cygwin 3.1.0-0.3 Message-ID: <20190903104806.GJ4164@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: Biswapriyo Nath , cygwin AT cygwin DOT com References: <20190830075523 DOT GB27273 AT calimero DOT vinschen DOT de> <20190831032003 DOT d19fb7060c632bb51777c0de AT nifty DOT ne DOT jp> <20190831131814 DOT 2f6c9969a4380a457e61d91b AT nifty DOT ne DOT jp> <20190902081659 DOT GC4164 AT calimero DOT vinschen DOT 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) --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 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 =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" -----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--