flush geterg and iargc question
Benjamin Réveillé
benjamin.reveille@gmail.com
Mon Nov 7 15:26:00 GMT 2005
2005/11/7, Steve Kargl <sgk@troutmask.apl.washington.edu>:
> On Mon, Nov 07, 2005 at 10:05:40AM +0100, Benjamin R?veill? wrote:
> > > call flush(6)
> > > 1
> > >Warning: Intrinsic 'flush' at (1) is not included in the selected standard
> >
> > Is it a compiler error or is there another standard in which i'll find
> > these and get rid of the warnings?
> >
> > I admit this isn't a big issue. But I thought it was worth mentionning.
> > These messages disappear if I remove either -pedantic or -Wall but
> > personnaly I like these options...
>
> gfortran is doing exactly what you requested. While you
> develop code, use "-Wall -pedantic", but once the code is
> written remove the options if you don't want to see the
> warnings.
>
> --
> Steve
>
Hi Steve
I knew these where extensions but I didn't think I'd get a warning
when using the -std that supports them.
If I follow you correctly any non-f95 supported extension will compile
with -std=legacy but issue such a message with -Wall -pedantic.
Thanks for your answer.
Ben
More information about the Fortran
mailing list