Re: does gnu fortran suport Multiple declaration ??
Toon Moene <[email protected]> Tue, 08 May 2007 20:12:05 +0200
| Newsgroups | gmane.comp.gcc.fortran.announce |
|---|---|
| Organization | Moene Computational Physics, Maartensdijk, The Netherlands |
| Message-ID | <[email protected]> |
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: [email protected] - 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