comp.lang.ada
 help / color / mirror / Atom feed
From: Matthew Heaney <matthew_heaney@acm.org>
Subject: Re: Elaboration Problem
Date: 1999/06/09
Date: 1999-06-09T00:00:00+00:00	[thread overview]
Message-ID: <m3btepb9u7.fsf@mheaney.ni.net> (raw)
In-Reply-To: tUu73.115$S7.66699@WReNphoon3

On 09 Jun 1999 06:26, cdecker@snet.net (Decker, Christian R) wrote:

> I have a constant being declared inside a generic where the value being used
> for the constant is obtained from
> a lookup table.  Later on in a subprogram the constant value is used rather
> than the lookuptable and to my suprise
> the constant is not correct.
> 
> if i do a comparison between the constant and the lookup table value in the
> same subprogram they are not equal.
> 
> Has anyone ever seen behavior like this?
> 
> Is this an elaboration problem where  the constant is being assigned a value
> before the Ada package that the
> lookup table resides in elaborates?
> 
> any suggestions?


Post some elided code, and we will try to diagnose the problem.  Without
actual code, it's difficult to understand what's going on.

Also, please state what language you're using (83 vs 95), and which
compiler.







  reply	other threads:[~1999-06-09  0:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-06-09  0:00 Elaboration Problem Decker, Christian R
1999-06-09  0:00 ` Matthew Heaney [this message]
1999-06-15  0:00 ` Stephen Leake
1999-06-25  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