comp.lang.ada
 help / color / mirror / Atom feed
From: Mark Johnson <mark_h_johnson@raytheon.com>
Subject: Re: GNAT documentation question
Date: Fri, 26 Jul 2002 11:18:15 -0500
Date: 2002-07-26T11:18:15-05:00	[thread overview]
Message-ID: <3D417647.CE3EC748@raytheon.com> (raw)
In-Reply-To: 3D406C6B.9DE867E4@boeing.com

James Squire wrote:
> 
> A.13.15 says:
>         The implementation shall document the conditions under which
> Name_Error, Use_Error and Device_Error are propagated.
> 
> I've looked through the GNAT Reference Manual and I can't find this
> anywhere.  Can anyone point me to where it is?

Hmm. That is an interesting comment. There IS a description of when
Use_Error is generated in the case of shared files (I know about that
problem - we had code that needed fixing...). But in general, that
description doesn't appear to be in ANY of the gnat documentation.
Perhaps I should submit a bug report on it.

On the other hand, it is a quick search to do something like...
  grep -inr "raise.*name_error;"
/usr/gnat/lib/gcc-lib/i686-pc-linux-gnu/2.8.1/adainclude
  (rewrite the phrase and/or path as needed)
to get the list of 5 locations where Name_Error is raised, the 14
locations for Use_Error, and 35 locations for Device_Error to get the
REAL answer. I did this with a 3.16w version of gnat, the same search on
3.14a1 has slightly different results (3, 14, 33).

If you also have glide, you could take that output, put the output of
grep into a buffer, and enable compilation-mode to let you go directly
to each reference. It would be far better to get it in the
documentation, but this should help for now.

  --Mark



  reply	other threads:[~2002-07-26 16:18 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-07-25 21:23 GNAT documentation question James Squire
2002-07-26 16:18 ` Mark Johnson [this message]
2002-07-28 18:28 ` Robert Dewar
2002-07-29 17:53   ` Mark Johnson
2002-07-29 19:12     ` Simon Wright
2002-07-30 19:23       ` Mark Johnson
2002-07-30  4:18     ` Robert Dewar
2002-07-30 19:01       ` Simon Wright
2002-07-30 20:36         ` Robert A Duff
2002-07-30  4:21     ` Robert Dewar
2002-07-30  1:31   ` James Squire
  -- strict thread matches above, loose matches on Subject: below --
2002-07-26  4:30 Grein, Christoph
2002-07-26 16:37 ` James Squire
2002-07-28 19:09   ` Robert Dewar
2002-07-28 22:01     ` Robert A Duff
2002-07-29 11:01       ` Robert Dewar
2002-08-13 22:15     ` Randy Brukardt
2002-08-13 23:59       ` Robert A Duff
     [not found] <343ba5ba.1354247@news.mindspring.com>
1997-10-08  0:00 ` Larry Kilgallen
1997-10-08  0:00   ` Kenneth W. Sodemann
1997-10-09  0:00 ` David C. Hoos, Sr.
1997-10-09  0:00   ` Robert S. White
replies disabled

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