- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am attaching two files (one module that USEs another) that demonstrate an incorrect compiler error. I have a derived type that contains a pointer array of another derived type, which contains a procedure pointer. When I create a subroutine that sets the procedure pointer, the compiler complains that the procedure pointer targets "must have matching arguments", but they are both declared with the same interface ("response_template"), so they do have matching arguments.
The compiler error seems to have something to do with the definition of the ABSTRACT INTERFACE in a separate module, because including the code from GlobalDef.f90 directly in FPointer.f90 (as opposed to referencing it as a module) makes the error go away...
Thanks in advance,
John
The compiler error seems to have something to do with the definition of the ABSTRACT INTERFACE in a separate module, because including the code from GlobalDef.f90 directly in FPointer.f90 (as opposed to referencing it as a module) makes the error go away...
Thanks in advance,
John
Link Copied
7 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks for reporting this. I have escalated it as issue DPD200141624.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Quoting - Steve Lionel (Intel)
Thanks for reporting this. I have escalated it as issue DPD200141624.
Thank you Steve. I work with a large Fortran project that makes extensive use of procedure pointers and derived types. We would like to be able to compile this code with IVF, but have been waiting for its procedure pointer support to catch up. My organization currently has a license for IVF 10.x, and I am now using an evaluation version of IVF 11.x to evaluate whether or not the compiler will compile our code, in which case we may want to purchase an upgrade.
My questions are (1) how can I track the status of this issue, and (2) as a user of the 30-day evaluation version, will I be able to download and evaluate a fixed version, if made available within my evaluation period?
John
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
1) You track it here - I will update the status as it changes.
2) If it was made available during the evaluation period, yes, but the earliest this could be fixed would be mid-late December. However, I can probably accommodate you in this - remind me at the time if I don't remember.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Steve,
Can you please advise as to whether this issue has been addressed yet?
Thanks,
John
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The fix for this should appear in Update 5, due later this month.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Steve,
I see that this update has been released now. Would it be possible for me to get a demo (as mentioned above, my previous trial period expired)?
Thanks,
John
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
John,
I'll send you an email with the details.
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page