From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on ip-172-31-74-118.ec2.internal 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!.POSTED!not-for-mail From: "J-P. Rosen" Newsgroups: comp.lang.ada Subject: Re: How can I get this data into the .data section of the binary? Date: Tue, 16 Jun 2020 14:56:45 +0200 Organization: Adalog Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Date: Tue, 16 Jun 2020 12:56:45 -0000 (UTC) Injection-Info: reader02.eternal-september.org; posting-host="efb6c04cd982ed11b3f78246b60c855f"; logging-data="4798"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19HaaN+OuBBC18E5qQqzQs8" User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.9.0 Cancel-Lock: sha1:adNjvE2tXLHR7XFYDUwpzHieCDo= In-Reply-To: Content-Language: fr Xref: reader01.eternal-september.org comp.lang.ada:59086 List-Id: Le 16/06/2020 à 14:45, Luke A. Guest a écrit : >> Except, you can't use that pragma, because it wants all other's to be >> preelaborated, but they're not. >> > And this is one of the things that really annoys me about Ada. > But how could it be otherwise? If you depend on a non-preelaborable unit, then you depend on something which is not computable at compile time... Of course, there is the case where you depend only on preelaborable declarations within a non-preelaborable package. You can then move these declarations into a separate, preelaborable, package. -- 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