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.devel Subject: Re: Android port Date: Fri, 04 Aug 2023 10:54:04 +0300 Message-ID: <837cqbw8df.fsf@gnu.org> References: <1428589171.162865.1691134964773@mail1.libero.it> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="24369"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Angelo Graziosi , Po Lu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Aug 04 09:54:25 2023 Return-path: Envelope-to: ged-emacs-devel@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 1qRpdh-000693-5f for ged-emacs-devel@m.gmane-mx.org; Fri, 04 Aug 2023 09:54:25 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qRpdD-0005aO-KB; Fri, 04 Aug 2023 03:53:55 -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 1qRpdC-0005aF-3f for emacs-devel@gnu.org; Fri, 04 Aug 2023 03:53:54 -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 1qRpdB-0005UC-Qo; Fri, 04 Aug 2023 03:53:53 -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=LwFYQmSg0Px6dVqmIXFJpnSx5CwV5MNF4I8FnWPiBM0=; b=ONvGRHaJUzfp oQDTccYcwwTiJAZjqGNtEx76pcpTdOGiVinYVp0IcsTgH+lpGCSD8gL88nX2KcUuPVlCx5OuL9Z8l zVjkMCPNmt9aw3KtNaHqOaFG/6UEqnXU32+BslGRL4mP1uD+RSOUCLfKmqcZdqVM3RddoK5nBjhHU g4kXjOcaWPw+E1q2DYcYwyiu4l5zWvbaofh8EKacNTWu58dM8Pp6bjmX31OoUrcUphf0gcnVtM4U9 nePrmLEEpc9LDDdU2CHvaraCep73OHUY1lKASSO3mJdK+T9lXfSov6R2hbp7mNCkr7QaRAF+9bD1D enHac4zvWvXtHyfC80guSw==; 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 1qRpdB-00054k-Ap; Fri, 04 Aug 2023 03:53:53 -0400 In-Reply-To: <1428589171.162865.1691134964773@mail1.libero.it> (message from Angelo Graziosi on Fri, 4 Aug 2023 09:42:44 +0200 (CEST)) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:308278 Archived-At: > Date: Fri, 4 Aug 2023 09:42:44 +0200 (CEST) > From: Angelo Graziosi > > > Also, would someone ascertain if the branch still builds on MS Windows, after the past few updates from Gnulib? > > No, on MSYS2/MINGW64 it fails: > > ============================ > [...] > ===> Building ... > [...] > asprintf.c:30:1: error: redefinition of 'asprintf' > 30 | asprintf (char **resultp, const char *format, ...) > | ^~~~~~~~ > In file included from C:/msys64/tmp/emacs-master/nt/inc/ms-w32.h:389, > from ../src/conf_post.h:38, > from ../src/config.h:3511, > from asprintf.c:18: > C:/msys64/mingw64/include/stdio.h:276:5: note: previous definition of 'asprintf' with type 'int(char **, const char *, ...)' > 276 | int asprintf(char **__ret, const char *__format, ...) > | ^~~~~~~~ Is asprintf used in any code that needs to be run in the MS-Windows build of Emacs? If not, then the easiest solution is to disable building Gnulib's asprintf via nt/gnulib-cfg.mk.