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=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,d50803f457a25d9 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news2.google.com!fu-berlin.de!uni-berlin.de!not-for-mail From: "Nick Roberts" Newsgroups: comp.lang.ada Subject: Re: GtkAda Problem Date: Sun, 18 Jul 2004 01:01:48 +0100 Message-ID: References: <1udKc.98748$dP1.333832@newsc.telia.net> Mime-Version: 1.0 Content-Type: text/plain; format=flowed; delsp=yes; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: news.uni-berlin.de vIkje/Y5d3doJAFaO/f2Uwe11gsYyfdgCueyZVHckSny0ncWQ= User-Agent: Opera M2/7.51 (Win32, build 3798) Xref: g2news1.google.com comp.lang.ada:2214 Date: 2004-07-18T01:01:48+01:00 List-Id: On Sat, 17 Jul 2004 22:40:16 GMT, Jeffrey Carter wrote: > Nick Roberts wrote: > >> If it is possible to move fidle to a library-level package, fine. But >> if it would be impractical to do so, I suspect using Unchecked_Access >> is the best bet. > > 'Unchecked_Access is not defined for subprograms. Silly me. You're right. The weird thing is that I've used Unchecked_Access with GNAT (interfacing to Windows). I guess GNAT just allows it. Or was it Unchecked_Address? My memory is not very good. I'm very sorry for any confusion caused. I think compilers should provide a non-standard mode permitting Unchecked_Access for subprograms, since it's obviously needed sometimes; this mode would be forbidden for safety-critical software. -- Nick Roberts