comp.lang.ada
 help / color / mirror / Atom feed
* issing Standard lib in gnat
@ 2008-04-25  8:49 Sébastien
  2008-04-25  9:35 ` Missing " Ludovic Brenta
  0 siblings, 1 reply; 2+ messages in thread
From: Sébastien @ 2008-04-25  8:49 UTC (permalink / raw)


Hi,

I'm using gnat-4.1 and I found out some standard libs are missing:

try the following sample test:

with Ada.Calendar.Formatting;

procedure test is
begin
         Ada.Text_IO.Put_Line("test");
end test;

And get at compile time:
mscm@routeur:~/gnat/aws$ gcc -gnat05 -c test.adb
test.adb:1:06: "ada.calendar.formatting" is not a predefined library unit

So is there a lot of missing stuff in gnat?

Sebastien



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

* Re: Missing Standard lib in gnat
  2008-04-25  8:49 issing Standard lib in gnat Sébastien
@ 2008-04-25  9:35 ` Ludovic Brenta
  0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Brenta @ 2008-04-25  9:35 UTC (permalink / raw)


Sébastien wrote:
> Hi,
>
> I'm using gnat-4.1 and I found out some standard libs are missing:
>
> try the following sample test:
>
> with Ada.Calendar.Formatting;
>
> procedure test is
> begin
>          Ada.Text_IO.Put_Line("test");
> end test;
>
> And get at compile time:
> mscm@routeur:~/gnat/aws$ gcc -gnat05 -c test.adb
> test.adb:1:06: "ada.calendar.formatting" is not a predefined library unit
>
> So is there a lot of missing stuff in gnat?

gnat-4.1 supports all of Ada 95 but only a few Ada 2005 features. More
features were added in gnat-4,2 and still more in gnat-4.3.
Ada.Calendar.Formatting is one of the units that only appeared in
gnat-4.3. In the mean time, GNAT.Calendar.Time_IO might provide what
you need.

--
Ludovic Brenta.



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

end of thread, other threads:[~2008-04-25  9:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-04-25  8:49 issing Standard lib in gnat Sébastien
2008-04-25  9:35 ` Missing " Ludovic Brenta

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