Internal procedures as dummy arguments
Thomas Koenig
Thomas.Koenig@online.de
Sun Feb 6 12:17:00 GMT 2005
> The other day playing around with gfortran and my codes, I noticed that
> gfortran allows to pass internal procedures as dummy arguments.
> The same thing can be done with the compilers of intel, compaq and lahey
...
> The point is that the Fortran95 and
> Fortran2003 standards explicitly do not allow this.
With regards to modules, I personally think that this is a serious
flaw in the standard.
> So it would be great to know what gfortran will do.
I don't know of any decision that hat been made on that subject.
I think a diagnostic is definitely required if any of the -std -
flags are in force. Otherwise, I think I would prefer to leave
this in.
Maybe a c.l.f. discussion is required here :-)
What do others think?
More information about the Fortran
mailing list