comp.lang.ada
 help / color / mirror / Atom feed
From: dewar@cs.nyu.edu (Robert Dewar)
Subject: Re: Fun with WebAda/GNAT
Date: 1996/08/18
Date: 1996-08-18T00:00:00+00:00	[thread overview]
Message-ID: <dewar.840403100@schonberg> (raw)
In-Reply-To: m2d90ojxax.fsf@devo.ridgecrest.ca.us


Ronald says

  "Sure there is!  Just print the path names for the files/specs in the
  error message."

We have discussed this, but path names in typical Unix systems are so
long that this generates an unacceptable level of noise in the normal
case. We do of course print references for multiple definitions, so
I am not quite sure what that is about:

q.adb:2:03: "x" conflicts with declaration at q.ads:2

But are you really sure you want to see

/nile.a/ada/ada/gnatbugs/fixed/0000-020/q.adb:2:03: "x" conflicts with
declaration at /nile.a/ada/ada/gnatbugs/fixed/0000-020/q.ads:2

we think not. I suppose one could put in a switch, but there are lots of
switches already, and typically no one reads the documentation carefully,
so no one knows about them!

I certainly have never had trouble with the lack of full paths in error
messages, and it is not something that any of our users have ever requested.
Error messages are always a matter of balance, and we tend to trying to keep
them short and content rich.

A little tool that shows you where something is on the ada include path
sounds trivial, and useful in cases where someone is confused as to where
something is. Actually that would be nice to build into EMACS.





  reply	other threads:[~1996-08-18  0:00 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-08-14  0:00 Fun with WebAda/GNAT Ken Garlington
1996-08-14  0:00 ` Robert Dewar
1996-08-15  0:00 ` David Weller
1996-08-16  0:00   ` Ken Garlington
1996-08-16  0:00   ` Robert Dewar
1996-08-17  0:00     ` Ken Garlington
1996-08-17  0:00       ` Robert Dewar
1996-08-18  0:00         ` Doug Smith
1996-08-18  0:00           ` Robert Dewar
1996-08-19  0:00             ` Ken Garlington
1996-08-19  0:00               ` Robert Dewar
1996-08-20  0:00               ` Doug Smith
1996-08-21  0:00                 ` Ken Garlington
1996-08-18  0:00   ` Ronald Cole
1996-08-18  0:00     ` Robert Dewar [this message]
1996-08-19  0:00       ` Doug Smith
1996-08-24  0:00         ` Robert Dewar
1996-08-20  0:00   ` Ronald Cole
1996-08-22  0:00     ` Robert Dewar
1996-08-23  0:00     ` Richard A. O'Keefe
1996-08-24  0:00       ` Robert Dewar
replies disabled

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