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


Hi,

Angelo Graziosi wrote:
>> By the way, g95 has the same problem.
>>     
>
> Adding
>
> (eval-after-load "compile"
>    '(setq compilation-error-regexp-alist
>        (cons '("^In file \\(.+\\):\\([0-9]+\\)" 1 2)
>           compilation-error-regexp-alist)))
>
> in .emacs solves it.
>
>
> So, is there something similar for GFortran ?
>   
Doesn't this work for gfortran? I think the output is the same:
"In file <filename>:<line>".
Thus it should work with both compilers. (It probably predates the
g95-gfortran split.)

Tobias


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