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-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,b847a4bf21e6829a X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-10-14 08:28:34 PST Path: archiver1.google.com!news2.google.com!news.maxwell.syr.edu!sn-xit-03!sn-xit-06!sn-post-01!supernews.com!corp.supernews.com!not-for-mail From: Andrew Newsgroups: comp.lang.ada Subject: Re: windows ada compiler error Date: Tue, 14 Oct 2003 10:29:11 -0500 Organization: Posted via Supernews, http://www.supernews.com Message-ID: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 X-Accept-Language: en-us, en MIME-Version: 1.0 References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: abuse@supernews.com Xref: archiver1.google.com comp.lang.ada:821 Date: 2003-10-14T10:29:11-05:00 List-Id: tmoran@acm.org wrote: >>red hat 9.0 linux computer it runs just fine.. but if I try to compile >>it on a windows xp computer I get the following error. > > I think you mean it compiles fine, but it doesn't execute fine. > > >>raised ADA.IO_EXCEPTION.NAME_ERROR : s-fileio.adb:869 > > You might look at file s-fileio.adb, line 869, and see what it's > trying to do. Better yet, use the Gnat facilities for printing a > walkback so it will show what line of your program caused the problem. > I used a compiler that prints walkbacks of user, not library, code > and got: > > ** Unhandled ADA.IO_EXCEPTIONS.NAME_ERROR > File not found on open - Map > On Line Number 159 In MAZECREATE > > You probably want a Create, not an Open. > > Your prof or TA should be helping you out. thanks for the tip .. I'll look into it as for a prof *L* I've been out of college for a few years now, and decided to try programming in Ada and a lot of what I used to know I've forgotten. Although it is very much like riding a bike.. once you learn, and quite riding for a few years you can never forget all the ways to fall off of bike.