comp.lang.ada
 help / color / mirror / Atom feed
From: John Smith <yoursurrogategod@gmail.com>
Subject: Re: I do not understand this error...
Date: Mon, 8 Feb 2016 15:39:49 -0800 (PST)
Date: 2016-02-08T15:39:49-08:00	[thread overview]
Message-ID: <4b48fda1-7322-4960-b45c-6b7503cab9d9@googlegroups.com> (raw)
In-Reply-To: <n9964u$b3n$1@dont-email.me>

On Sunday, February 7, 2016 at 11:41:51 PM UTC-5, Jeffrey R. Carter wrote:
> On 02/07/2016 08:51 PM, John Smith wrote:
> > 
> > Stupid question.  What do you mean by a library-level package?  Is this just
> > a regular package that has these callbacks declared and I just include it in
> > my application?
> 
> "Library-level" means not nested in anything else.
> 
> [Technically, nested directly in Standard, since all compilation units are
> considered nested directly in Standard. Standard is usually not mentioned
> explicitly, though, so this may be confusing to a beginner.]
> 
> -- 
> Jeff Carter
> "I'm a lumberjack and I'm OK."
> Monty Python's Flying Circus
> 54

How does that look like?

I tried to "with" the following package:
http://pastebin.com/ghd6kjZP

But I got the following errors:
$ gprbuild
using project file gtk_hello_world.gpr
gcc -c -g -gnatwa gtk_hello_world.adb
gtk_hello_world.adb:22:26: warning: formal parameter "Widget" is not referenced
gtk_hello_world.adb:28:22: warning: formal parameter "Widget" is not referenced
gtk_hello_world.adb:38:03: "Return_Handlers" is not visible
gtk_hello_world.adb:38:03: non-visible declaration at handler_package.ads:11
gtk_hello_world.adb:39:03: "Handlers" is not visible
gtk_hello_world.adb:39:03: non-visible declaration at handler_package.ads:10
gtk_hello_world.adb:39:03: non-visible declaration at gtk-handlers.ads:181
gprbuild: *** compilation phase failed


  parent reply	other threads:[~2016-02-08 23:39 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-06 22:55 I do not understand this error John Smith
2016-02-06 23:47 ` Jeffrey R. Carter
2016-02-07  0:34   ` John Smith
2016-02-07  4:36     ` Jeffrey R. Carter
2016-02-08  3:51       ` John Smith
2016-02-08  4:41         ` Jeffrey R. Carter
2016-02-08 23:33           ` Robert A Duff
2016-02-09  5:25             ` Jeffrey R. Carter
2016-02-09  9:43             ` G.B.
2016-02-09 16:14               ` AdaMagica
2016-02-08 23:39           ` John Smith [this message]
2016-02-09  5:25             ` Jeffrey R. Carter
2016-02-07  8:23     ` Dmitry A. Kazakov
2016-02-07 22:11       ` John Smith
2016-02-07 23:26         ` John Smith
replies disabled

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