I have some old fortran 77 I m trying to port to gcc on Windows.
I m using gfortran 4.4.
The statement uses READ(FOO, (F) , ERR=BAR) BAZ and gcc is complaining about F. From what I ve seen it looks like F needs a size associated with it. There are also FORMAT statements which use a similar construct.
What is the proper way to port this? It seems like using F alone on sun studio compilers just fits to the proper size. But gfortran complains about it not being a non-negative or positive width.
Any ideas how to port this?