comp.lang.ada
 help / color / mirror / Atom feed
From: Robert Dewar <robert_dewar@my-deja.com>
Subject: Re: GNAT Problem with variable length Arrays
Date: 2000/03/22
Date: 2000-03-22T00:00:00+00:00	[thread overview]
Message-ID: <8bas7v$5nd$1@nnrp1.deja.com> (raw)
In-Reply-To: rcln3bmirh.fsf@gull.tact.cfmu.eurocontrol.be

In article <rcln3bmirh.fsf@gull.tact.cfmu.eurocontrol.be>,
  Philippe Waroquiers <philippe@gull.tact.cfmu.eurocontrol.be>
wrote:
>
> I encountered once a similar problem (compilation did not
stop).
>
> After some time, I thought to use the switch -gnate -gnatf
> documented in the user's guide section '20.9 Abnormal
Termination'.
> The errors are then output immediately (even if the
compilation
> still does not stop).
>
> A suggestion was given to ACT to slightly modify this section
and
> section title in order to suggest that these switches are also
useful
> in case gnat does not terminate :).


Note that it is NOT a good idea to routinely use -gnate, and
in fact we may move this to a debugging switch. Why? because
it disconnects a lot of useful error handling circuitry (GNAT
needs all the error messages at hand to massage them before
outputting them, if you force output as you go along, you
remove this possibility), but it is indeed useful in the
occasional cases where the compiler goes into a loop or
gets a system exception (it is not useful in the case where
a GNAT BUG DETECTED box is printed).


Sent via Deja.com http://www.deja.com/
Before you buy.




      reply	other threads:[~2000-03-22  0:00 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-03-22  0:00 GNAT Problem with variable length Arrays Torsten Leistikow
2000-03-22  0:00 ` Florian Weimer
2000-03-22  0:00   ` Robert Dewar
2000-03-22  0:00 ` Philippe Waroquiers
2000-03-22  0:00   ` Robert Dewar [this message]
replies disabled

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