comp.lang.ada
 help / color / mirror / Atom feed
From: "Pascal Obry" <p.obry@wanadoo.fr>
Subject: Re: Export instances of procedures
Date: 2000/04/19
Date: 2000-04-19T09:16:24+00:00	[thread overview]
Message-ID: <8djth8$du2$1@wanadoo.fr> (raw)
In-Reply-To: 8djpm3$qef$2@wanadoo.fr

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 787 bytes --]


Jean-Pierre Rosen a �crit dans le message <8djpm3$qef$2@wanadoo.fr>...
>An instantiation is both a spec AND a body.  Just remove the explicit spec,
>and it will work.


This is not possible in his example. The spec is in a package spec (to
be exported) and he wants the body to be an instance of a generic (all
this defined in a package body).

There is no other choice than using another name and doing a "rename" I
would say.

Pascal.

--|------------------------------------------------------
--| Pascal Obry                           Team-Ada Member
--| 45, rue Gabriel Peri - 78114 Magny Les Hameaux FRANCE
--|------------------------------------------------------
--|         http://perso.wanadoo.fr/pascal.obry
--|
--| "The best way to travel is by means of imagination"







  reply	other threads:[~2000-04-19  0:00 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-04-18  0:00 Export instances of procedures Gautier
2000-04-18  0:00 ` Vincent Marciante
2000-04-25  0:00   ` Gautier
2000-04-25  0:00     ` Vincent Marciante
2000-04-25  0:00     ` Robert Dewar
2000-04-26  0:00       ` Gautier
2000-04-26  0:00     ` Tucker Taft
2000-04-19  0:00 ` Jean-Pierre Rosen
2000-04-19  0:00   ` Pascal Obry [this message]
2000-04-19  0:00     ` Jean-Pierre Rosen
2000-04-19  0:00       ` Pascal Obry
2000-04-20  0:00         ` Gautier
replies disabled

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