This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
gfortran error in module handling
- From: Pierre-Matthieu anglade <pierre dot matthieu dot anglade at gmail dot com>
- To: gcc-help at gcc dot gnu dot org
- Date: Thu, 24 Nov 2005 10:49:15 +0100
- Subject: 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