comp.lang.ada
 help / color / mirror / Atom feed
From: Martin Dowie <martin.dowie@btopenworld.com>
Subject: Re: Elaboration problem with a task
Date: Thu, 5 Jan 2006 14:18:56 +0000 (UTC)
Date: 2006-01-05T14:18:56+00:00	[thread overview]
Message-ID: <dpj9sf$cs1$2@nwrdmz01.dmz.ncs.ea.ibs-infra.bt.com> (raw)
In-Reply-To: <yBwckwAd9PvDJwBl@diphi.demon.co.uk>

JP Thornley wrote:
> In article <dpirm7$cs1$1@nwrdmz01.dmz.ncs.ea.ibs-infra.bt.com>, Martin 
> Dowie <martin.dowie@btopenworld.com> writes
> 
>> Have you tried "-gnatE"?
> 
> 
> Hmmm, the error goes away and the code (with some Text_IO added) runs 
> OK. So the error report is spurious?
> 
> Thanks for that.

No probs - the default GNAT behaviour is to use it's own rules about 
elaboration, not the Ada rules. They are supposed to be 'better' than 
the Ada rules but if you want Ada rather than GNAT, you always have to 
use "-gnatE", rather like using "-gnato".

Cheers

-- Martin



  reply	other threads:[~2006-01-05 14:18 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-01-05 10:04 Elaboration problem with a task JP Thornley
2006-01-05 10:16 ` Martin Dowie
2006-01-05 11:13   ` JP Thornley
2006-01-05 14:18     ` Martin Dowie [this message]
2006-01-05 16:35       ` Pascal Obry
2006-01-05 19:34 ` Jeffrey R. Carter
2006-01-05 20:42 ` Simon Wright
replies disabled

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