[Bug fortran/26054] Gratuitous warning about Fortran 2003 features w/o -std=...

anlauf at gmx dot de gcc-bugzilla@gcc.gnu.org
Tue Jan 31 23:23:00 GMT 2006



------- Comment #2 from anlauf at gmx dot de  2006-01-31 23:23 -------
(In reply to comment #1)
> The default is somewhere inbetween -std=f90 (which does not really exist) and
> -std=gnu

Hmmm.  Did you really mean Fortran 90 (which does exist
as a standard but not as f90 in gfortran) or Fortran 95?

Anyway, if your comment is true, then I feel this "somewhere
in between" is the real bug, unless documented as a feature
or added as an appropriate option (-std=somewhere-in-between).

[Some other compilers (like xlf) use the most loose definition
of language if none is specified.  In the case of xlf you can
explicitly confirm it with -qlanglvl=extended.]

Feel free to correct the title appropriately.

Cheers,
-ha


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26054



More information about the Gcc-bugs mailing list