Package: gnat
Version: 4.4+1.1
Followup-For: Bug #655558

Hello.
--
Gprbuild normal output is just a synopsis, set "-v" to
display all info, and "-vP2" for the content of the mysterious temp
files.

$ gprbuild -m -XLIBRARY_TYPE=static -Pgnatcoll_build -v
...
Creating temp file "src/obj/gnatcoll/static/GNAT-TEMP-000002.TMP"
Creating temp mapping file "src/obj/gnatcoll/static/GNAT-TEMP-000003.TMP"
/usr/bin/gcc-4.4 -c -x ada -gnatA 
-gnatec=src/obj/gnatcoll/static/GNAT-TEMP-000002.TMP 
-gnatem=src/obj/gnatcoll/static/GNAT-TEMP-000003.TMP src/gnatcoll-io-native.adb
gnatcoll-io-native.adb:703:41: missing "with GNATCOLL.Path;"
--
The following snippet triggers the bug with "gnatmake p1-p2.adb". It
affects 4.4.6-6 but I cannot reproduce it with 4.6.3-1.
--
package P1 is
end P1;

private with Ada.Numerics;
package P1.P2 is
   procedure Do_Nothing_2;
end P1.P2;

with Ada.Numerics;
package body P1.P2 is
   package P3 is
      procedure Do_Nothing_3;
   end P3;
   package body P3 is separate;
   procedure Do_Nothing_2 is
   begin
      null;
   end Do_Nothing_2;
   Pi_2 : Float := Ada.Numerics.Pi;
end P1.P2;

with Ada;
separate (P1.P2)
package body P3 is
   procedure Do_Nothing_3 is
   begin
      null;
   end Do_Nothing_3;
end P3;



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to