From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,b0f7b966bf5d7b74 X-Google-Attributes: gid103376,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news2.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx02.iad.newshosting.com!newshosting.com!198.186.194.249.MISMATCH!news-out.readnews.com!transit3.readnews.com!panix!newsfeed-00.mathworks.com!nntp.TheWorld.com!not-for-mail From: Robert A Duff Newsgroups: comp.lang.ada Subject: Re: File rename in Ada95 Date: Fri, 31 Oct 2008 09:44:25 -0400 Organization: The World Public Access UNIX, Brookline, MA Message-ID: References: NNTP-Posting-Host: shell01.theworld.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: pcls6.std.com 1225460667 1856 192.74.137.71 (31 Oct 2008 13:44:27 GMT) X-Complaints-To: abuse@TheWorld.com NNTP-Posting-Date: Fri, 31 Oct 2008 13:44:27 +0000 (UTC) User-Agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.3 (irix) Cancel-Lock: sha1:Lk1Jl+ujduFaxygTvr5vrI029G8= Xref: g2news2.google.com comp.lang.ada:8267 Date: 2008-10-31T09:44:25-04:00 List-Id: anon@anon.org (anon) writes: > In , Robert A Duff 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