comp.lang.ada
 help / color / mirror / Atom feed
From: "Nasser Abbasi" <nma@12000.org>
Subject: Re: GNAT quirk
Date: Fri, 10 Aug 2007 19:36:48 -0700
Date: 2007-08-10T19:36:48-07:00	[thread overview]
Message-ID: <5h9vi.59414$vS1.4573@newsfe16.phx> (raw)
In-Reply-To: 1186143806.109608.153890@m37g2000prh.googlegroups.com


"Jerry" <lanceboyle@qwest.net> wrote in message 
news:1186143806.109608.153890@m37g2000prh.googlegroups.com...
> procedure bad is
>    a : Long_Float := 3.0;
> begin
>    for i in 1 .. Integer(Long_Float'Truncation(a)) loop
>        null;
>    end loop;
> end bad;
>
> bad.adb:4:37: unimplemented attribute
> gnatmake: "bad.adb" compilation error
>
>

fyi, this compiles fine in gnat 2007.

Nasser 





      parent reply	other threads:[~2007-08-11  2:36 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-08-03 12:23 GNAT quirk Jerry
2007-08-03 20:05 ` Ludovic Brenta
2007-08-03 21:25   ` Jerry
2007-08-03 23:27 ` Compiles OK? " anon
2007-08-11  2:36 ` Nasser Abbasi [this message]
replies disabled

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