module reference question

Uttam Pawar uttamp@us.ibm.com
Tue Nov 15 02:09:00 GMT 2005


Hi,


Assume we have initial module.f90 file with following code,
module module_test
end module module_test

Create module_test.mod file

In a new file module_new.f90
$ module_new.f90
module module_test
USE module_test
end module module_test

Compilation of the above code gives an error as below,
"Fatal Error: Can't USE the same module we're building!". Should this 
be "Error: Can't USE the same module we're building!", instead?

What's the difference between gfc_error() and gfc_fatal_error()?

- Uttam



More information about the Fortran mailing list