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=unavailable autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail From: "J-P. Rosen" Newsgroups: comp.lang.ada Subject: Re: Stackoverflow answer in need of update? Date: Tue, 24 Feb 2015 19:30:00 +0100 Organization: A noiseless patient Spider Message-ID: References: <87y4nn6vpg.fsf@mid.deneb.enyo.de> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit Injection-Date: Tue, 24 Feb 2015 18:31:09 +0000 (UTC) Injection-Info: mx02.eternal-september.org; posting-host="d2244c1c164cf9db972ffa8be95c9640"; logging-data="14152"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19JqWZcwuRhHq03+iH5D1vr" User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 In-Reply-To: <87y4nn6vpg.fsf@mid.deneb.enyo.de> Cancel-Lock: sha1:hUZ6R5R07EFKWfyV9oWFSL5mEBc= Xref: news.eternal-september.org comp.lang.ada:25021 Date: 2015-02-24T19:30:00+01:00 List-Id: Le 24/02/2015 18:55, Florian Weimer a écrit : > * G. B.: > >> http://stackoverflow.com/questions/16182824/ada-beginner-stack-program >> >> claims that gcc needs a 1:1 correspondence of compilation units >> and files. However, there now is -gnateINNN, in view of which this >> might no longer be true as is. (I do not know the details or its >> convenience as a solution, but maybe that's worth an update.) > > I have not read the referenced posting, but the 1:1 has never been > true because of the .ads/.adb split and subunits, so compilation units > can span multiple files. > Program units yes, but not compilation units. Watchout the vocabulary ;-) -- J-P. Rosen Adalog 2 rue du Docteur Lombard, 92441 Issy-les-Moulineaux CEDEX Tel: +33 1 45 29 21 52, Fax: +33 1 45 29 25 00 http://www.adalog.fr