- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The complier is 11.1.046.
The code is from the book "fortran_95-2003_for_scientists_and_engineers_3rd_edition". (I modified some of them)
The error is:
Error 1 error #8227: The type of the target is not a dynamic type of the pointer. [EMP1]
Error 2 error #8227: The type of the target is not a dynamic type of the pointer. [EMP2]
I'm confused!
The code is from the book "fortran_95-2003_for_scientists_and_engineers_3rd_edition". (I modified some of them)
The error is:
Error 1 error #8227: The type of the target is not a dynamic type of the pointer. [EMP1]
Error 2 error #8227: The type of the target is not a dynamic type of the pointer. [EMP2]
I'm confused!
Link Copied
5 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I seem to recall discussing a similar issue with the developers last week. I think this is a compiler bug, but am not 100% certain. (Maybe 98% sure.) I'll research this and get back to you.
FWIW, you're actually using 11.1.046...
FWIW, you're actually using 11.1.046...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Escalated as issue DPD200140688. A workaround is to reorder the USE statements in test_employee so that the USE of employee_class comes first.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes, you are right.
If I use these, no error
use employee_class ! use parent class
use hourly_employee_class ! import hourly employee class
use salaried_employee_class ! import salaried employee class
If I use these, error
use hourly_employee_class ! import hourly employee class
use salaried_employee_class ! import salaried employee class
use employee_class ! use parent class
.........It is a bug? or the standard?
If I use these, no error
use employee_class ! use parent class
use hourly_employee_class ! import hourly employee class
use salaried_employee_class ! import salaried employee class
If I use these, error
use hourly_employee_class ! import hourly employee class
use salaried_employee_class ! import salaried employee class
use employee_class ! use parent class
.........It is a bug? or the standard?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
It's a bug.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This issue is fixed in 11.1 Update 6, available now.

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