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,FREEMAIL_FROM autolearn=unavailable autolearn_force=no version=3.4.4 X-Received: by 10.182.135.197 with SMTP id pu5mr2768183obb.32.1424870046683; Wed, 25 Feb 2015 05:14:06 -0800 (PST) X-Received: by 10.140.28.131 with SMTP id 3mr36723qgz.16.1424870046654; Wed, 25 Feb 2015 05:14:06 -0800 (PST) Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!mx02.eternal-september.org!feeder.eternal-september.org!usenet.blueworldhosting.com!feeder01.blueworldhosting.com!border2.nntp.dca1.giganews.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!hl2no23254739igb.0!news-out.google.com!c1ni194qar.1!nntp.google.com!i13no7278475qae.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Wed, 25 Feb 2015 05:14:06 -0800 (PST) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=91.55.218.213; posting-account=rmHyLAoAAADSQmMWJF0a_815Fdd96RDf NNTP-Posting-Host: 91.55.218.213 References: <87y4nn6vpg.fsf@mid.deneb.enyo.de> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <5ed1d53a-de95-4fc3-8d03-85ebfa3d4e58@googlegroups.com> Subject: Re: Stackoverflow answer in need of update? From: AdaMagica Injection-Date: Wed, 25 Feb 2015 13:14:06 +0000 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Xref: news.eternal-september.org comp.lang.ada:25034 Date: 2015-02-25T05:14:06-08:00 List-Id: Am Dienstag, 24. Februar 2015 19:31:52 UTC+1 schrieb J-P. Rosen: ... > Program units yes, but not compilation units. Watchout the vocabulary ;-) Hm, there is no syntactical categorie program_unit. There is RM 10.1.1(2) compilation ::=3D {compilation_unit} and GNAT in *standard mode* requires one compilation_unit per file (as does= APEX). However, if you write e.g. gnatmake some_unit.ads, what really happens is that some_unit is the given compilation_unit, but GN= AT (and for that matter any modern compiler) will make a compilation of all= compilation_units needed to compile the given unit. This compilation will = then generally comprise many files.