comp.lang.ada
 help / color / mirror / Atom feed
From: Robert A Duff <bobduff@shell01.TheWorld.com>
Subject: Re: File rename in Ada95
Date: Fri, 31 Oct 2008 09:44:25 -0400
Date: 2008-10-31T09:44:25-04:00	[thread overview]
Message-ID: <wccabckhoau.fsf@shell01.TheWorld.com> (raw)
In-Reply-To: C2sOk.102889$Mh5.26842@bgtnsc04-news.ops.worldnet.att.net

anon@anon.org (anon) writes:

> 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;

This pragma has been removed from Ada.Directories in the latest version
(about a year and a half ago).

> 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.

If you say "with Ada.Directories;" in -gnat95 mode,
you will get a warning, not an error.  This is independent
of the above-mentioned pragma.

- Bob



  reply	other threads:[~2008-10-31 13:44 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
2008-10-31 13:44     ` Robert A Duff [this message]
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