This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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 ?


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]