comp.lang.ada
 help / color / mirror / Atom feed
From: "bklungle" <bklungle@ix.netcom.com>
Subject: Re: Unchecked_Deallocation
Date: 1997/10/22
Date: 1997-10-21T23:31:49-07:00	[thread overview]
Message-ID: <01bcdeb4$b374ff40$6a491ecc@p5120> (raw)
In-Reply-To: 01bcde95$f171ed40$214ec7d0@tkefufu.static


Try:
with Unchecked_Deallocation;  -- Put it about at ***

Scott Barrish <TKEFUFU@icontech.com> wrote in article
<01bcde95$f171ed40$214ec7d0@tkefufu.static>...
> Ada Professionals:
> 
> According to my professor's handout's and lecture notes, I should be able
> to do the following:
> 
> --Scott Barrish
> --CPSC-151
> --Professor P. Williams
> --October 23, 1997
> 
> --First Created:  October 21, 1997 6:45pm
> --Last Revised:	  October 21, 1997 6:45pm
> 
> with Ada.Text_IO;	use Ada.Text_IO;
with Unchecked_Deallocation;   -- ***
> 
> package body Stack_Dynamic is
> 
> procedure Free is new Unchecked_Deallocation(Object => Element_Type, Name
> => Stack_Ptr);
> 
> .
> .
> .
> 
> However, when I goto compile in Dubug mode, the compiler complains and
says
> that Unchecked_Deallocation is not found.  Ingnoring future references.
> 
> I thought that Unchecked_Deallocation is a generic procedure found in
> Ada.Text_IO.  If I am wrong, please help me in fixing this part ofmy
code.
> 
> I thank you a head of time for your help.
> 
> Sincerely,
> 
> Scott B.
> 
> P.S.  E-mail your reply.  My news server is very slow.
> 
> 




  reply	other threads:[~1997-10-22  0:00 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-10-22  0:00 Unchecked_Deallocation Scott Barrish
1997-10-22  0:00 ` bklungle [this message]
1997-10-22  0:00 ` Unchecked_Deallocation Anonymous
  -- strict thread matches above, loose matches on Subject: below --
1998-12-01  0:00 Unchecked_Deallocation robinsoj
1998-12-02  0:00 ` Unchecked_Deallocation Tom Moran
1998-12-03  0:00 ` Unchecked_Deallocation Fanni Kolchina
2002-07-17 18:07 unchecked_deallocation Felix Engemann
2002-07-17 18:29 ` unchecked_deallocation Larry Hazel
2002-07-17 21:44 ` unchecked_deallocation Jan Prazak
2002-07-18  8:13   ` unchecked_deallocation Felix Engemann
replies disabled

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