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=2.6 required=5.0 tests=BAYES_05,FROM_WORDY, INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,c2f4e8127f6a9fd3 X-Google-Attributes: gid103376,public From: "Nick Roberts" Subject: Re: Renaming entries? Date: 1999/02/17 Message-ID: <7afc1p$3mi$3@plug.news.pipex.net>#1/1 X-Deja-AN: 445455830 References: <7aelgt$2hr$1@nnrp1.dejanews.com> X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 Organization: UUNET WorldCom server (post doesn't reflect views of UUNET WorldCom) Newsgroups: comp.lang.ada Date: 1999-02-17T00:00:00+00:00 List-Id: Right, [what is the 'T' of T.E.D. btw?], I've got this one pinned, I reckon. RM95 8.5.4 (5) says that "the profile of a renaming-as-body shall be subtype conformant with that of the renamed callable entity." RM 6.3.1 (2, 13) says that the default calling convention for an entry is 'Entry'. Paragraph (17) says that for subtype conformance the conventions must be the same. So, the solution to your problem is to use pragma Convention(Entry,Fred); in the package specification, and all will be well. Now all I need is a spiral-bound RM that doesn't keep ON CLOSING ITSELF ARGHHHHH! Sorry, calmed down now. I'm gonna break the spine of this damn thing. Feeling lucky, book? Go on, make my day. ------------------------------------- Nick Roberts 'The time has come,' the Walrus said, 'To talk of many things: Of shoes--of ships--and sealing wax-- Of cabbages--and kings-- And why the sea is boiling hot-- And whether pigs have wings.' Lewis Carroll "Through the Looking Glass" -------------------------------------