- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am trying to write my own contructors for the derived class. If I access the derived class fuctions with pointers of abstract base class type, it produces runtime error for the circle class. It does not happen for the rectangle class where I am not using my own constructor. The files are m_shape.f90 for abstract base class, m_rect.f90 and m_circle.f90 for derived classes and derivedtest.f90 is the test program.
Thanks,
Anshuman.
m_shape.f90
m_rect.f90
m_circle.f90
derivedtest.f90
Link Copied
5 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sorry for uploading the wrong files prviously. The files are now updated. I face the same problem.
Thanks.
Anshuman
Thanks.
Anshuman
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Anshuman,
I will file a bug report. The fact that it is derived type class does not seem to matter.
Regards,
Annalee
I will file a bug report. The fact that it is derived type class does not seem to matter.
Regards,
Annalee
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have escalated this issue to the developers. The issue number is DPD200177020. I will post any updates on this issue to this thread.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
A fix for this issue has been found, we currently planto include it in the next major release.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This is issue has been fixed in Intel® Visual Fortran Composer XE for Windows* 2013 which is now available at the Intel® Registration Center.
Regards,
Annalee
Intel Developer Support
* Other names and brands may be claimed as the property of others.

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