emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Emacs and GFortran


From: Angelo Graziosi
Subject: Re: Emacs and GFortran
Date: Tue, 31 Oct 2006 09:26:36 +0100 (MET)

-------------------------------------
$ cat hello.F
      program hello
      implicit none
      write(*,) 'Hello!'
      end



$ g77 hello.F       
hello.F: In program `hello':
hello.F:3:                                           (<==)
         write(*,) 'Hello!'
                 ^
Expression at (^) has incorrect data type or rank for its context




$ gfortran hello.F
 In file hello.F:3

      write(*,) 'Hello!'                                                
             1
Error: Syntax error in WRITE statement at (1)

-------------------------------------


The only difference between G77 anf GFortran seems the line (<==).

Why is it so hard for GFortran add that line?


Cheers,

  Angelo.


On Mon, 30 Oct 2006, Steve Kargl wrote:

> On Mon, Oct 30, 2006 at 02:16:57PM -0500, Richard Stallman wrote:
> >     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.
> 
> -- 
> Steve
> 





reply via email to

[Prev in Thread] Current Thread [Next in Thread]