comp.lang.ada
 help / color / mirror / Atom feed
* "use" after "limited with" (GNAT bug?)
@ 2014-08-14 18:08 Victor Porton
  2014-08-14 18:37 ` Adam Beneschan
  0 siblings, 1 reply; 4+ messages in thread
From: Victor Porton @ 2014-08-14 18:08 UTC (permalink / 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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-08-15  0:52 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-08-14 18:08 "use" after "limited with" (GNAT bug?) Victor Porton
2014-08-14 18:37 ` Adam Beneschan
2014-08-14 18:41   ` Victor Porton
2014-08-15  0:52     ` Shark8

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