comp.lang.ada
 help / color / mirror / Atom feed
From: Victor Porton <porton@narod.ru>
Subject: "use" after "limited with" (GNAT bug?)
Date: Thu, 14 Aug 2014 21:08:47 +0300
Date: 2014-08-14T21:08:47+03:00	[thread overview]
Message-ID: <lsitvc$9l8$1@speranza.aioe.org> (raw)

-- p1.ads
package P1 is

end P1;

-- p2.ads
limited with P1;
use P1;

package P2 is

end P2;

$ gnatmake -q -c -gnatc -u -P/home/porton/t/p/default.gpr p2.ads
p2.ads:2:05: "P1" is undefined
gnatmake: "/home/porton/t/p/p2.ads" compilation error

Why "use" does not work? Is it a bug of gnatgcc (Debian 4.9.1-4) 4.9.1?

-- 
Victor Porton - http://portonvictor.org


             reply	other threads:[~2014-08-14 18:08 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-14 18:08 Victor Porton [this message]
2014-08-14 18:37 ` "use" after "limited with" (GNAT bug?) Adam Beneschan
2014-08-14 18:41   ` Victor Porton
2014-08-15  0:52     ` Shark8
replies disabled

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