by Ludovic Brenta <ludovic@[EMAIL PROTECTED]
>
Apr 25, 2008 at 02:35 AM
S=E9bastien 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@[EMAIL PROTECTED]
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 sup****ts 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.