Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Ada > Re: Missing Sta...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 2 of 2 Topic 5667 of 5830
Post > Topic >>

Re: Missing Standard lib in gnat

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.
 




 2 Posts in Topic:
issing Standard lib in gnat
=?ISO-8859-1?Q?S=E9bastie  2008-04-25 08:49:10 
Re: Missing Standard lib in gnat
Ludovic Brenta <ludovi  2008-04-25 02:35:58 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Fri Jul 25 14:43:05 CDT 2008.