https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114775
--- Comment #12 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (In reply to Nikita Kniazev from comment #11) > -mcrtdll=ucrt should make __printf__ be gnu_printf instead of ms_printf. > Should I file separate issue or this one can be reopened? The reality is ms_printf most likely should just include z and ll support instead since they are supported now: https://learn.microsoft.com/en-us/cpp/c-runtime-library/format-specification-syntax-printf-and-wprintf-functions?view=msvc-170 They have been included since 2015. As I mentioned GCC mingw support is out of date really and should be fixed there .