On 11/9/17 1:08 PM, Martin Storsjö wrote:
Just one detail:
Note that supporting legacy behavior in this care is easy. One can
achieve that with -D__USE_MINGW_ANSI_STDIO=0.
Not quite - if you're in an environment that defaults to ucrtbase, you
need to set
-DUCRTBASE_PRINTF_DEFAULT_WIDE=UCRTBASE_PRINTF_LEGACY_WIDE_SPECIFIERS
or something similar to get the legacy behaviour. Right now, you get
the new, standards compliant mode both with and without
__USE_MINGW_ANSI_STDIO.
Oh, yes, you're right. We could, however, add that possibility if there
is a demand (although since it's doable with
UCRTBASE_PRINTF_DEFAULT_WIDE define, it may be enough).
Thanks,
Jacek
------------------------------------------------------------------------------
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