- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I have a rather curious problem running Intel Fortran 12.1 under VS2010. My code looks essentially like this:
program xx
implicit none
logical, external :: modelinitialize
logical :: success
success = ModelInitialize()
end program xx
When I compile the actual source under VS2010 (as part of a much larger project/solution), I get the error message:
error #7977: The type of the function reference does not match the type of the function definition. [MODELINITIALIZE]
success = ModelInitialize()
^
(as the routine needs to be callable from Java, it is not contained in a module)
If I compile the source outside of VS2010 with the same compile options, this problem does not occur. None of my colleagues working on the same project see this problem. Even creating a new project with just this file does not give any compil problem.
What can be the matter?
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page