From: Robert Dewar <robert_dewar@my-deja.com>
Subject: Re: GNAT Problem with variable length Arrays
Date: 2000/03/22
Date: 2000-03-22T00:00:00+00:00 [thread overview]
Message-ID: <8barsh$5b6$1@nnrp1.deja.com> (raw)
In-Reply-To: 87ya7bgzbu.fsf@deneb.cygnus.argh.org
In article <87ya7bgzbu.fsf@deneb.cygnus.argh.org>,
Florian Weimer <fw-usenet@deneb.cygnus.argh.org> wrote:
> "Torsten Leistikow" <leistikow@stn-atlas.de> writes:
>
> > Is this an exspected behaviour of the compiler, or some kind
of a bug?
>
> It's certainly a bug. Sometimes, when using a type before it
is
> actually declared, GNAT runs into an infinite loop. Another
(quite
> silly) example is:
>
> package type_test_problem is
>
> type Some_Type_Class is private;
>
> private
>
> type Some_Type_Class is new Some_Type_Class'Class;
>
> end type_test_problem;
Well you should certainly report *any* bug to report@gnat.com,
although this one must be due to using an old version of GNAT.
test_problem.ads:7:09: full view of type must be definite
subtype
test_problem.ads:7:47: type cannot be used in its own definition
Sent via Deja.com http://www.deja.com/
Before you buy.
next prev parent reply other threads:[~2000-03-22 0:00 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-03-22 0:00 GNAT Problem with variable length Arrays Torsten Leistikow
2000-03-22 0:00 ` Florian Weimer
2000-03-22 0:00 ` Robert Dewar [this message]
2000-03-22 0:00 ` Philippe Waroquiers
2000-03-22 0:00 ` Robert Dewar
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox