This is the mail archive of the
mailing list for the glibc project.
Re: [PATCH] vfprintf: Add test case for user-defined types and format specifiers
On Jun 29 2017, Florian Weimer <firstname.lastname@example.org> wrote:
> On 06/29/2017 02:39 PM, Andreas Schwab wrote:
>> On Jun 29 2017, Florian Weimer <email@example.com> wrote:
>>> The need for the wint_t cast looks like a GCC bug.
>> %lc wants wint_t.
> Sure, but why warn about this?
Because the standard says so.
> I doubt there are any architectures which define wchar_t and wint_t in
> such a way that the variable arguments promotion diverges.
The standard does not make that distinction.
Andreas Schwab, SUSE Labs, firstname.lastname@example.org
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."