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=ham autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,39c061fa6e3ec349 X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!postnews.google.com!t7g2000vbv.googlegroups.com!not-for-mail From: Gautier write-only Newsgroups: comp.lang.ada Subject: Re: acceess problem Date: Wed, 27 Jul 2011 05:06:35 -0700 (PDT) Organization: http://groups.google.com Message-ID: <375286d8-70a1-4bfc-8d3d-5699942807c1@t7g2000vbv.googlegroups.com> References: <4e2c416b$0$2574$703f8584@news.kpn.nl> <4e2d13bc$0$2576$703f8584@news.kpn.nl> <8727ccd3-d7e9-4d41-b55c-9c3d4fba1a78@df3g2000vbb.googlegroups.com> <980bda39-954a-4b4e-8b7d-fb9597f808c0@s33g2000prg.googlegroups.com> NNTP-Posting-Host: 91.114.110.206 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: posting.google.com 1311768495 3227 127.0.0.1 (27 Jul 2011 12:08:15 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Wed, 27 Jul 2011 12:08:15 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: t7g2000vbv.googlegroups.com; posting-host=91.114.110.206; posting-account=gRqrnQkAAAAC_02ynnhqGk1VRQlve6ZG User-Agent: G2/1.0 X-Google-Web-Client: true X-Google-Header-Order: HNKURAELSC X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux i686; en-US) AppleWebKit/533.2 (KHTML, like Gecko) Chrome/5.0.342.9 Safari/533.2,gzip(gfe) Xref: g2news2.google.com comp.lang.ada:21353 Date: 2011-07-27T05:06:35-07:00 List-Id: On 26 juil, 19:43, Adam Beneschan wrote: > Although I don't like this approach, if you're going to convert an > Address to an access object, surely it's better to use > System.Address_To_Access_Conversions, which is designed for this sort > of conversion, than to use Unchecked_Conversion, which assumes that a > System.Address and the access object you're converting to have the > same format, which isn't always the case. There's no point in using > "pure Ada" if it results in code that compiles on another system but > doesn't work properly. Could not agree more! http://globe3d.svn.sourceforge.net/viewvc/globe3d/bindings/gl.adb?r1=153&r2=152&pathrev=153