This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
formats and syslog question
- From: Marc Espie <espie at quatramaran dot ens dot fr>
- To: gcc at gcc dot gnu dot org
- Date: Wed, 11 Sep 2002 17:06:26 +0200
- Subject: formats and syslog question
in -pedantic mode, gcc complains about %m.
But syslog, as per Single Unix, includes %m as a standard format specifier.
Question: how can we support syslog (which looks desireable to me) ?
Add a syslog format that is almost printf ?
What would be the logic wrt ansi language variants ? Namely, syslog is not
ansi at all. I'd assume no warning at all, as long as the right header is
included, and thus no built-in as well...
there is no switch corresponding to single unix or posix built-ins yet, right ?