--- Comment #1 from domob at gcc dot gnu dot org 2008-10-02 07:22 ---
(In reply to comment #0)
subroutine x_init (this, text, value)
type(x_t) :: this
character(*) :: text
integer :: value
call base_t%init (text)
! or...
call base_init (base_t, text)
I
--- Comment #2 from burnus at gcc dot gnu dot org 2008-10-02 12:11 ---
I'm completely lost with your example. You are talking about parent component
name, but you have:
type x_t
which has no parent component.
Id had one if you used type, extends(base_t) :: x_t. Then you could use:
--- Comment #3 from w6ws at earthlink dot net 2008-10-02 13:06 ---
Subject: Re: Parent component name getting confused with
structure constructor
Yes, my example is messed up. My excuse is that it was late and
I was tired. Next time I will verify against NAG first.
Please close
--- Comment #4 from w6ws at earthlink dot net 2008-10-02 17:18 ---
I am closing this report.
--
w6ws at earthlink dot net changed:
What|Removed |Added