Re: snprintf and %hhx format
Keith Marshall <[email protected]>
| Newsgroups | gmane.comp.gnu.mingw.user |
|---|---|
| Organization | MinGW.org Project |
| Message-ID | <[email protected]> |
On 04/07/19 14:53, Keith Marshall wrote: > On a somewhat related note, there _is_ actually a defect in the MinGW > implementation of -Wformat validation, for the __mingw_printf__ format > class; as I've noted on the ticket, it affects the "%hhn" conversion > specification, which, although fully supported by the underlying MinGW > printf implementation, is rejected by -Wformat validation, resulting in > an unhelpfully obtuse diagnostic message — as I discovered by running > the mingwrt test-suite with -Wall included in the CFLAGS. > > Fixing this is trivial, but does require a tedious GCC rebuild, which I > now have in hand. Now published, as release 4-mingw32 of GCC-8.2.0; this should be functionally identical to release 3-mingw32, except that the -Wformat handling of "%hhn" for the __mingw_printf__ format class. -- Regards, Keith. Public key available from keys.gnupg.net Key fingerprint: C19E C018 1547 DE50 E1D4 8F53 C0AD 36C6 347E 5A3F _______________________________________________ MinGW-Users mailing list [email protected] This list observes the Etiquette found at http://www.mingw.org/Mailing_Lists. We ask that you be polite and do the same. Disregard for the list etiquette may cause your account to be moderated. _______________________________________________ You may change your MinGW Account Options or unsubscribe at: https://lists.osdn.me/mailman/listinfo/mingw-users Also: mailto:[email protected]?subject=unsubscribe
signature.asc
(application/pgp-signature, 836 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.20 (GNU/Linux) iQIcBAEBAgAGBQJdHm/XAAoJEMCtNsY0flo/p5gQALN2Odz2i7EjSDtK+2HkOKk7 QdhTxPMbUt6VezAo7oJXWbsP2x80UeiAxloWDCiazodIBc19RSx5P4bFIn9eLrq+ 19lqqr+45W2mpGKOSxIDAbkM9oZOrQhIzs+iwI0ehWfAcE9jwrrCdn1KUxJ7NQbl emjOdhJgFPPOSoHXO6XX/NuoK3Q2gazgVWRtumPGIvMyfDwdXCSa90FHEuSQRsZm +vsmIgsCLG4R/+g5CgEW+ceqQuE5aM4syUUq34yTlAhgfeQfHyOpg/VIO8SWgRtD MD8rC99H1sbEI5m5r7Y/5xbvqvm6YlqIQDUjACnjwbxn7W+D8BnM41jPpN33jvMp qUUBlPlD0nqkh2C37CSqznzw3ZvHhuv+cymxHPcwhl9qzt6fsl+Y4YAJcpYjyXJF hIWCwHmbWZqSICupBuk3riSUgqULRlhdy42bpEhTpcCQh2S78SQnnyU9l0lEODxJ SW/dTACO3dvfzYAL/Q8tPorolB1aNF+h4jQhhhd7kVqqFx+TzV8eUnQewwRmVSpg zDZ959DscL4bHq7qGaA/InDFENOYSIJdRXB9FmotrHYxhXA3+Jwgvbdmw94SmzYR YLluecvJ8LbTRUujn6jfhj5ojuJbWhVnuCe5BS0ojLKrpdsFu4/gFpadNKmakwe5 AVEUW3ZQt4+eikTQy+Y5 =oTlI -----END PGP SIGNATURE-----