This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC 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]

gfortran error in module handling


Hi I run into the following error while compiling this test code:
subroutine prctfw()
  use funcofrho_tfw
  implicit none
end subroutine prctfw


[anglade@descartes test]$ /usr/local/bin/gfortran -c test.F90
 In file test.F90:2

  use funcofrho_tfw
                  1
Error: Expression at (1) must be scalar
 In file test.F90:2

  use funcofrho_tfw
                  1
Error: Expression at (1) must be scalar

The problem is that I'm not able to isolate the problem into the
module funcofrho_tfw.F90
It compiles without problems. It must be noted that ifc compiles the
code without problems.

If someone thinks he can help, I'll be glade to send a tar with
funcofrho_tfw and other modules on which funcofrho_tfw depends.

Anyway, does someone have already encounter such a problem?

regards
--
Pierre-Matthieu Anglade

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