comp.lang.ada
 help / color / mirror / Atom feed
From: Stephen Leake <stephen.a.leake.1@gsfc.nasa.gov>
Subject: Re: compile error
Date: 06 Jun 2001 17:27:37 -0400
Date: 2001-06-06T21:43:46+00:00	[thread overview]
Message-ID: <u1yox5meu.fsf@gsfc.nasa.gov> (raw)
In-Reply-To: 90427822.0106050644.1ed6e954@posting.google.com

Lin@post.com (Lin) writes:

> Hi,
> 
> I'm using Gnat3.11p version on WinNT. 

This is way old; get gnat 3.13p

> The whole compile error display is "language defined unit may not be
> recompile". 

Is this at the command line, or in some GUI? At the command line, the
gnat compiler is much more informative; for one thing, it tells you
what file it is compiling when it encounters the error.

> It should not need to recompile the language defined units when they
> are "with" by other units. If the name of the unit is the same as
> that of the language defined unit,will Gnat override the predefined
> one, or need to activate some specific flags manually?

The error message is saying that you cannot override language defined
units.

There is an option in gnat to let you do just that; consult the user
guide. But you should typically not be doing that.


Post the code you are trying to compile, so we know what you are
doing, then we can help more.

-- 
-- Stephe



      reply	other threads:[~2001-06-06 21:27 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-06-04 20:48 compile error Lin Z
2001-06-05  9:04 ` David C. Hoos, Sr.
2001-06-05 14:44   ` Lin
2001-06-06 21:27     ` Stephen Leake [this message]
replies disabled

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