[Mingw-w64-public] Subject: [PATCH] headers: Remove __USE_MINGW_ANSI_STDIO *printf() inline functions.

2019-09-10 Thread Christian Franke
AFAICS most of the *printf() and *scanf() inline wrappers are not (or no longer) needed. Prototypes with __asm__() could be used instead. This patch removes a subset of these functions. As a side effect, It also fixes a regression introduced by my _FORTIFY_SOURCE patch. From 12c43914d2d0086bc

Re: [Mingw-w64-public] [PATCH] headers: Don't use __gnu_inline__ with __mingw_ovr in C++ mode

2019-09-10 Thread Liu Hao
在 2019/9/8 19:00, Liu Hao 写道: > 在 2019/9/7 22:37, Christian Franke 写道: >> >> Yes - for C. No - for C++ as a recent patch removed __gnu_inline__ which >> is required for __builtin_va_arg_pack(). >> >> Changing to 'extern __inline' fixed the build, but leads to another >> problem: The function pointe