comp.lang.ada
 help / color / mirror / Atom feed
From: Gautier write-only <gautier_niouzes@hotmail.com>
Subject: Re: Switching to a more recent compiler.
Date: Mon, 2 Apr 2012 17:56:06 -0700 (PDT)
Date: 2012-04-02T17:56:06-07:00	[thread overview]
Message-ID: <5b9ada16-1174-4a73-9117-9a16e7de806a@z38g2000vbu.googlegroups.com> (raw)
In-Reply-To: 22596876.3.1333059140828.JavaMail.geo-discussion-forums@vbxo19

On 30 mar, 00:12, austin.oby...@hotmail.com wrote:

> What I need to know from some young blood in the know is this, “will my stuff run straight off in a revised compiler like say Ada-2005 without some 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=1
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/



  parent reply	other threads:[~2012-04-03  0:56 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-29 22:12 Switching to a more recent compiler austin.obyrne
2012-03-29 22:30 ` Shark8
2012-03-29 22:51   ` Adam Beneschan
2012-03-29 23:07 ` Adam Beneschan
2012-03-30 13:26 ` austin.obyrne
2012-03-30 13:29 ` austin.obyrne
2012-04-03  0:56 ` Gautier write-only [this message]
2012-04-03  8:01   ` Simon Wright
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox