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=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,6689542a60dbcc55 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,UTF8 Path: g2news1.google.com!news2.google.com!news.glorb.com!aioe.org!not-for-mail From: =?utf-8?Q?Yannick_Duch=C3=AAne_=28Hibou57?= =?utf-8?Q?=29?= Newsgroups: comp.lang.ada Subject: Re: Discriminated records are not the most efficient, but ... Date: Mon, 23 Aug 2010 19:02:37 +0200 Organization: Ada @ Home Message-ID: References: <874oemcr37.fsf@mid.deneb.enyo.de> <4c71e5fc$0$2388$4d3efbfe@news.sover.net> <8dejelF6qlU1@mid.individual.net> <54fd0620-5ca9-45b9-80c7-497b02f85e10@j18g2000yqd.googlegroups.com> <4c7274ae$0$6770$9b4e6d93@newsspool3.arcor-online.net> NNTP-Posting-Host: 4DAVr2KhxAahdrPcUWQi/w.user.speranza.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes Content-Transfer-Encoding: Quoted-Printable X-Complaints-To: abuse@aioe.org X-Notice: Filtered by postfilter v. 0.8.2 User-Agent: Opera Mail/10.61 (Win32) Xref: g2news1.google.com comp.lang.ada:13675 Date: 2010-08-23T19:02:37+02:00 List-Id: Le Mon, 23 Aug 2010 15:16:30 +0200, Georg Bauhaus = a =C3=A9crit: > package Empty is > pragma Elaborate_Body (Empty); > end Empty; > > with Ada.Text_IO; > package body Empty is > begin > Ada.Text_IO.Put_Line ("Psst!"); > end Empty; > > $ gnatchop empty.ada && gnatmake -z empty So the =E2=80=9C-z=E2=80=9D option can be used even without providing an= external entry = point. Did not knew and good to know. The only kind of case I used an = application with a package initialization as an entry point, was always = = with a C entry point invoking adainit (using -z for Builder and -n for = Binder). -- = * 3 lines of concise statements is readable, 10 pages of concise = statements is unreadable ; * 3 lines of verbose statements may looks unuseful, 10 pages of verbose = = statements will never looks too much pedantic