Re: [pushed] gdb: Support printf 'z' size modifier

Eli Zaretskii
2019-11-14T18:27:25Z

> Cc: tromey@sourceware.org, palves@redhat.com, brobecker@adacore.com,
> kevinb@redhat.com, gdb-patches@sourceware.org
> From: Simon Marchi <simon.marchi@polymtl.ca>
> Date: Thu, 14 Nov 2019 12:09:20 -0500
>
> Apaprently, the __USE_MINGW_ANSI_STDIO macro has been marked as deprecated (IIUC, to
> incite people not to define it directly), and I found this thread [1] on the mingw-users
> mailing list where you asked the maintainer to reconsider this decision.
>
> What is the status on that? If defining __USE_MINGW_ANSI_STDIO is not the right way
> of enabling this feature, then what is? What is the status of this?

The "new" way is to use the __MINGW_FEATURES__ macro. But if you want
to do this in a way that will work with noth mingw.org's MinGW and
MinGW64, the __USE_MINGW_ANSI_STDIO is the way, and it is still
supported.