comp.lang.ada
 help / color / mirror / Atom feed
From: jydelr@vub.ac.be (DELROEUX JEAN-YVES)
Subject: problem with type new limited private
Date: 22 Feb 1995 20:10:58 GMT
Date: 1995-02-22T20:10:58+00:00	[thread overview]
Message-ID: <3ig5oi$1f8@rc1.vub.ac.be> (raw)

Hello, I use this :


package pac_voit is

   type voit is new controlled with private;

   procedure ...


private

   type voit is
      record
         a : integer;
      end record;
end pac_voit;



 But when I compile with gnat 2.00 under warp, it give me the error :

 type voit must be declared as tagged.

   Why ????????

   I try to define voit as tagged, but it doesn't work. Can someone tell me what I can do ?

	Thanks for your help

	DELROEUX Jean - Yves

 



             reply	other threads:[~1995-02-22 20:10 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1995-02-22 20:10 DELROEUX JEAN-YVES [this message]
1995-02-24  0:18 ` problem with type new limited private Cyrille Comar
replies disabled

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