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 autolearn=unavailable autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail From: "Jeffrey R. Carter" Newsgroups: comp.lang.ada Subject: Re: I do not understand this error... Date: Sat, 6 Feb 2016 21:36:20 -0700 Organization: Also freenews.netfront.net; news.tornevall.net; news.eternal-september.org Message-ID: References: <0528d7a8-773d-44b0-8f0a-e9aa48867443@googlegroups.com> <8778e70b-81e1-4dcc-8ecb-8bcaceb74b57@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Injection-Date: Sun, 7 Feb 2016 04:33:30 -0000 (UTC) Injection-Info: mx02.eternal-september.org; posting-host="caa759af2a9c666aec02942f6fe5abd6"; logging-data="27922"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/e67P/mj1Z1ueLMADia0JwrG7RqDXCgF4=" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1 In-Reply-To: <8778e70b-81e1-4dcc-8ecb-8bcaceb74b57@googlegroups.com> X-Mozilla-News-Host: news://freenews.netfront.net Cancel-Lock: sha1:+bq3ru5xzs3W42hpPw9Xdx50wvI= Xref: news.eternal-september.org comp.lang.ada:29387 Date: 2016-02-06T21:36:20-07:00 List-Id: 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. -- Jeff Carter "[I]f we should ever separate, my little plum, I want to give you one little bit of fatherly advice. ... Never give a sucker an even break." Poppy 97