gfortran error format (was: Re: Emacs and GFortran)

François-Xavier Coudert fxcoudert@gmail.com
Thu Nov 2 14:09:00 GMT 2006


Hi,

This discussion is heating a bit, wasting everybody's time. I've
opened a bugzilla PR for this bug: PR 29689
(http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29689).

If someone wants to propose a complete patch (against subversion
mainline) that works, regression-tests fine, please send it and it
will be reviewed like any other patch.

If anyone, not willing to write a patch, has ideas on what exactly the
change should be, please add them to the PR . Please include examples
of how the error messages would then look like, including simple cases
and more tricky ones (multi-loci, included files, etc.). Having (a)
convincing proposal(s) for the change is more than half the work, and
will probably help a wandering developer to implement it.

Finally, if you want to add to the list of "tricky cases we have to
make sure behave right after the change", please add a comment in the
PR.


PS: One thing that I would like to note, however: changing the format
of error messages is not something we can do out of the blue. Some
tools already handle the gfortran error messages, so we probably don't
want to make life too hard for them. This implies, in my humble
opinion, that this bans a change of format for already realeased
branches.

FX



More information about the Fortran mailing list