Emacs and GFortran

Stefan Monnier monnier@iro.umontreal.ca
Tue Oct 31 08:32:00 GMT 2006


>> I would ask if there is a way to integrate Emacs with GFortran so that in
>> case of compiler error one can jump to the line wher the error is born.
>> 
>> If the error messages have the standard GNU form, then it should work.
>> If not, then probably GFortran should be fixed to put its error
>> messages in standard form.

> I disagree.  Gfortran's error mechanism can span multiple lines.
> The GNU form can't.

AFAIK the GNU form *can* do it with the following syntax:

   <file>:<startline>-<endline>:<message>

and if you want to add column info, that can be done as well:

   <file>:<startline>.<startcol>-<endline>.<endcol>:<message>


-- Stefan



More information about the Fortran mailing list