comp.lang.ada
 help / color / mirror / Atom feed
From: Tim Rowe <spamtrap@tgrowe.plus.net>
Subject: Re: SPARK Examiner -- visibility of Ada.Strings.Unbounded (and probably lots of other packages)
Date: Thu, 26 Mar 2009 19:13:50 +0000
Date: 2009-03-26T19:13:50+00:00	[thread overview]
Message-ID: <KfadnR5dBtNhTlbUnZ2dnUVZ8gqWnZ2d@posted.plusnet> (raw)
In-Reply-To: <YNydnQRMHdSLK1bUnZ2dnUVZ8oednZ2d@posted.plusnet>

Ok, I'm still not getting importing to work.

I have a package specification Foo.ads, which pure SPARK -- Examiner is 
happy with it.

I have a package specification Bar.ads, in the same directory, which begins:

with Foo;
--# inherit Foo;

(Which looks to me very like the example on p59 of the Spark95 manual 
that comes with the evaluation version of the examiner), but Examiner 
complains:
Line
    1  with Foo;
            ^1
--- (  1)  Warning           :  1: The identifier Foo is either 
undeclared or not
            visible at this point.

    2  --# inherit Foo;
                   ^2
*** (  2)  Semantic Error    :  1: The identifier Foo is either 
undeclared or not
            visible at this point.

I'm still missing something obvious, aren't I?



  reply	other threads:[~2009-03-26 19:13 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-26 14:50 SPARK Examiner -- visibility of Ada.Strings.Unbounded (and probably lots of other packages) Tim Rowe
2009-03-26 15:13 ` Ludovic Brenta
2009-03-26 15:18   ` Georg Bauhaus
2009-03-26 15:35     ` roderick.chapman
2009-03-26 17:06       ` Tim Rowe
2009-03-26 19:13         ` Tim Rowe [this message]
2009-03-27  8:27           ` JP Thornley
2009-03-27  8:34             ` roderick.chapman
2009-03-27 16:03               ` Tim Rowe
2009-03-26 15:40     ` roderick.chapman
2009-03-26 16:15   ` Tim Rowe
2009-03-26 16:26     ` roderick.chapman
2009-03-26 16:30     ` JP Thornley
2009-03-26 16:51     ` roderick.chapman
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox