This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran 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: Emacs and GFortran


>> 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


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