- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I try compiling the following code which is in a MODULE:
[fortran]
INTERFACE log
PROCEDURE::log_gen_2
END INTERFACE log
[/fortran]
I get an internal error message, while if I change the code to
[fortran]
INTERFACE log
MODULE PROCEDURE::log_gen_2
END INTERFACE log
[/fortran]
then the code compiles. It is my impression that the MODULE token is just optional for module procedure, and in that case this is a bug.
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes, this is a bug that occurs when you try to extend an intrinsic (log here) without adding the MODULE keyword. This is our issue DPD200239082 which is not yet fixed.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This is fixed for a release later this year.

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