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,354634c4578c425f X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-06-06 14:36:15 PST Path: archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!feed.textport.net!hammer.uoregon.edu!skates!not-for-mail From: Stephen Leake Newsgroups: comp.lang.ada Subject: Re: compile error Date: 06 Jun 2001 17:27:37 -0400 Organization: NASA Goddard Space Flight Center Message-ID: References: <90427822.0106050644.1ed6e954@posting.google.com> NNTP-Posting-Host: anarres.gsfc.nasa.gov Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: skates.gsfc.nasa.gov 991863826 19894 128.183.220.71 (6 Jun 2001 21:43:46 GMT) X-Complaints-To: dscoggin@cne-odin.gsfc.nasa.gov NNTP-Posting-Date: 6 Jun 2001 21:43:46 GMT User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.6 Xref: archiver1.google.com comp.lang.ada:8269 Date: 2001-06-06T21:43:46+00:00 List-Id: 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