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 13:34:54 +0300

> From: Po Lu <luangruo@yahoo.com>
> Cc: "emacs-devel@gnu.org" <emacs-devel@gnu.org>
> Date: Fri, 04 Aug 2023 17:44:11 +0800
> 
> Thanks.  What about after applying the following change and rerunning
> configure?
> 
> diff --git a/nt/mingw-cfg.site b/nt/mingw-cfg.site
> index e8b4711f548..68e264fde4c 100644
> --- a/nt/mingw-cfg.site
> +++ b/nt/mingw-cfg.site
> @@ -178,9 +178,11 @@ gl_cv_func_printf_sizes_c99=yes
>  gl_cv_func_printf_long_double=yes
>  gl_cv_func_printf_infinite_long_double=yes
>  gl_cv_func_printf_directive_a=yes
> +gl_cv_func_printf_directive_b=yes
>  gl_cv_func_printf_directive_f=yes
>  gl_cv_func_printf_directive_n=yes
>  gl_cv_func_printf_directive_ls=yes
> +gl_cv_func_printf_directive_lc=yes
>  gl_cv_func_printf_positions=yes
>  gl_cv_func_printf_flag_grouping=yes
>  gl_cv_func_printf_flag_leftadjust=yes

If MinGW doesn't support those directives, the above is not TRT, it
might cause future maintenance headaches.

I don't think MSVCRT.DLL's implementation of printf supports those, at
least not on all versions of Windows.



reply via email to

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