comp.lang.ada
 help / color / mirror / Atom feed
From: Stephen Leake <stephen.a.leake.1@gsfc.nasa.gov>
Subject: Re: meaning of: duplicate body for "_Clean" declared at line 1
Date: 11 Jan 2002 12:23:16 -0500
Date: 2002-01-11T17:27:18+00:00	[thread overview]
Message-ID: <usn9c4xa3.fsf@gsfc.nasa.gov> (raw)
In-Reply-To: 3C3EE3B8.61155487@icn.siemens.de

Alfred Hilscher <Alfred.Hilscher@icn.siemens.de> 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



  parent reply	other threads:[~2002-01-11 17:23 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-01-11 13:08 meaning of: duplicate body for "_Clean" declared at line 1 Alfred Hilscher
2002-01-11 17:16 ` Michal Nowak
2002-01-14 13:13   ` Alfred Hilscher
2002-01-11 17:23 ` Stephen Leake [this message]
2002-01-14 13:16   ` Alfred Hilscher
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox