From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: *** X-Spam-Status: No, score=3.8 required=5.0 tests=BAYES_00,INVALID_MSGID, RATWARE_MS_HASH,RATWARE_OUTLOOK_NONAME autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,5832dd1e9c8f97c9,start X-Google-Attributes: gid103376,public From: "bklungle" Subject: Re: Unchecked_Deallocation Date: 1997/10/22 Message-ID: <01bcdeb4$b374ff40$6a491ecc@p5120>#1/1 X-Deja-AN: 282367729 References: <01bcde95$f171ed40$214ec7d0@tkefufu.static> Organization: B & D Associates X-NETCOM-Date: Tue Oct 21 11:31:49 PM PDT 1997 Newsgroups: comp.lang.ada Date: 1997-10-21T23:31:49-07:00 List-Id: Try: with Unchecked_Deallocation; -- Put it about at *** Scott Barrish 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. > >