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=-0.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no 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: g2news1.google.com!news2.google.com!news.glorb.com!wn13feed!worldnet.att.net!bgtnsc05-news.ops.worldnet.att.net.POSTED!53ab2750!not-for-mail Newsgroups: comp.lang.ada From: anon@anon.org (anon) Subject: Re: File rename in Ada95 Reply-To: no to spamers (No@email.given.org) References: X-Newsreader: IBM NewsReader/2 2.0 Message-ID: Date: Fri, 31 Oct 2008 17:24:50 GMT NNTP-Posting-Host: 12.64.72.61 X-Complaints-To: abuse@worldnet.att.net X-Trace: bgtnsc05-news.ops.worldnet.att.net 1225473890 12.64.72.61 (Fri, 31 Oct 2008 17:24:50 GMT) NNTP-Posting-Date: Fri, 31 Oct 2008 17:24:50 GMT Organization: AT&T Worldnet Xref: g2news1.google.com comp.lang.ada:2541 Date: 2008-10-31T17:24:50+00:00 List-Id: In , Robert A Duff writes: First, when someone states Ada95 they mean pre Ada 2005 version. And all pre Ada 2005 version do not have "Ada.Directories". Also if you add that package from Ada 2005 spec then you are defeating the concept of using "-gnat95". And that why Adacore added the "pragma Ada_05" in the first place. And if your version does not have it then the maintainer of your version do not care to maintain the RM of Ada for those who still want to use Ada 95 specs. Which means it should not be use except may be in a classroom for non-standard compilers. Plus recheck your copy, it depend upon where you get your copy of GNAT, if it has been modified. The version I was speaking of was downloaded from Adacore web site in Aug 2008. >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