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.