comp.lang.ada
 help / color / mirror / Atom feed
From: "Nick Roberts" <Nick.Roberts@dial.pipex.com>
Subject: Re: Renaming entries?
Date: 1999/02/17
Date: 1999-02-17T00:00:00+00:00	[thread overview]
Message-ID: <7afc1p$3mi$3@plug.news.pipex.net> (raw)
In-Reply-To: 7aelgt$2hr$1@nnrp1.dejanews.com

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"
-------------------------------------







  reply	other threads:[~1999-02-17  0:00 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-02-17  0:00 Renaming entries? dennison
1999-02-17  0:00 ` Nick Roberts [this message]
1999-02-17  0:00   ` David Brown
1999-02-18  0:00     ` Nick Roberts
1999-02-18  0:00   ` robert_dewar
1999-02-17  0:00 ` Jean-Pierre Rosen
1999-02-23  0:00 ` Tucker Taft
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox