[PATCH][RFC] Make mingw-w64 printf/scanf attribute alias to ms_printf/ms_scanf only for C89
Liu Hao
lh_mouse@126.com
Sat Nov 14 02:14:33 GMT 2020
在 2020/11/14 上午8:12, Joseph Myers 写道:
> On Fri, 13 Nov 2020, Liu Hao via Gcc-patches wrote:
>
>> 在 2020/11/13 2:46, Joseph Myers 写道:
>>> I'd expect these patches to include updates to the gcc.dg/format/ms_*.c
>>> tests to reflect the changed semantics (or new tests there if some of the
>>> changes don't result in any failures in the existing tests).
>>>
>>
>> Does the attached patch suffice?
>
> This is testing the sort of thing I'd expect tests for regarding 'L' and
> 'll'. What about the changes for 'I' - do those result in changes to how
> the compiler behaves, which should also have tests?
>
There is already a test for `%Ix` in 'ms_c99-printf-2.c', but there is no test (in all 'ms_*printf*'
files) which checks for absence of warnings.
--
Best regards,
LH_Mouse
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <https://gcc.gnu.org/pipermail/gcc-patches/attachments/20201114/a6a53ca7/attachment.sig>
More information about the Gcc-patches
mailing list