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, WEIRD_PORT autolearn=unavailable autolearn_force=no version=3.4.4 X-Received: by 10.31.151.21 with SMTP id z21mr19731540vkd.7.1454799341422; Sat, 06 Feb 2016 14:55:41 -0800 (PST) X-Received: by 10.182.101.196 with SMTP id fi4mr368416obb.4.1454799341343; Sat, 06 Feb 2016 14:55:41 -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!news.glorb.com!y89no209098qge.0!news-out.google.com!kr2ni8669igb.0!nntp.google.com!o2no2777244iga.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Sat, 6 Feb 2016 14:55:41 -0800 (PST) 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 User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <0528d7a8-773d-44b0-8f0a-e9aa48867443@googlegroups.com> Subject: I do not understand this error... From: John Smith Injection-Date: Sat, 06 Feb 2016 22:55:41 +0000 Content-Type: text/plain; charset=ISO-8859-1 Xref: news.eternal-september.org comp.lang.ada:29381 Date: 2016-02-06T14:55:41-08:00 List-Id: Here is my code: http://pastebin.com/JeR2VcXr http://pastebin.com/PU65NmYB It's a very simple gtk example that I copied just to mess with. When I run "gprbuild", this is the error that I see: $ gprbuild using project file gtk_test.gpr gcc -c -g gtk_test.adb gtk_test.adb:16:04: instantiation error at gtk-handlers.ads:1039 gtk_test.adb:16:04: subprogram must not be deeper than access type gtk_test.adb:17:04: instantiation error at gtk-handlers.ads:437 gtk_test.adb:17:04: subprogram must not be deeper than access type gprbuild: *** compilation phase failed Why?