Your FLUSH and GETARG remark.

Toon Moene moene@knmi.nl
Wed Nov 2 08:13:00 GMT 2005


Steve Kargl wrote:

> Toon, 
> 
> I don't subscribe to gcc@, but do read through the archive.  In
> 
> http://gcc.gnu.org/ml/gcc/2005-11/msg00018.html
> 
> you state: "All the other problems are with non-standard code
>             (like flush, getarg, et al.), where I have to find
>              standard-conforming solutions."
> 
> What problems are you having with FLUSH and GETARG.  Both 
> are present in libgfortran.

I meant *our* (i.e., HIRLAM's) problems with non-standard code.  For 
instance, where we use

       CALL FLUSH(UNIT, IOSTAT)

instead of

       CALL FLUSH(UNIT)

which gfortran supports.

And

       EXTERNAL GETARG

which seems necessary for "some" compilers, but doesn't work with 
gfortran (you'll get an "unsatisfied external reference getarg_" when 
linking).

Really, there's nothing wrong with gfortran here, just that it cannot 
support each and every variation of non-standard code that other 
compilers deal with.

Cheers,

-- 
Toon Moene, KNMI, The Netherlands
Phone: +31 30 2206443; e-mail: moene@knmi.nl



More information about the Fortran mailing list