On 2017/11/7 14:23, Martin Storsjö wrote:
  __attribute__ ((format (__MINGW_PRINTF_FORMAT, 2, 0)))

I think this should be `__attribute__((__format__ ... ))`, as in `_snprintf`.

I just took a look at other functions in <stdio.h>, and yes, there are a number of such issues, with a few more (such as the parameter of `ftello`). I hope oneday these could be fixed. `swscanf`, `fwprintf` etc do not have such issues.

--
Best regards,
LH_Mouse


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to