This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: gfortran compiler behavior with module code


> 
> Hi,
> 
> Following code compiles fine with gfortran (gcc version 4.1.0 20051018)

that gfortran version is getting a little old.  gfortran development
is to a point that some bugs are being fixed fast.
Anyways gfortran gets it right as of today:
n file t.f90:9

     TYPE (POINT) :: A, B
                   1
Error: Derived type at (1) has not been previously defined and so cannot appear in a derived type definition.


-- Pinski


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]