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
signature.asc
Description: OpenPGP digital signature
------------------------------------------------------------------------------ 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