comp.lang.ada
 help / color / mirror / Atom feed
From: Ludovic Brenta <ludovic@ludovic-brenta.org>
Subject: Re: Missing Standard lib in gnat
Date: Fri, 25 Apr 2008 02:35:58 -0700 (PDT)
Date: 2008-04-25T02:35:58-07:00	[thread overview]
Message-ID: <434ea2e0-0412-4a12-96f8-f0c011bb56b9@c58g2000hsc.googlegroups.com> (raw)
In-Reply-To: fus5l6$kni$2@registered.motzarella.org

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.



      reply	other threads:[~2008-04-25  9:35 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-25  8:49 issing Standard lib in gnat Sébastien
2008-04-25  9:35 ` Ludovic Brenta [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