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,1d52a75fd633fefc X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-02-22 01:12:06 PST From: "Martin Dowie" Newsgroups: comp.lang.ada References: <3A844255.24A4DBA3@lmco.com> <968vnc$5a2$1@nnrp1.deja.com> <3A8C6843.B46006D6@lmco.com> <3A93C0DC.37A37955@baesystems.com> <3a93e3b9$1@pull.gecm.com> <3A93E9A9.21F2F44F@baesystems.com> Subject: Re: Ada to C++ translator? Date: Thu, 22 Feb 2001 09:09:04 -0000 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2314.1300 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 NNTP-Posting-Host: superted.dsge.edinbr.gmav.gecm.com Message-ID: <3a94d54c$1@pull.gecm.com> X-Trace: 22 Feb 2001 09:01:00 GMT, superted.dsge.edinbr.gmav.gecm.com Path: supernews.google.com!sn-xit-03!supernews.com!news-out.usenetserver.com!news-out.usenetserver.com!news.tele.dk!195.238.2.15!skynet.be!fr.clara.net!heighliner.fr.clara.net!grolier!btnet-peer0!btnet-feed5!btnet!newreader.ukcore.bt.net!pull.gecm.com!superted.dsge.edinbr.gmav.gecm.com Xref: supernews.google.com comp.lang.ada:5419 Date: 2001-02-22T09:09:04+00:00 List-Id: I suspect for the mainstream of Windows C++ suites (e.g. Visual C++, Borland), the guide is dated and you could probably delete large chunks of this guide but only if you knew that was your entire porting range. But mozilla's porting range is huge and a lot of the rules seem to apply because of HP and SCO compilers - which I had expected to be fairly common targets... This sort of thing isn't limited to C++ though, just now my porting range includes Green Hills AdaMULTI v2 for PowerPC, which doesn't cope with 64-bit integers as well as GNAT does. Can't wait for v3 to drop on my doorstep!.. Also, some compilers don't produce very efficient (in size) code for package body X is ... Y : Y_Type := (others => (...)); ... end X; and it is usually necessary to change this to package body X is ... Y : Y_Type; ... procedure Initialise is begin for Index in Y'Range loop Y(Index) := (...); end loop; end Initialise; end X; one could say they were 'irrational' about it ;-) anyone else got any porting tips - maybe we could start a FAQ for these sort of things?.. Bob Jacobs wrote in message news:3A93E9A9.21F2F44F@baesystems.com... > > Martin Dowie wrote: > > > > That's what I thought too when I first went to the page as it has "27 March > > 1998" at the top. > > Look down at the very bottom though and you will descover it is still being > > maintained and the > > last change was on "2-01-2001" i.e. all rules listed _still_ apply! > > [ Martin and I discussed this recently in another forum :-) ] > > Granted that the page has been updated but I still assert that the > information contained within it is dated. The revision history suggests > that it has simply been added to, rather than revised, though there is > little to go on. > > Bob Jacobs