fortran structure support in gcc4 (on redhat linux 4)

dennis.p.kelly@census.gov dennis.p.kelly@census.gov
Wed Oct 18 16:32:00 GMT 2006


I found a documented option that implies you can be using fortran95 or
gfortran or a version that supports structures....

[kelly004@ec2 progs]$ gcc4 -std=f95 y.f95
 In file y.f95:2

      STRUCTURE /s/
     1
Error: Unclassifiable statement at (1)
 In file y.f95:4

But it still will not compile, i.e.. ... 4.2 Options Controlling Fortran
Dialect (Invoking GFORTRAN )
-std=std
      Conform to the specified standard. Allowed values for std are `gnu',
      `f95', `f2003' and `legacy'.



More information about the Fortran mailing list