comp.lang.ada
 help / color / mirror / Atom feed
From: Wilhelm Spickermann <quast.20.unbenutzbar@spamgourmet.com>
Subject: Re: Pragma Unreferenced in GNAT GPL 2008
Date: Wed, 09 Jul 2008 08:06:02 +0200
Date: 2008-07-09T08:06:02+02:00	[thread overview]
Message-ID: <6dj2qbF2n59sU1@mid.individual.net> (raw)
In-Reply-To: 6dgmokF2fhakU2@mid.individual.net

Alex R. Mosteo wrote:

> And I'm being warned that a variable is not referenced when it
> indeed is (and it's not a very cornerish case, although it is
> within a quite large hierarchy of objects). That seems the
> contrary, but maybe something has changed in that area of the
> compiler.
> 

I didn't check it again, but IIRC there have been some changes in
that area:

- Warnings about variables which are accessed only by
initializing or finalizing have been changed. (Additional
compiler options?)

- Variables may be called unused, even if only their contents is
potentially unused. (potentially overwriting the contents of an
in out parameter before using the contents)

(But I don't have the list of changes within reach.)
Wilhelm




      reply	other threads:[~2008-07-09  6:06 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-05  5:26 Pragma Unreferenced in GNAT GPL 2008 Wilhelm Spickermann
2008-07-05  7:57 ` Dmitry A. Kazakov
2008-07-05 12:26   ` Wilhelm Spickermann
2008-07-05 12:51 ` Simon Wright
2008-07-09  6:37   ` Wilhelm Spickermann
2008-07-06  0:38 ` anon
2008-07-09  6:29   ` Wilhelm Spickermann
2008-07-08  8:28 ` Alex R. Mosteo
2008-07-09  6:06   ` Wilhelm Spickermann [this message]
replies disabled

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