comp.lang.ada
 help / color / mirror / Atom feed
* Conrolled types at library level only?
@ 1996-08-26  0:00 David Hunter
  1996-08-26  0:00 ` James Squire
  1996-08-28  0:00 ` Robert Dewar
  0 siblings, 2 replies; 3+ messages in thread
From: David Hunter @ 1996-08-26  0:00 UTC (permalink / 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




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~1996-08-28  0:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1996-08-26  0:00 Conrolled types at library level only? David Hunter
1996-08-26  0:00 ` James Squire
1996-08-28  0:00 ` Robert Dewar

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