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.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,33d86ea4039d454a X-Google-Attributes: gid103376,public From: "MSG" Subject: Re: [student help] Won't allow package body. Date: 1998/05/13 Message-ID: <6jcfln$ft$1@news.eclipse.net>#1/1 X-Deja-AN: 352911017 References: <35514AAC.D46B535C@iinet.net.au> X-MimeOLE: Produced By Microsoft MimeOLE V5.00.0305.0 Newsgroups: comp.lang.ada Date: 1998-05-13T00:00:00+00:00 List-Id: Besides the fact that Davic C Hoos, Sr. is correct and that you need to provide a more complete example... Assuming that your spec is compilable but doesn't require a body (a generic with no body?...I'll have to think about that later)...you can force need for a body by adding a dummy procedure with no code OR you can specify "pragma Elaborate_Body;" in the spec of the generic pacakge. Michael Garnett Oliver White wrote in message 35514AAC.D46B535C@iinet.net.au... I'm compiling a package, the ads file begins as so - generic type ObjectType is private; package LinkedListPackage is but when I compile, I get this message - "generic package LinkedListPackage does not allow a body" I'm sure there's an obvious error, could you help me? Oliver White.