在 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 pointer points to the original (ms) sprintf(), but > should point to __mingw_sprintf(). > > Thanks for the fix and the reminder.
The `__local_argv` thing has been there since the beginning (precisely, commit 6bf24d6631). But I do think that the inline wrappers are unneeded. I am not familiar with Clang so I have no comment on `__MINGW_FORTIFY_VA_ARG`. -- Best regards, LH_Mouse
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public