From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=0.2 required=5.0 tests=BAYES_00,INVALID_MSGID, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,12283be683f6446b X-Google-Attributes: gid103376,public From: kilgallen@eisner.decus.org (Larry Kilgallen) Subject: Re: Elaborate compile-time error messages (was: GNAT Stream Read ...) Date: 1999/01/07 Message-ID: <1999Jan7.081644.1@eisner>#1/1 X-Deja-AN: 429789560 X-Nntp-Posting-Host: eisner.decus.org References: <76tsgd$s0o1@svlss.lmms.lmco.com> <76uv4j$njr$1@nnrp1.dejanews.com> <1999Jan6.072356.1@eisner> <771agj$rmc$1@nnrp1.dejanews.com> X-Trace: news.decus.org 915715013 16432 KILGALLEN [192.67.173.2] Organization: LJK Software Reply-To: Kilgallen@eisner.decus.org.nospam Newsgroups: comp.lang.ada Date: 1999-01-07T00:00:00+00:00 List-Id: In article <771agj$rmc$1@nnrp1.dejanews.com>, dewar@gnat.com writes: > In article <1999Jan6.072356.1@eisner>, > Kilgallen@eisner.decus.org.nospam wrote: >> In article <76uv4j$njr$1@nnrp1.dejanews.com>, > dewar@gnat.com writes: >> >> That certainly is a high quality error message. I am >> curious as to why it is not the default. Is there some >> set of programmers who get really mad at having the >> compiler be smarter than they are about the >> nature of a problem. > > First, to be clear, the *error messages* are exactly the > same in default mode, and the error messages give column > numbers. The difference is in printing out the source line, > and flagging the column of the error. Most programmers do > NOT want this as the default, and note in particular that > when you are using an editor that is integrated with the > compiler, e.g. EMACS, the verbosity of -gnatv just gets in > the way and is unhelpful. Saying that the source quotation is not part of the error message seems a bit pedantic, perhaps due to specialized meanings within the ACT shop. At any rate, the idea that GNAT defaults to presuming a tightly coupled editor makes a lot of sense, as that is the environment recommended to those who have no reason to choose otherwise. Larry Kilgallen