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: g2news1.google.com!postnews.google.com!r18g2000vbs.googlegroups.com!not-for-mail From: AdaMagica Newsgroups: comp.lang.ada Subject: Re: acceess problem Date: Mon, 25 Jul 2011 02:08:47 -0700 (PDT) Organization: http://groups.google.com Message-ID: <9a6ebe79-6da9-4cf7-9767-a6214ee2b80e@r18g2000vbs.googlegroups.com> References: <4e2c416b$0$2574$703f8584@news.kpn.nl> <4e2d13bc$0$2576$703f8584@news.kpn.nl> NNTP-Posting-Host: 80.156.44.178 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: posting.google.com 1311584927 26243 127.0.0.1 (25 Jul 2011 09:08:47 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Mon, 25 Jul 2011 09:08:47 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: r18g2000vbs.googlegroups.com; posting-host=80.156.44.178; posting-account=rmHyLAoAAADSQmMWJF0a_815Fdd96RDf User-Agent: G2/1.0 X-Google-Web-Client: true X-Google-Header-Order: HUALESRCNK X-HTTP-UserAgent: Mozilla/5.0 (Windows NT 5.2; WOW64; rv:5.0) Gecko/20100101 Firefox/5.0,gzip(gfe) Xref: g2news1.google.com comp.lang.ada:20342 Date: 2011-07-25T02:08:47-07:00 List-Id: On 25 Jul., 08:57, "ldries46" wrote: > I have done what you suggested and got the following error message on the > line > Axis1Amb : array (0 .. 3) of aliased GLfloat := (AxL, 0.0, 0.0, 1.0); > > non-local pointer cannot point to local object For 'Access, you have to declare the pointer and the object it's meant to access on the same accessibility level, i.e. if the pointer is on library level, the object has to be as well. For 'Unchecked_Access, the accessibility level checks are suppressed, i.e. the object is treated as if it were on library level. Then you are on yourself to prevent dangling pointers. So be careful.