2017-06-22 14:19 GMT+02:00 Lev Serebryakov <l...@serebryakov.spb.ru>: > On 22.06.2017 15:12, Kai Tietz via Mingw-w64-public wrote: > >> Well, your issue is "(format (printf, ... )". First use __printf, or >> even better __printf__. Nevertheless the printf formatter is >> representing the default print-formatter style. That is obviously on >> Windows not the gnu-ish variant. >> >> But you can explicit tell it, that you want to use a different >> variant. Eg "__attribute__((__format__ (gnu_printf,..." for gnu-style. > Oh, thank you! It is not obvious, as it is not mentioned in GCC > documentation :) > > -- > // Black Lion AKA Lev Serebryakov
Be welcome. Well, actually gcc has one paragraph about this. You can find it in gcc's extend.texi. It is part of the item 'format (@var{archetype}, ...' about attributes. Cheers, Kai ------------------------------------------------------------------------------ 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