comp.lang.ada
 help / color / mirror / Atom feed
From: Simon Wright <simon@pushface.org>
Subject: Re: Longstanding GNAT bug, bad code, or both -- Answer..Bad code.
Date: 08 Aug 2004 12:26:41 +0100
Date: 2004-08-08T12:26:41+01:00	[thread overview]
Message-ID: <x7vwu09vpji.fsf@smaug.pushface.org> (raw)
In-Reply-To: mailman.6.1091897074.414.comp.lang.ada@ada-france.org

Stephen Leake <stephen_leake@acm.org> writes:

> "Jeff C," <jcreem@yahoo.com> writes:
> 
> > Ok. I submitted a bugzilla report and it has already been
> > cancelled.  Apparently, declaring a variable as aliased makes it
> > contrained.  (According to one of the gcc Ada maintainers)
> 
> Ah. LRM 3.3.1 (9) says this. (I just searched for 'aliased' in the
> Emacs info version; guess I should have done that earlier :).

I work round this in the Booch Components using a horrible trick with
System.Address_To_Access_Conversions -- which works with GNAT &
ObjectAda (and I guess Rational Apex, I know there are/were users and
they haven't complained!)

-- 
Simon Wright                               100% Ada, no bugs.



  reply	other threads:[~2004-08-08 11:26 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-08-07  2:29 Longstanding GNAT bug, bad code, or both Jeff C,
2004-08-07  4:05 ` Jeff C,
2004-08-07 15:23   ` Stephen Leake
2004-08-07 14:07 ` Longstanding GNAT bug, bad code, or both -- Answer..Bad code Jeff C,
2004-08-07 16:44   ` Stephen Leake
2004-08-08 11:26     ` Simon Wright [this message]
2004-08-24 20:57     ` Randy Brukardt
2004-08-25 11:00       ` Jeff C,
replies disabled

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