This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/15338] There should be a __format__ attribute for syslog.
- From: "jsm at polyomino dot org dot uk" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 7 May 2004 20:12:09 -0000
- Subject: [Bug c/15338] There should be a __format__ attribute for syslog.
- References: <20040507143234.15338.matthias.andree@gmx.de>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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