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: dewar@cs.nyu.edu (Robert Dewar) Subject: Re: Fun with WebAda/GNAT Date: 1996/08/16 Message-ID: #1/1 X-Deja-AN: 175038465 references: <32120233.484C@lmtas.lmco.com> <4uv6bs$ffd@dfw.dfw.net> organization: Courant Institute of Mathematical Sciences newsgroups: comp.lang.ada Date: 1996-08-16T00:00:00+00:00 List-Id: "But wait! There's more! We noticed a similar problem in the project we were doing. It was clear there was a lurking .ads file around, but it wasn't in the directory. We were a little confused until we realized that it was finding it in one of the directories in the ADA_INCLUDE_PATH ! This isn't a slam against GNAT -- it's just a wierd error message (which they always strive to make more understandable). I had intended to send this in as a "please fix?" request. I'm sure RObert will comment on this, but I"m going to cc report@gnat.com for this post." Ken's experience was certainly a weirdness, but this just seems a matter of not knowing exactly what is going on. Of COURSE the path is searched for the spec, that's what it is for! For example, you could have multiple bodies for the same spec, and control which body you got by using appropriate paths. There is nothing to fix that I can see! If you find that the use of paths is confusing, stick to the use of -I switches to explicitly say where to look for with'ed files.