Ping Ping Ping: [PATCH] RFA: Add a small indication to warnings that are promoted to errors

Mark Mitchell mark@codesourcery.com
Mon Feb 1 14:53:00 GMT 2010


Simon Baldwin wrote:

> I have not suggested that -Werror no longer present warnings as
> errors.  The patch does not affect this any way.

I understand that.

I question whether it is necessary that users see an
error-promoted-from-a-warning differently than an
error-that-was-always-an-error.

As I've indicated, if we do think it's necessary then:

>>  error: [WNNNN] <the message>

is my first choice.  My second choice is to add [was warning] or,
perhaps, [disable with -W] or [disable with -Wfoobar].

Thanks,

-- 
Mark Mitchell
CodeSourcery
mark@codesourcery.com
(650) 331-3385 x713



More information about the Gcc-patches mailing list