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=-2.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, MAILING_LIST_MULTI autolearn=unavailable autolearn_force=no version=3.4.4 X-Google-Thread: 103376,87dcbc853960d3bd X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news4.google.com!news.glorb.com!proxad.net!usenet-fr.net!enst.fr!melchior!cuivre.fr.eu.org!melchior.frmug.org!not-for-mail From: "Christoph Karl Walter Grein" Newsgroups: comp.lang.ada Subject: Re: Moving from Ada 83 to Ada 95 Date: Thu, 25 Nov 2004 08:44:50 +0100 Organization: http://freemail.web.de/ Message-ID: NNTP-Posting-Host: lovelace.ada-france.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Trace: melchior.cuivre.fr.eu.org 1101368738 31467 212.85.156.195 (25 Nov 2004 07:45:38 GMT) X-Complaints-To: usenet@melchior.cuivre.fr.eu.org NNTP-Posting-Date: Thu, 25 Nov 2004 07:45:38 +0000 (UTC) To: comp.lang.ada@ada-france.org Return-Path: Precedence: fm-user X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at ada-france.org X-BeenThere: comp.lang.ada@ada-france.org X-Mailman-Version: 2.1.5 List-Id: "Gateway to the comp.lang.ada Usenet newsgroup" List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Xref: g2news1.google.com comp.lang.ada:6450 Date: 2004-11-25T08:44:50+01:00 I've moved a 800kLOC program from Ada83 running on Motorola 68040 to Ada95 running on IRIX, different compiler vendors, in a few weeks. Mostly an easy job - getting it to compile and run was a few days. What took the rest of the time was to find causes of crashes and non-portable code. Problem areas: Original code used overlays (for A use at X) for low level hardware access. If you do such erroneous (in Ada83) things, take care that alignments match or else you will get segmentation error crashes. Unchecked_Conversion often had different sizes on Source and Target. This leads to non-portability and funny results. Additionally you have to be careful with alignment issues (RM 13.9(7)). Gnat however does the correct thing, even if alignments do not match. ________________________________________________________________ Verschicken Sie romantische, coole und witzige Bilder per SMS! Jetzt neu bei WEB.DE FreeMail: http://freemail.web.de/?mc=021193