- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I've attached a very small example that exposes a bug in 14.0.3 and 15.0.2. In the example, a module declares a derived type and a F2003 structure constructor for it. In a later procedure the module is USEd and the type referenced, but the compiler complains incorrectly that the type is not known. The error goes away if the structure constructor is not defined.
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Escalated as issue DPD200371229. The error also goes away, oddly enough, if you remove the call to "bar" from the subroutine. Thanks for the nice example.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'm told this will be fixed for the 16.0 release.
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