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-Thread: 103376,76769272cb0053f1 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news4.google.com!news.glorb.com!uio.no!news.tele.dk!news.tele.dk!small.news.tele.dk!fi.sn.net!newsfeed2.fi.sn.net!feeder2.news.jippii.net!reader1.news.jippii.net!53ab2750!not-for-mail From: Tapio Kelloniemi Subject: Re: New to ADA - not a homework References: <1111175242.081069.274410@f14g2000cwb.googlegroups.com> Newsgroups: comp.lang.ada Message-ID: Date: Fri, 18 Mar 2005 20:06:02 GMT NNTP-Posting-Host: 217.30.176.187 X-Complaints-To: newsmaster@saunalahti.com X-Trace: reader1.news.jippii.net 1111176362 217.30.176.187 (Fri, 18 Mar 2005 22:06:02 EET) NNTP-Posting-Date: Fri, 18 Mar 2005 22:06:02 EET Organization: Saunalahti Customer Xref: g2news1.google.com comp.lang.ada:9609 Date: 2005-03-18T20:06:02+00:00 List-Id: mieville@mac.com wrote: [--] >Now I have another the package agenda is OK but when compiling the >package body agenda is ... I have this message: "spec of this package >does not allow a body " >Any of you knows what it might be? Perhaps your package spec does not declare any functions, procedures, protected types, tasks, etc. which need a definition in the package body. If your spec only has variable declarations, there is no need for a body, since spec has all information needed to compile the package. There is no need in Ada (as it is in C) to declare everything extern in headers and then duplicate the declaration elsewhere. -- Tapio