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
Gabriel Dos Reis <dosreis@gmail.com> writes:
> This would add to the substantial amount of output, especially if the
> warnings are repeated.
This is a valid concern...
> 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.
Ian