comp.lang.ada
 help / color / mirror / Atom feed
From: Florian Weimer <fw@deneb.cygnus.argh.org>
Subject: Re: GNAT Problem with variable length Arrays
Date: 2000/03/22
Date: 2000-03-22T08:53:57+00:00	[thread overview]
Message-ID: <87ya7bgzbu.fsf@deneb.cygnus.argh.org> (raw)
In-Reply-To: 8b9v4e$cve1@dsit03.atlas.de

"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;




  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 ` Philippe Waroquiers
2000-03-22  0:00   ` Robert Dewar
2000-03-22  0:00 ` Florian Weimer [this message]
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