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-7-bit X-Google-Thread: 103376,4ffb9f97f305882b X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-01-11 09:37:10 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!canoe.uoregon.edu!hammer.uoregon.edu!skates!not-for-mail From: Stephen Leake Newsgroups: comp.lang.ada Subject: Re: meaning of: duplicate body for "_Clean" declared at line 1 Date: 11 Jan 2002 12:23:16 -0500 Organization: NASA Goddard Space Flight Center Message-ID: References: <3C3EE3B8.61155487@icn.siemens.de> NNTP-Posting-Host: anarres.gsfc.nasa.gov Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: skates.gsfc.nasa.gov 1010770038 6801 128.183.220.71 (11 Jan 2002 17:27:18 GMT) X-Complaints-To: dscoggin@cne-odin.gsfc.nasa.gov NNTP-Posting-Date: 11 Jan 2002 17:27:18 GMT User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7 Xref: archiver1.google.com comp.lang.ada:18783 Date: 2002-01-11T17:27:18+00:00 List-Id: Alfred Hilscher writes: > Hi, > > I have a package spec and body. When I compile the spec everythin is OK, > but when I compile the _body_ then I get an errormessage for the _spec_ > : "duplicate body for "_Clean" declared at line 1". I have nothing named > "_Clean" so what does this message mean? > > I work with GNAT 3.13 and Windows NT 4.0. You'll have to post the code snippet; this error message doesn't make much sense. For one thing, leading underscores are illegal in Ada! Just FYI, with GNAT, if the package has a body, there is never a need to explicitly compile the spec. Just compile the body. -- -- Stephe