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,FREEMAIL_FROM autolearn=unavailable autolearn_force=no version=3.4.4 X-Received: by 10.182.230.168 with SMTP id sz8mr3879124obc.9.1386456590066; Sat, 07 Dec 2013 14:49:50 -0800 (PST) X-Received: by 10.182.104.39 with SMTP id gb7mr57obb.32.1386456589982; Sat, 07 Dec 2013 14:49:49 -0800 (PST) Path: border1.nntp.ams3.giganews.com!border1.nntp.ams2.giganews.com!border3.nntp.ams.giganews.com!nntp.giganews.com!news.osn.de!diablo2.news.osn.de!news.glorb.com!p15no10734097qaj.0!news-out.google.com!9ni3048qaf.0!nntp.google.com!p15no10734088qaj.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Sat, 7 Dec 2013 14:49:49 -0800 (PST) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=31.54.231.48; posting-account=pmkN8QoAAAAtIhXRUfydb0SCISnwaeyg NNTP-Posting-Host: 31.54.231.48 References: <1d445f04-b670-444f-9858-55da271fe17a@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: Re: Will Ada-95 Programs Written in MS Windows Run in MacOS and Linux Without Some Tweaking. From: Austin Obyrne Injection-Date: Sat, 07 Dec 2013 22:49:50 +0000 Content-Type: text/plain; charset=ISO-8859-1 X-Original-Bytes: 3165 Date: 2013-12-07T14:49:49-08:00 List-Id: On Saturday, December 7, 2013 5:18:06 PM UTC, Simon Wright wrote: > Austin Obyrne writes: > > > > > From what you have told me I think I should leave the dissemination of > > > the finished ciphers (currently to hand in Ada-95 only but required in > > > all the possible future versions of Ada) to experienced people who are > > > au fait with all the nuances of compilers that are available to day. > > > > The compilers I've tried with this are Ada2005 natively, and your > > programs also work with the -gnat12 (Ada 2012) switch. > > > > You might have tripped over new reserved words, but didn't, and since > > you haven't used access or tagged types or tasking I think you'd be > > pretty safe to upgrade your compiler. > > > > A couple of points: > > > > (a) when I encrypted > > > > Now is the time for all good men > > to come to the aid of the Party. > > ~ > > > > it decrypted as > > > > Now is the time for all good mento come to the aid of the Party.~ > > > > Is that meant to happen, or is there a problem with Windows line > > terminators (CR/LF) vs Unix (LF)? > > > > (b) when I decrypted Email_CipherTextFile_X.dat I got > > > > Execution terminated by unhandled exception > > Exception name: ADA.IO_EXCEPTIONS.DATA_ERROR > > > > and the exception was raised at line 683 of > > general_decryption_program_mark_2.adb. Hi Simon, "The compilers I've tried with this are Ada2005 natively, and your programs also work with the -gnat12 (Ada 2012) switch." This answers the general question will the software run in Macos ?. You have done me proud with your researches and I am hugely grateful. Many thanks for everything. Austin