I don't see that here, but judging by the failure mode it looks like a gcc bug. Perhaps it's a problem with an older gcc version?
It's more straightforward than that, actually. My mingw stdio.h contains the following code:
```c ... #elif defined(__USE_MINGW_ANSI_STDIO) #define __MINGW_PRINTF_FORMAT gnu_printf #define __MINGW_SCANF_FORMAT gnu_scanf #else ... ```
which clearly isn't going to work very well with `-D__USE_MINGW_ANSI_STDIO=0`. That particular box is due for an upgrade though, and this works fine with the version of mingw in Debian stable, so this patch is fine.