This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: enable fdiagnostics-show-option by default
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