From: Simon Wright <simon@pushface.org>
Subject: Re: Problem using GLOBE_3D/glut under Debian 10 (buster)
Date: Wed, 21 Aug 2019 08:00:49 +0100
Date: 2019-08-21T08:00:49+01:00 [thread overview]
Message-ID: <lyimqratpa.fsf@pushface.org> (raw)
In-Reply-To: df1f65dc-b924-45bd-b265-81ab4c394454@googlegroups.com
reinert <reinkor@gmail.com> writes:
> It seems like I have circled down the problem. I did avoid this statement:
>
> glut.MenuStatusFunc (menu1_callback1'Unrestricted_Access);
>
> and the problem seems to disappear.
>
> Under gnat-6 there was apparently no problem, but under gnat-7/-8 I just got
> "raised STORAGE_ERROR : s-intman.adb:136 explicit raise".
I wonder whether you've found the same problem I did here?
https://forward-in-code.blogspot.com/2018/03/tcltk-vs-trampolines.html
My cure was to declare the callback procedure (in your case,
menu_callback1) at library level. You might avoid the need for
'Unrestricted_Access, too.
next prev parent reply other threads:[~2019-08-21 7:00 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-07-13 6:03 Problem using GLOBE_3D/glut under Debian 10 (buster) reinert
2019-08-21 5:53 ` reinert
2019-08-21 5:54 ` reinert
2019-08-21 7:00 ` Simon Wright [this message]
2019-08-21 13:22 ` Shark8
2019-08-21 9:52 ` Dmitry A. Kazakov
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox