From: Stephen Leake <stephen_leake@stephe-leake.org>
Subject: Re: GNAT-2005
Date: Fri, 10 Nov 2006 08:37:07 -0500
Date: 2006-11-10T08:37:07-05:00 [thread overview]
Message-ID: <uveln7798.fsf@stephe-leake.org> (raw)
In-Reply-To: 1163141479.498169.10580@b28g2000cwb.googlegroups.com
"rashmi" <rashmi.thoras@gmail.com> writes:
> I have a problem with trying to understand GNAT's working for the
> following:
><snip spec>
> 3. I find that if I delete the first few lines that give specs for
> FUNC_ScBAVCK or FUNC_ScBAFCk, for which records are parameters, and
> then compile the package's body (.adb), GNAT does not report that
> functions are undefined. On the other hand, if I delete a specs line
> such as that for FUNC_BAVCPRd for which scalars are parameters, GNAT
> immediately reports "function FUNC_BAVCPRd undefined" when I compile
> the body.
Without seeing the body, it's impossible to say.
Most likely the bodies of the "scalar functions" are present in the
package body _before_ the places they are called.
--
-- Stephe
next prev parent reply other threads:[~2006-11-10 13:37 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-11-10 6:51 GNAT-2005 rashmi
2006-11-10 10:52 ` GNAT-2005 Georg Bauhaus
2006-11-10 13:37 ` Stephen Leake [this message]
2006-11-10 16:56 ` GNAT-2005 Adam Beneschan
2006-11-12 18:55 ` GNAT-2005 Martin Krischik
2006-11-13 20:35 ` GNAT-2005 Simon Wright
2006-11-13 22:12 ` GNAT-2005 Jean-Pierre Rosen
2006-11-13 22:25 ` GNAT-2005 Georg Bauhaus
2006-11-13 23:41 ` GNAT-2005 Björn Persson
2006-11-14 7:16 ` GNAT-2005 Pascal Obry
2006-11-15 22:57 ` GNAT-2005 Simon Wright
2006-11-10 15:13 ` GNAT-2005 Wilhelm Spickermann
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox