[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: does gnu fortran suport Multiple declaration ??
From: |
Toon Moene |
Subject: |
Re: does gnu fortran suport Multiple declaration ?? |
Date: |
Tue, 08 May 2007 20:12:05 +0200 |
User-agent: |
Icedove 1.5.0.10 (X11/20070328) |
Johnson Wu wrote:
> hi, all,
> this is my testing program , pg77 compile OK, but g77/gfortran error!
> someone can help?thanks!
>
>
> subroutine hello()
> integer i, i
>
> integer i
> write (*, *) "hello"
> return
> end
I'm sorry, but the standard forbids this - pgf77 is just lenient, but
there might be scores of other compilers that refuse to compile this.
--
Toon Moene - e-mail: address@hidden - phone: +31 346 214290
Saturnushof 14, 3738 XG Maartensdijk, The Netherlands
At home: http://moene.indiv.nluug.nl/~toon/
Who's working on GNU Fortran:
http://gcc.gnu.org/ml/gcc/2007-01/msg00059.html