|Subject:||Re: [Tinycc-devel] match formats and arguments exactly|
|Date:||Fri, 21 Jun 2019 17:30:56 +0200|
Until now, I only have read your message not the patch you propose (sorry about that).
Now it’s clear to me that you only want to improve tcc code quality (and not how tcc displays warning form code its compile).
No objection then :o) – and no need to –Wformat of course.
Should I emphasize that I am not offering to implement a warning in TCC? If you think that GCC should not emit the warning shown by Christian, you can either not enable this GCC warning when you use GCC, or file a bug with GCC developers so that they won't warn for this construct with -Wall, or not use GCC. But this GCC warning entered the discussion only because Christian replied without reading the patch, and it has nothing to do with the patch I sent.
Again: I do not want to warn about wrong printf arguments. I am not adding a warning about wrong printf arguments to TCC.
I hope this clears things up.
|[Prev in Thread]||Current Thread||[Next in Thread]|