This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFC] enabling -fshow-column by default


Aldy Hernandez <aldyh@redhat.com> writes:

> Before I merge the diagnostics branch I'd like to enable it on the
> testsuite to get us all in the habit of at least being aware of columns.
>
> Joseph Myers suggested enabling it in the compiler instead of the
> testsuite.  Are there any big objections to this?

I agree in principle that we should enable -fshow-column by default.
Obviously, it will break some existing scripts, but I tend to think that
for something like this that is OK.  Any scripts which break are already
slightly broken in that preprocessor error messages already display a
column number.

If you haven't already done so, please check that the emacs next-error
function is not affected by this.

When we have good caret diagnostics it would also be nice to enable them
by default.  However, that is a much bigger change.  Does anybody have
an opinion on that?

Ian


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]