comp.lang.ada
 help / color / mirror / Atom feed
From: Wes Groleau <wesgroleau@despammed.com>
Subject: Re: compiler hangs on circular type dependency
Date: Tue, 21 Jan 2003 09:02:36 -0500
Date: 2003-01-21T09:02:36-05:00	[thread overview]
Message-ID: <nqcX9.2478$c6.2673@bos-service2.ext.raytheon.com> (raw)
In-Reply-To: NB4X9.5484$zF6.455042@bgtnsc04-news.ops.worldnet.att.net


>>private
>>    type B is new C with null record;
>>    type C is new B with null record;
 >
> Section 3.4 paragraph 4 states:
> 
> A type shall be completely defined (see 3.11.1) prior to being specified
> as the parent type in a derived_type_definition - the
> full_type_declarations for the parent type and any of its
> subcomponents have to precede the derived_type_definition.
> 
> Your private definitions violate this rule.

But it is a GNAT bug to hang.  Please send a NON-crossposted
note to report@gnat.com




  parent reply	other threads:[~2003-01-21 14:02 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-01-21  2:06 Bug: compiler hangs on circular type dependency Victor Porton
2003-01-21  5:09 ` James S. Rogers
2003-01-21  6:24   ` tmoran
2003-01-21  7:12   ` Victor Porton
2003-01-21 14:02   ` Wes Groleau [this message]
2003-01-21 18:43 ` Victor Porton
2003-01-23 17:12   ` Stephen Leake
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox