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,b86e978488429db7 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2004-01-29 09:37:15 PST Path: archiver1.google.com!postnews1.google.com!not-for-mail From: dan@irvine.com (Dan Eilers) Newsgroups: comp.lang.ada Subject: Re: Compilation error with GNAT Date: 29 Jan 2004 09:37:15 -0800 Organization: http://groups.google.com Message-ID: References: <6c8918f3.0401281100.2a000840@posting.google.com> NNTP-Posting-Host: 66.126.103.122 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1075397835 17952 127.0.0.1 (29 Jan 2004 17:37:15 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Thu, 29 Jan 2004 17:37:15 +0000 (UTC) Xref: archiver1.google.com comp.lang.ada:5047 Date: 2004-01-29T09:37:15-08:00 List-Id: Per Sandberg wrote in message news:... > Start with the basic GNAT complilation model. > GNAT is treating spec/body alternativly spec if the spec does'nt requrie > a body as a unit for compilation. > ... > It is all explaind in detail in the GNAT documentation > /Per Sandberg But it would be perfectly reasonable for an Ada user to start with the basic Ada compilation model, which is explained in detail in the Ada documentation. In the Ada model, a package spec is a compilation unit whether or not it requires a body, and compilation errors do not arise from missing bodies or missing subunit stubs. One could argue (and it has been argued) that just because the message might say "compilation error" doesn't really mean that the compiler is reporting a compilation error. But such word games are likely to confuse the typical user. -- Dan Eilers