emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Android port


From: Eli Zaretskii
Subject: Re: Android port
Date: Fri, 04 Aug 2023 10:54:04 +0300

> Date: Fri, 4 Aug 2023 09:42:44 +0200 (CEST)
> From: Angelo Graziosi <angelo.g0@libero.it>
> 
> > 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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]