[Bug c/15338] There should be a __format__ attribute for syslog.

jsm at polyomino dot org dot uk gcc-bugzilla@gcc.gnu.org
Fri May 7 20:12:00 GMT 2004


------- Additional Comments From jsm at polyomino dot org dot uk  2004-05-07 20:12 -------
Subject: Re:  New: There should be a __format__ attribute for
 syslog.

On Fri, 7 May 2004, matthias dot andree at gmx dot de wrote:

> I like GCC's format string checking feature and use it a lot.
> 
> It has one minor shortcoming though: when used with strict warnings, I get
> hundreds of complaints that "%m" was not an ISO-C format string specifier.

For previous discussion, see
<http://gcc.gnu.org/ml/gcc/2002-09/msg00428.html> et seq.

I thought a more general system of fine-grained warning disabling was
supposed to be imminent (e.g.
<http://gcc.gnu.org/ml/gcc/2003-01/msg01065.html> for a previous proposal
and discussion) - but that seems to have vanished.



-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15338



More information about the Gcc-bugs mailing list