--- Comment #7 from jvdelisle at gcc dot gnu dot org 2005-10-16 06:01
---
Even better would be if gfortran recognized that the file was not a valid mod
at all and just states "Module file invalid". Of course users have to know
they do not edit 'mod' files, only source files.
--
ht
--- Comment #6 from denney at seas dot upenn dot edu 2005-10-16 01:40
---
Perhaps a better error message than
Fatal Error: Reading module numberlists at line 3 column 4: Bad name
would be
Fatal Error: Reading module numberlists at line 3 column 4: Bad name (perhaps
not a compiled mod
--- Comment #5 from pinskia at gcc dot gnu dot org 2005-10-16 01:33 ---
Oh, I noticed what you did now.
You are not compiling the module but have it named numberlists.mod.
Change the filename of numberlists.mod to numberlists.f90.
And try: gfortran numberlists.f90 llnew.f90 -o llnew
T
--- Comment #4 from denney at seas dot upenn dot edu 2005-10-16 01:26
---
(In reply to comment #3)
> Can you attach the .f90 file which contains the module numberlists?
>
You're too quick for me. I was in the process of attaching it. It's there
now.
--
http://gcc.gnu.org/bugzil
--- Comment #3 from pinskia at gcc dot gnu dot org 2005-10-16 01:19 ---
Can you attach the .f90 file which contains the module numberlists?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24398
--- Comment #2 from denney at seas dot upenn dot edu 2005-10-16 01:15
---
Created an attachment (id=9997)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=9997&action=view)
Error where line 4 is a comment
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24398
--- Comment #1 from denney at seas dot upenn dot edu 2005-10-16 01:14
---
Created an attachment (id=9996)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=9996&action=view)
no errors in this source, but it uses the module
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24398