Re: gfortran for 77 codes

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

 



variables in format statements are an extension to f77
that is not supported by gfortran or g77.

you can work around this by building a run-time format
string.

HTH,
bud
--- Attila Kocsis <kocsisatis@xxxxxxxxx> wrote:

> Hy!
> 
> If I try to compile fortran 77 code with gfortran it
> gives the following error:
> 
> In file simplex0d_red_stat.f:299
> Included at ketir_keret_reda.f:1
> 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?
> 
> Thanks,
> Atis
> 
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam
> protection around 
> http://mail.yahoo.com 
> 


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux