comp.lang.ada
 help / color / mirror / Atom feed
From: Georg Bauhaus <sb463ba@l1-hrz.uni-duisburg.de>
Subject: Re: Problem with visibility of generic package help please
Date: Thu, 11 Dec 2003 15:15:24 +0000 (UTC)
Date: 2003-12-11T15:15:24+00:00	[thread overview]
Message-ID: <bra1mc$ghh$1@a1-hrz.uni-duisburg.de> (raw)
In-Reply-To: br9tct$10g5t$1@ID-209803.news.uni-berlin.de

Ute <Ute.Usenet@web.de> wrote:
: hello,
: 
: I'm trying to instantiate a generic package with doesn't become visible in
: the
: main program. However, the specifiacation of the package and the package
: body do
: separately compile without errors. I am using GNAT.
: 
: 
: I can't find the error??

One reported error is,
generic_sort_demo.adb: no visible subprogram matches the specification for "put"
generic_sort_demo.adb: missing specification for "Width" and other formals

meaning that what you pass for put has a different specification
from what you have specified as generic formal procedure put in
generic_sort.ads.  Namely, your specifications do not list the
Width and other parameters that put from the text_IO packages have.


-- Georg



  reply	other threads:[~2003-12-11 15:15 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-12-11 14:03 Problem with visibility of generic package help please Ute
2003-12-11 15:15 ` Georg Bauhaus [this message]
2003-12-11 18:07 ` Jeffrey Carter
2003-12-16 21:00 ` Martin Krischik
  -- strict thread matches above, loose matches on Subject: below --
2003-12-11 14:37 amado.alves
2003-12-11 15:55 ada_wizard
replies disabled

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