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.0 required=5.0 tests=BAYES_00,FORGED_HOTMAIL_RCVD2, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,f443c7f5e2728025 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,CP1252 Received: by 10.68.236.170 with SMTP id uv10mr7800417pbc.4.1333414567093; Mon, 02 Apr 2012 17:56:07 -0700 (PDT) Path: r9ni11888pbh.0!nntp.google.com!news2.google.com!postnews.google.com!z38g2000vbu.googlegroups.com!not-for-mail From: Gautier write-only Newsgroups: comp.lang.ada Subject: Re: Switching to a more recent compiler. Date: Mon, 2 Apr 2012 17:56:06 -0700 (PDT) Organization: http://groups.google.com Message-ID: <5b9ada16-1174-4a73-9117-9a16e7de806a@z38g2000vbu.googlegroups.com> References: <22596876.3.1333059140828.JavaMail.geo-discussion-forums@vbxo19> NNTP-Posting-Host: 83.78.111.69 Mime-Version: 1.0 X-Trace: posting.google.com 1333414566 8890 127.0.0.1 (3 Apr 2012 00:56:06 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Tue, 3 Apr 2012 00:56:06 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: z38g2000vbu.googlegroups.com; posting-host=83.78.111.69; posting-account=gRqrnQkAAAAC_02ynnhqGk1VRQlve6ZG User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; Linux i686) AppleWebKit/535.7 (KHTML, like Gecko) Chrome/16.0.912.77 Safari/535.7,gzip(gfe) Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Date: 2012-04-02T17:56:06-07:00 List-Id: On 30 mar, 00:12, austin.oby...@hotmail.com wrote: > What I need to know from some young blood in the know is this, =93will my= stuff run straight off in a revised compiler like say Ada-2005 without som= e editing. There is a very high probability it will, provided you don't use identifiers that have become keywords in Ada 2005: "interface", "overriding", "synchronized". You can continue programming Ada 95 with an Ada 2005 compiler. You will just benefit from the improvement of compile-time diagnostics. They have become very smart over time. So the main surprise that may arise by switching from GNAT 3.11 to a recent version of GNAT might be a number of new warnings about uninitialized variables, or about the wrong assumption that s'First=3D1 if s is a String parameter, or unused code or variables, or potentially infinite loops, etc. _________________________ Gautier's Ada programming http://sf.net/users/gdemont/