[PATCH vkd3d] Makefile: Explicitly avoid ANSI stdio modifiers when cross compiling.
Zebediah Figura (she/her)
zfigura at codeweavers.com
Mon Jan 24 10:24:57 CST 2022
On 1/24/22 05:02, Giovanni Mascellani wrote:
> Crosstests are compiled with MinGW and linked against msvcrt, which
> doesn't necessarily support ANSI stdio format modifiers like "ll".
> Still, MinGW headers default to emit "ll" for format macros like
> PRIu64, which is wrong and triggers a lot of warnings in recent enough
> versions of GCC.
The problem isn't PRIu64. The problem is that we're using
__attribute__((format(printf))), which defaults to ms_printf for MinGW
targets, even though we actually want gnu_printf.
More information about the wine-devel
mailing list