[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Tinycc-devel] match formats and arguments exactly

From: Christian Jullien
Subject: Re: [Tinycc-devel] match formats and arguments exactly
Date: Fri, 21 Jun 2019 14:56:35 +0200

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=address@hidden]
On Behalf Of Pascal Cuoq
Sent: Friday, June 21, 2019 12:00
To: address@hidden
Subject: [Tinycc-devel] match formats and arguments exactly


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.).


reply via email to

[Prev in Thread] Current Thread [Next in Thread]