This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC 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: gfortran for 77 codes


Attila Kocsis wrote:

[ Sorry for the late reply, I have trouble keeping up to date on my
  e-mail with all that SPAM and that ... ]

9001  format(i8,<np>e16.8)
                1
Error: Unexpected element in format string at (1)
In file simplex0d_red_stat.f:294
     Included at ketir_keret_reda.f:1
      write(iout,9001)isc,xkiir
                    1

Where np is a parameter.
What is the problem with format specification?

It's non-standard :-)


It was a feature originally thought up by Digital Equipment Corporation - probably back in the seventies. Even they (well, their successors, COMPAQ, err, I mean Hewlett Packard) have a hard time implementing it correctly in their compiler/run-time library.

Hope this helps.

Kind regards,

--
Toon Moene - e-mail: toon@moene.indiv.nluug.nl - phone: +31 346 214290
Saturnushof 14, 3738 XG Maartensdijk, The Netherlands
A maintainer of GNU Fortran: http://gcc.gnu.org/fortran/
Who's working on GNU Fortran: http://gcc.gnu.org/ml/gcc/2007-01/msg00059.html



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