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.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,2485cb1936a0a4ec X-Google-Attributes: gid103376,public From: Robert A Duff Subject: Re: Package with initialization only Date: 1999/07/21 Message-ID: #1/1 X-Deja-AN: 503646031 Sender: bobduff@world.std.com (Robert A Duff) References: <37961DD6.E56BD3E9@maths.unine.ch> Organization: The World Public Access UNIX, Brookline, MA Newsgroups: comp.lang.ada Date: 1999-07-21T00:00:00+00:00 List-Id: Gautier writes: > A small "aesthetic" problem: I have a package with initialization only; > thus I must add a dummy procedure to resolve the with/without body > ambiguity Ada95 doesn't accept. If you put "pragma Elaborate_Body;" at the beginning of the package spec, then you're allowed to have a body. In fact, *required* to have a body. In Ada 83, some people preferred a dummy incomplete type, instead of a dummy procedure. - Bob -- Change robert to bob to get my real email address. Sorry.