comp.lang.ada
 help / color / mirror / Atom feed
From: David Hunter <dhunter@interserf.net>
Subject: Conrolled types at library level only?
Date: 1996/08/26
Date: 1996-08-26T00:00:00+00:00	[thread overview]
Message-ID: <32221600.69CD@interserf.net> (raw)


I've got a generic package that defines a controlled type.
When I try to instantiate the package in a procedure,
GNAT (3.04a) tells me that conrolled types can only be
defined at library level.  Sure enough, I can instantiate 
the generic in a package but not in a procedure.  Is
this rule part of the Ada95 definition or a particular
weakness of GNAT?

--
David Hunter
Mary Washington College
Computer Science Department
hunter@mwc.edu




             reply	other threads:[~1996-08-26  0:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-08-26  0:00 David Hunter [this message]
1996-08-26  0:00 ` Conrolled types at library level only? James Squire
1996-08-28  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