https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77459
--- Comment #3 from Georg Koppen <gk at torproject dot org> --- (In reply to Jonathan Wakely from comment #2) > It's 2016, how can snprintf not be supported still? I asked about that problem in #mingw-w64 a while ago and got the following answer: M$ does not provide `snprintf()` despite their non-standard extension `_snprintf()`. With mingw-w64, if the macro `__USE_MINGW_ANSI_STDIO` is defined to `1`, `snprintf` is a macro that redirects calls to `snprintf` to `__mingw_snprintf` instead. Not sure if that helps debugging/fixing.