tech-toolchain archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: gcc syslog printf attribute



In article <20151014094025.GB2121%britannica.bec.de@localhost>,
Joerg Sonnenberger  <joerg%britannica.bec.de@localhost> wrote:
>On Wed, Oct 14, 2015 at 02:20:02AM +0000, Christos Zoulas wrote:
>> In article <20151013212242.GB29985%britannica.bec.de@localhost>,
>> Joerg Sonnenberger  <joerg%britannica.bec.de@localhost> wrote:
>> >On Tue, Oct 13, 2015 at 10:46:48AM -0400, Christos Zoulas wrote:
>> >> Here's the patch I am planning to commit unless you think this is a
>bad idea.
>> >
>> >Why gnu_syslog? Is there anything non-standard recognized by it?
>> 
>> I just matched the rest of the code ... I don't think that there is anything
>> non-standard about it.
>> 
>> I've filed a bug about the current state of things:
>> 
>>     https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67956
>> 
>> I think I will keep the patch as it is (plus fixing the message as mrg
>> suggested), but when the gnu folks come around to fixing it, I'll remove
>> our changes anyway.
>
>I mean: I think the format attribute should be "syslog", if there is
>nothing non-standard checked in it. That's certainly the name I would
>aim for with clang, so any difference would be annoying...

The format alias (and visible to the user) is "syslog".

christos



Home | Main Index | Thread Index | Old Index