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=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII X-Google-Thread: 103376,92d1af21ade61406 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-11-01 20:02:40 PST From: =?iso-8859-1?q?=22M=E5rten?= Woxberg" Newsgroups: comp.lang.ada Subject: Re: Problems with 'class, help anyone? Date: Sat, 02 Nov 2002 05:02:27 +0100 Organization: Island Message-ID: References: <3DBE2593.9080800@worldnet.att.net> <3DBF9437.8090408@worldnet.att.net> NNTP-Posting-Host: k27.ryd.student.liu.se Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: news.island.liu.se 1036209746 15031 130.236.212.27 (2 Nov 2002 04:02:26 GMT) X-Complaints-To: abuse@island.liu.se NNTP-Posting-Date: Sat, 2 Nov 2002 04:02:26 +0000 (UTC) User-Agent: Pan/0.13.1 (It's always funny until somebody immanentizes the eschaton) Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!newsfeed1.bredband.com!bredband!uio.no!newsfeed1.uni2.dk!news.net.uni-c.dk!newsfeed.sunet.se!news01.sunet.se!puffinus.its.uu.se!news.Update.UU.SE!news.island.liu.se!not-for-mail Xref: archiver1.google.com comp.lang.ada:30303 Date: 2002-11-02T05:02:27+01:00 List-Id: On Wed, 30 Oct 2002 08:13:07 +0000, Jim Rogers wrote: > M�rten Woxberg wrote: > >> On Tue, 29 Oct 2002 06:08:40 +0000, Jim Rogers wrote: >> >> >>>M�rten Woxberg wrote: >>> >>> >> >> >> >>>I see you are doing something *almost* exactly the same. The almost seems >>>to be your problem. >>> >>>The GNAT error messages are pretty clear. To give you a detailed analysis of >>>your code I would need to see your code, not just the compiler error messages. >>> >> >> Ok I've tried the Code from the webpage now and that produces the same >> errors.. thus it doesnt work with gnat either.. gnat is version 3.13 and >> the code on the page was tested with 3.03 and 3.06 so it should >> work shouldn't it? > > > Several of the package specifications are presented with out corresponding > package bodies. The class wide access types are defined as general access types, > but the corresponding instances are not defined as aliased. > > The code frequently tries to make an instance of an abstract type. This is not > allowed. > > In general, these examples are both incomplete and incorrect. You might try > contacting Simon Johnston to find an errata page for this document. Yeah I might have to... > I have thrown together an example of using 'class that works. > Thanks I'll check your code... > Jim Rogers /M�rten