This is a valuable check but IMHO, it should be controlled by -Wformat (as
GNU gcc) and set of false by default.
Otherwise, I suspect tcc users will have a lot a new warnings.

I'll personally definitely will adopt this flag as I do with gcc.

-----Original Message-----
From: Tinycc-devel [mailto:tinycc-devel-bounces+eligis=orange...@nongnu.org]
On Behalf Of Pascal Cuoq
Sent: Friday, June 21, 2019 12:00
To: tinycc-devel@nongnu.org
Subject: [Tinycc-devel] match formats and arguments exactly

Hello,

If no-one objects, I will push in a few days the following patch, which
ensures that the types of arguments to printing functions correspond exactly
to their formatters (%x expects an unsigned int, %s expects a pointer to
character type, etc.).

Pascal


_______________________________________________
Tinycc-devel mailing list
Tinycc-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/tinycc-devel

Reply via email to