From: Simon Wright <simon@pogner.demon.co.uk>
Subject: Re: Unreferenced lock variables
Date: 1999/04/12
Date: 1999-04-12T00:00:00+00:00 [thread overview]
Message-ID: <x7vk8viqsla.fsf@pogner.moho> (raw)
In-Reply-To: 7ero31$n46$1@nnrp1.dejanews.com
Robert Dewar <robert_dewar@my-dejanews.com> writes:
> In article <x7v4smnszvu.fsf@pogner.moho>,
> Simon Wright <simon@pogner.demon.co.uk> wrote:
> > is there a better way [of avoiding the warning]
>
> why not
>
> pragma Warnings (Off, Lock);
Because I'm concerned that aggressive optimization (-O3) will
eliminate the lock variable altogether.
The last time this happened was
Dummy : Foo := Some_Function_With_Side_Effects;
and -O3 ended up without the side effects.
next prev parent reply other threads:[~1999-04-12 0:00 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-04-11 0:00 Unreferenced lock variables Simon Wright
1999-04-11 0:00 ` Tom Moran
1999-04-12 0:00 ` Robert Dewar
1999-04-12 0:00 ` Simon Wright [this message]
1999-04-12 0:00 ` Robert Dewar
1999-04-12 0:00 ` Simon Wright
1999-04-14 0:00 ` Robert Dewar
1999-04-12 0:00 ` Jean-Pierre Rosen
1999-04-12 0:00 ` Simon Wright
1999-04-13 0:00 ` Robert Dewar
1999-04-13 0:00 ` Robert Dewar
1999-04-13 0:00 ` Tom Moran
1999-04-15 0:00 ` Robert Dewar
1999-04-15 0:00 ` Tom Moran
1999-04-16 0:00 ` Robert Dewar
1999-04-16 0:00 ` Tom Moran
1999-04-16 0:00 ` Tucker Taft
1999-04-16 0:00 ` Tom Moran
1999-04-16 0:00 ` Tom Moran
1999-04-19 0:00 ` Tucker Taft
1999-04-20 0:00 ` Tom Moran
1999-04-20 0:00 ` Robert Dewar
1999-04-20 0:00 ` Tom Moran
1999-04-21 0:00 ` Robert Dewar
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox