From: dweller@dfw.net (David Weller)
Subject: Re: Fun with WebAda/GNAT
Date: 1996/08/15
Date: 1996-08-15T00:00:00+00:00 [thread overview]
Message-ID: <4uv6bs$ffd@dfw.dfw.net> (raw)
In-Reply-To: 32120233.484C@lmtas.lmco.com
In article <32120233.484C@lmtas.lmco.com>,
Ken Garlington <garlingtonke@lmtas.lmco.com> wrote:
>I created a driver procedure for a package I wanted to test, and
>accidentally called the procedure's file "person_test.ads". I
>got a warning about the file name, so I copied the file to
>"person_test.adb" -- without deleting the .ads file. Here's the fun
>error I got:
> 1. with Person;
> 2. procedure Person_Test is
> |
> >>> file "person_test.ads" does not contain expected unit
> >>> expected unit "Person_Test"
> >>> found unit "Person_Test"
>
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.
--
Visit the Ada 95 Booch Components Homepage: www.ocsystems.com/booch
This is not your father's Ada -- lglwww.epfl.ch/Ada
next prev parent reply other threads:[~1996-08-15 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 [this message]
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
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