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=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,e507e3d80b7abf1e X-Google-Attributes: gid103376,public From: ok@goanna.cs.rmit.edu.au (Richard A. O'Keefe) Subject: Re: Fun with WebAda/GNAT Date: 1996/08/23 Message-ID: <4vjtt0$700@goanna.cs.rmit.edu.au>#1/1 X-Deja-AN: 175912054 references: <32120233.484C@lmtas.lmco.com> <4uv6bs$ffd@dfw.dfw.net> organization: Comp Sci, RMIT, Melbourne, Australia nntp-posting-user: ok newsgroups: comp.lang.ada Date: 1996-08-23T00:00:00+00:00 List-Id: Ronald Cole writes: >dewar@cs.nyu.edu (Robert Dewar) writes: >> 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. >If you're willing to toss out clarity and exactness in favor of >aesthetic pleasantness, then so be it. It's your compiler and your >error messages... Surely there is a compromise possible? It was my understanding that Gnat already by default buffers error messages. Now, *path* names may be long, but that's mainly because they include a directory prefix as well as a file name. So, compress! Instead of a-long-dir/sub-dir/foo/uck.adb:27: ... a-long-dir/sub-dir/foo/ick.adb:19: ... a-long-dir/sub-dir/bar/zoo.adb:10: ... a-long-dir/sub-dir/bar/goo.adb:99: ... generate #d1=a-long-dir/sub-dir #d2=$d1/foo $d2/uck.adb:27: ... $d2/ick.adb:19: ... #d3=$d1/bar $d3/zoo.adb:10: ... $d3/goo.adb:99: ... This can be automatically generated from a full-form error list. A full-form error list can be automatically generated from it. It combines the merits of brevity AND exactness. For what it's worth, when students have a problem, it is often useful to be able to see from their transcript whether the problem was in one of their own files or whether it was something from the library path. -- Australian citizen since 14 August 1996. *Now* I can vote the xxxs out! Richard A. O'Keefe; http://www.cs.rmit.edu.au/~ok; RMIT Comp.Sci.