- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I dont understand why this gives me error #5508.
Seems pretty straightforward. I think the compiler is overloaded,
I could try splitting the source into two or more smaller ones.
I uploaded 2 source files - where did they go ?
I will upload them again.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The problem is that there are two "end" statements in kepler.f90.
I agree, the second message is not helpful, but definitely goes away if you remove the extra 'end' statement.
(this was the second message)
kepler.f90(97): error #5508: Declaration of routine '_UNNAMED_MAIN$$' conflicts
with a previous declaration
end
--^
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks for spotting that -
Although I feel it could have been more direct.
LIKE "There are two main programs", for example.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
:-)
The first message was:
kepler.f90(97): warning #5427: Program may contain only one main entry routine
end
--^
I suppose we could rephrase that as "Program may contain only one main program"
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page