Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Fortran > Re: Type extens...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 5 of 9 Topic 8550 of 8908
Post > Topic >>

Re: Type extension and renamed parent type

by nospam@[EMAIL PROTECTED] (Richard Maine) Jul 26, 2008 at 11:44 PM

<paul.richard.thomas@[EMAIL PROTECTED]
> wrote:

> On Jul 25, 7:32 am, nos...@[EMAIL PROTECTED]
 (Richard Maine) wrote:
> > Damian <dam...@[EMAIL PROTECTED]
> wrote:
> > > On Jul 24, 10:50 am, Tobias Burnus <bur...@[EMAIL PROTECTED]
> wrote:
> > > > Hello,

> > > > MODULE M
> > > >   TYPE MOD_T
> > > >      INTEGER :: I
> > > >   END TYPE MOD_T
> > > > END MODULE M
> >
> > > > use m, only: local => mod_t
> > > > type, extends(local) :: my_t
> > > > end my_t
> > > > type(my_t) :: my
> >
> > > > Does "my" contain "my%local" or "my%mod_t" ?
> >
> > > > According to NAG f95 it is "my%mod_t"...

> > Seems to me like the material you quoted makes it pretty explicit that
> > it should be the local name - that is to say that both compilers are
> > wrong....
> This is what we thought and we asked because it is a bit surprising to
> be at odds with NAG;-)

I'd be at least mildly curious as to whether the folk at NAG actually
read this differently than I do (as straightforward as this looks to me,
I've got an awful lot of respect for Malcolm and I'd certainly listen if
he argued that I had it wrong), or whether this is just a NAG compiler
bug (possibly from someone just implementing things without thinking
about this particular issue, and that's just what happened to result).

-- 
Richard Maine                    | Good judgement comes from experience;
email: last name at domain . net | experience comes from bad judgement.
domain: summertriangle           |  -- Mark Twain
 




 9 Posts in Topic:
Type extension and renamed parent type
Tobias Burnus <burnus@  2008-07-24 10:50:56 
Re: Type extension and renamed parent type
Damian <damian@[EMAIL   2008-07-24 20:41:27 
Re: Type extension and renamed parent type
nospam@[EMAIL PROTECTED]   2008-07-24 22:32:33 
Re: Type extension and renamed parent type
paul.richard.thomas@[EMAI  2008-07-26 23:22:33 
Re: Type extension and renamed parent type
nospam@[EMAIL PROTECTED]   2008-07-26 23:44:32 
Re: Type extension and renamed parent type
Ron Ford <ron@[EMAIL P  2008-07-27 22:28:16 
Re: Type extension and renamed parent type
nospam@[EMAIL PROTECTED]   2008-07-27 22:05:17 
Re: Type extension and renamed parent type
paul.richard.thomas@[EMAI  2008-07-28 06:00:22 
Re: Type extension and renamed parent type
Ron Ford <ron@[EMAIL P  2008-07-28 13:39:05 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Wed Nov 19 9:27:45 CST 2008.