On Sun, Aug 17, 2014 at 09:05:51PM +0200, Eugen Wintersberger wrote:
> According to 
> http://en.wikibooks.org/wiki/Ada_Programming/Installing
> gnat-4.6 should provide full support for Ada 2012.

As far as I remember, -gnat12 support was not complete in 4.6.

> However, things like 
> for e in vector loop
>   e := ....;
> end loop;
> does not work with gnat-4.6 on Jessie.

Maybe you are confusing two constructs.

with Ada.Text_IO; use Ada.Text_IO;
procedure Tmp is
   S : constant String := "abc";
begin
   for I in S'Range loop                --  Ada 83
      Put (S (I));
   end loop;
   New_Line;
   for C of S loop                      --  Ada 2012
      Put (C);
   end loop;
   New_Line;
end Tmp;


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: https://lists.debian.org/20140817195952.GA12230@pegase

Reply via email to