This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: flush geterg and iargc question
- From: Steve Kargl <sgk at troutmask dot apl dot washington dot edu>
- To: Benjamin R?veill? <benjamin dot reveille at gmail dot com>
- Cc: fortran at gcc dot gnu dot org
- Date: Mon, 7 Nov 2005 06:47:04 -0800
- Subject: Re: flush geterg and iargc question
- References: <9e363c0d0511070105s487d8001k@mail.gmail.com>
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