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=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=unavailable autolearn_force=no version=3.4.4 X-Received: by 10.182.142.8 with SMTP id rs8mr26008760obb.33.1454903513779; Sun, 07 Feb 2016 19:51:53 -0800 (PST) X-Received: by 10.182.19.129 with SMTP id f1mr401771obe.20.1454903513703; Sun, 07 Feb 2016 19:51:53 -0800 (PST) Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!mx02.eternal-september.org!feeder.eternal-september.org!usenet.blueworldhosting.com!feeder01.blueworldhosting.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!hb3no1970308igb.0!news-out.google.com!l1ni6372igd.0!nntp.google.com!hb3no1970303igb.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Sun, 7 Feb 2016 19:51:53 -0800 (PST) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=2601:18f:900:8350:ba86:87ff:fed6:5907; posting-account=AvekzAoAAABj-TclKcOWQmXwA49MFPGX NNTP-Posting-Host: 2601:18f:900:8350:ba86:87ff:fed6:5907 References: <0528d7a8-773d-44b0-8f0a-e9aa48867443@googlegroups.com> <8778e70b-81e1-4dcc-8ecb-8bcaceb74b57@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: Re: I do not understand this error... From: John Smith Injection-Date: Mon, 08 Feb 2016 03:51:53 +0000 Content-Type: text/plain; charset=ISO-8859-1 Xref: news.eternal-september.org comp.lang.ada:29417 Date: 2016-02-07T19:51:53-08:00 List-Id: On Saturday, February 6, 2016 at 11:36:25 PM UTC-5, Jeffrey R. Carter wrote: > On 02/06/2016 05:34 PM, John Smith wrote: > > The the following example is wrong: > > http://rosettacode.org/wiki/Hello_world/Graphical#Ada > > Perhaps. I've always used callbacks in library-level pkgs with GtkAda, so I > don't know if using a callback declared at a deeper level might be legal in some > cases. There are also questions about the versions of GtkAda and the compiler > used to compile this. > > > If so, then how would you fix this? > > I would declare the callbacks in a library-level pkg. > 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? My version of Gnatmake is 5.3.0, if that helps.