comp.lang.ada
 help / color / mirror / Atom feed
From: dewar@gnat.com
Subject: Re: Getting GNAT to issue ARM error messages
Date: 1999/02/15
Date: 1999-02-15T00:00:00+00:00	[thread overview]
Message-ID: <7a86hj$ka1$1@nnrp1.dejanews.com> (raw)
In-Reply-To: 7a7aat$mse$1@plug.news.pipex.net

In article <7a7aat$mse$1@plug.news.pipex.net>,
  "Nick Roberts" <Nick.Roberts@dial.pipex.com> wrote:

> Well I (personally) have to admit to being stumped by
> this one, for the simple reason that I am not a GNAT user
> (yet)[I may become a GNAT user in the future, depending
> on various things]. I can only report that I myself have
> always appreciated those compilers which gave out
> references to the approriate sections in their respective
> manuals. However, I have to admit that this is not
> entirely a fair comparison, since the RM95 is not any
> compiler's manual (or at least shouldn't be)

It sure is fascinating for you to argue energetically
that adding RM references to messages you
have never seen must be a good idea because adding
completely different kinds of references to messages from
a completely different compiler was helpful to you :-)

Actually I nearly always find that people arguing that RM
references should be added are arguing from a general sense
of what makes common sense to them, rather than actual
difficulty in interpreting RM references. The one case I
have seen of people arguing for an RM references is experts
who are sure they know the language better than GNAT :-)
They want an RM reference not to explain the error, but
to convince themselves that GNAT is right!

So let me state once again the philosophy of GNAT. It is
to provide RM references if and only if they seem useful
to typical users of the compiler.

It is hard to believe that anyone could disagree with this
general principle. I can imagine that people might disagree
with the judgment in a particular instance, which is why
I encourage people to send us examples (to report@gnat.com)
where they think an error message is not clear, and to
suggest improvements -- people do that all the time,
although I must say, no one ever suggested adding a
specific RM reference!

So Nick, wait till you have some experience with the
subject under discussion. Remember that GNAT has put a
HUGE amount of effort into generating clear error messages,
and handles many error situations far better than other
compilers (e.g. proper dealing with the confusion of IS
and semicolon in subprogram specs and bodies).

You need to use GNAT before you are in a position to
make comments on what might or might not make its error
messages clearer I think!

Robert Dewar
Ada Core Technologies

-----------== Posted via Deja News, The Discussion Network ==----------
http://www.dejanews.com/       Search, Read, Discuss, or Start Your Own    




  parent reply	other threads:[~1999-02-15  0:00 UTC|newest]

Thread overview: 35+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-02-08  0:00 Getting GNAT to issue ARM error messages David Peterson
1999-02-09  0:00 ` robert_dewar
1999-02-10  0:00   ` David Peterson
1999-02-10  0:00     ` dewar
1999-02-10  0:00     ` Larry Kilgallen
1999-02-12  0:00       ` dewar
1999-02-12  0:00         ` Tucker Taft
1999-02-13  0:00           ` Nick Roberts
1999-02-13  0:00             ` bill
1999-02-14  0:00             ` robert_dewar
1999-02-14  0:00               ` Nick Roberts
1999-02-15  0:00                 ` Jerry van Dijk
1999-02-16  0:00                   ` dennison
1999-02-18  0:00                   ` Alexy V Khrabrov
1999-02-15  0:00                 ` dewar [this message]
1999-02-15  0:00                   ` Ehud Lamm
1999-02-16  0:00                     ` steve quinlan
1999-02-17  0:00                       ` Jean-Pierre Rosen
1999-02-18  0:00                         ` robert_dewar
1999-02-18  0:00                           ` Keith Thompson
1999-02-18  0:00                             ` David Brown
1999-02-18  0:00                             ` robert_dewar
1999-02-18  0:00                             ` dennison
1999-02-23  0:00                               ` Chris Morgan
1999-02-17  0:00                       ` Steve Whalen
1999-02-17  0:00                       ` Pascal Obry
1999-02-17  0:00                       ` dewar
1999-02-17  0:00                         ` steve quinlan
1999-02-18  0:00                           ` robert_dewar
1999-02-19  0:00                         ` Simon Wright
1999-02-14  0:00           ` robert_dewar
1999-02-10  0:00   ` Tom Moran
1999-04-20  0:00     ` Robert Dewar
1999-04-20  0:00       ` Ehud Lamm
1999-04-20  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