From: anon@anon.org (anon)
Subject: Re: File rename in Ada95
Date: Fri, 31 Oct 2008 00:11:14 GMT
Date: 2008-10-31T00:11:14+00:00 [thread overview]
Message-ID: <C2sOk.102889$Mh5.26842@bgtnsc04-news.ops.worldnet.att.net> (raw)
In-Reply-To: wccy706xa3b.fsf@shell01.TheWorld.com
In <wccy706xa3b.fsf@shell01.TheWorld.com>, Robert A Duff <bobduff@shell01.TheWorld.com> writes:
>
Your version will cause errors.
The first statement in Ada.Directories for GNAT Ada 2005 specs
(2005-2007, did not check 2008 version) is:
pragma Ada_05;
which limits the package usage to Ada 2005 specs only. If one trys to
uses the package by set mode to 95 by using "-gnat95" the pragma will
generate errors.
>
>Maciej Sobczak <see.my.homepage@gmail.com> writes:
>
>> What is the recommended way to rename a file in Ada95?
>> Ada.Directories is not invented yet and GNAT.Directory_Operations is
>> not smart enough.
>> Target platform: Linux.
>
>In GNAT, you can use Ada.Directories in Ada 95 mode.
>
>- Bob
next prev parent reply other threads:[~2008-10-31 0:11 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-10-30 14:56 File rename in Ada95 Maciej Sobczak
2008-10-30 16:37 ` Adam Beneschan
2008-10-30 17:14 ` anon
2008-10-30 17:32 ` Robert A Duff
2008-10-31 0:11 ` anon [this message]
2008-10-31 13:44 ` Robert A Duff
2008-10-31 17:24 ` anon
2008-11-01 8:39 ` Ludovic Brenta
2008-11-02 9:39 ` anon
2008-11-02 20:35 ` Ludovic Brenta
2008-11-03 4:50 ` anon
2008-11-01 22:04 ` sjw
2008-10-31 20:00 ` Thomas Locke
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox