From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: clang fails to compile emacs in Microsoft Windows Date: Fri, 12 May 2023 19:13:48 +0300 Message-ID: <83pm75bk8z.fsf@gnu.org> References: <83v8gxbnd8.fsf@gnu.org> <87mt29blgy.fsf@telefonica.net> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="10459"; mail-complaints-to="usenet@ciao.gmane.io" To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Fri May 12 18:14:28 2023 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pxVPW-0002SU-3N for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 12 May 2023 18:14:26 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pxVOz-00062i-R7; Fri, 12 May 2023 12:13:53 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pxVOy-00062P-6j for help-gnu-emacs@gnu.org; Fri, 12 May 2023 12:13:52 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pxVOx-0004Uo-SR for help-gnu-emacs@gnu.org; Fri, 12 May 2023 12:13:51 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=GkBOiw3vDQbcu505cAqSTCIjsOA3XGsguI3PZFcuPfs=; b=QmuE/1DMZphw ma5iqAHYFkLozs3Rfl5cz1tQIQeznoqaZ94tPLUAYGg4pFYuK+f1Baa+un04mAkovFZ34WcyMh2Rz 7rSMtUEsmozSu+kizM7TuN8GWR+1NFi6m2YstFH5sqaJB1mR1BjjXux57RveEY8XXxuhyL5IP821Z 4QDokpWQWIdSiZYnMZ0nw+HFGBFpT9XeYqoqU/KMfV9dFT+vxOrW+lf4db0i+Av3x30wfLTRmbHuY U+tr9l8PANIWeoZvzZ2fFl2vE1ZQbIzKw4W9OYmmqnZ648T3OlmNGae1QpMlK8pt94Kn4cVPuWxy5 PxwzIi7dzTqdtGemea2IYw==; Original-Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pxVOx-0004VF-Bx for help-gnu-emacs@gnu.org; Fri, 12 May 2023 12:13:51 -0400 In-Reply-To: (message from Biswapriyo Nath on Fri, 12 May 2023 21:29:38 +0530) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.help:143576 Archived-At: > From: Biswapriyo Nath > Date: Fri, 12 May 2023 21:29:38 +0530 > Cc: ofv@wanadoo.es, eliz@gnu.org > > It does not look like clang only issue. The check with > AC_HEADER_SYS_WAIT also fails in gcc but with a compiler warning as > following. > > configure:11452: checking for sys/wait.h that is POSIX.1 compatible > configure:11479: x86_64-w64-mingw32-gcc -I ../nt/inc -c -g3 -O2 > -gdwarf-2 -mtune=generic -D__USE_MINGW_ANSI_STDIO=1 conftest.c >&5 > conftest.c: In function 'main': > conftest.c:67:3: warning: implicit declaration of function 'wait' > [-Wimplicit-function-declaration] It doesn't matter, since the Windows build of Emacs doesn't call 'wait'.