comp.lang.ada
 help / color / mirror / Atom feed
From: Simon Wright <simon.j.wright@mac.com>
Subject: Re: GNAT 4.2.3 Ubuntu reports weird compile error wrt Unchecked_Access
Date: Sun, 17 Aug 2008 18:14:40 +0100
Date: 2008-08-17T18:14:40+01:00	[thread overview]
Message-ID: <m2wsifo96n.fsf@mac.com> (raw)
In-Reply-To: 79669a6a-6d90-4025-9fa2-e71bebd659e1@b38g2000prf.googlegroups.com

Jerry <lanceboyle@qwest.net> writes:

> On Aug 16, 3:26�am, Ludovic Brenta <ludo...@ludovic-brenta.org> wrote:
>> Without more context I cannot tell for sure but I believe this is a
>> compiler error in the sense that gnat-4.2 does not implement all the
>> new (and more permissive) rules in Ada 2005 regarding anonymous access
>> types. gnat-3.2 implements these rules.
>>
>> BTW, I've mentioned already that Ubuntu 8.04 has broken support for
>> Ada. Better stick to Debian.
>>
>> --
>> Ludovic Brenta.
>
> I can quickly get in over my head here and I'm not very familiar with
> anonymous access types, but isn't 'Unchecked_Access a part of Ada 95
> if not 83?

Not 83, I think.

The thing is, 'Unchecked_Access may well be allowed in more places in
'05 than it was in '95; and compilers don't always get this sort of
thing right first time.

GNAT has 'Unrestricted_Access for places where the rules (or the
compiler) don't allow 'Unhchecked_Access.



  reply	other threads:[~2008-08-17 17:14 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-15 20:26 GNAT 4.2.3 Ubuntu reports weird compile error wrt Unchecked_Access Jerry
2008-08-16 10:26 ` Ludovic Brenta
2008-08-16 10:35   ` Ludovic Brenta
2008-08-17  0:03   ` Jerry
2008-08-17 17:14     ` Simon Wright [this message]
2008-08-17 21:05       ` Jerry
2008-08-17  5:59 ` anon
2008-08-17 19:47   ` anon
2008-08-17 21:14     ` Jerry
2008-08-17 20:58   ` Jerry
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox