flush geterg and iargc question

Steve Kargl sgk@troutmask.apl.washington.edu
Tue Nov 8 15:13:00 GMT 2005


On Tue, Nov 08, 2005 at 11:17:36AM +0100, Benjamin R?veill? wrote:
> 
> It's probably by the way I express them.  And my possible
> mis-interpretation of gfortran's warning messages.
> 
> I activate -std=gnu instead of -std=f95 to have acces to flush getarg
> and iargc [as used by the other compilers] since they are not provided
> at all with -std=f95 because I know they are not in the f95
> standard...
> 
> I don't "understand why"/"find odd that" gfortrans warning messages
> say that they aren't in the "standard" i'm using i.e. "gnu" when they
> are provided by -std=gnu.
> >"Warning: Intrinsic 'getarg' at (1) is not included in the selected standard"
> Maybe I'm confusing "standard" and -std option... I interpret
> "standard" as what I have asked for with the -std option. That may be
> wrong. If so thanks for enlightening me.
> 
> I hope this clears up what I mean.
> 

Okay, I can see the confusion.  "-Wall -pedantic" will
issue warnings for The Standard (ie. the Fortran 95 standard).
These are independent from what may be set by -std=.

-- 
Steve



More information about the Fortran mailing list