enable fdiagnostics-show-option by default

Chris Lattner clattner@apple.com
Fri Apr 16 00:06:00 GMT 2010


On Apr 15, 2010, at 4:22 PM, Ian Lance Taylor wrote:

>> 
>> I would prefer this behaviour to be configurable at configure-time, so that
>> users or packagers can decide which behaviour is
> 
> ...however, I don't think this would be a good approach.  I don't
> think this is the kind of thing which should be controlled on a
> user-by-user basis.  If we think that the majority of users--in
> particular, the majority of naïve users--would be helped by this
> change, then I think we should make it, and let the minority run gcc
> via a shell script.
> 
> Many compilers have some sort of code attached to their warning
> messages.  This would be gcc's equivalent to that.

FWIW, clang defaults to this being enabled, we haven't heard any complaints.

-Chris



More information about the Gcc-patches mailing list