From: "Yannick Duchêne (Hibou57)" <yannick_duchene@yahoo.fr>
Subject: Re: Child vs nested package : efficiency matter
Date: Tue, 01 Jun 2010 21:09:37 +0200
Date: 2010-06-01T21:09:37+02:00 [thread overview]
Message-ID: <op.vdmx6by6xmjfy8@garhos> (raw)
In-Reply-To: 4281c262-d761-4373-930a-39c973f1fb48@q36g2000prg.googlegroups.com
Le Tue, 01 Jun 2010 20:35:02 +0200, Adam Beneschan <adam@irvine.com> a
écrit:
> Something else that occurred to me: In the process of turning the
> nested packages into child packages, were there any global variables
> declared in the body of the parent package that you had to move to the
> spec (probably the private part) so that they would be visible to the
> child packages?
No Adam, there was not. There were global variables, but just globals in
child packages, not in parent package.
I've just found : pragma Inline is not automatically applied, it requires
the -gnatn option Brian talked about. I though this was automatically done
when the -O option is present (I rarely use inline, so I was not aware of
that).
Anyway, I'm interested in your experience: what did occurred to you with
global variables ?
--
There is even better than a pragma Assert: a SPARK --# check.
--# check C and WhoKnowWhat and YouKnowWho;
--# assert Ada;
-- i.e. forget about previous premises which leads to conclusion
-- and start with new conclusion as premise.
next prev parent reply other threads:[~2010-06-01 19:09 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-05-29 12:56 Child vs nested package : efficiency matter Yannick Duchêne (Hibou57)
2010-05-30 1:17 ` BrianG
2010-06-01 15:03 ` Adam Beneschan
2010-06-01 15:34 ` Yannick Duchêne (Hibou57)
2010-06-01 15:38 ` Adam Beneschan
2010-06-01 19:04 ` Simon Wright
2010-06-01 19:11 ` Yannick Duchêne (Hibou57)
2010-06-02 11:11 ` -gnatN breakage was: " Alex R. Mosteo
2010-06-02 14:39 ` Vadim Godunko
2010-06-02 16:45 ` Georg Bauhaus
2010-06-02 16:50 ` Yannick Duchêne (Hibou57)
2010-06-02 20:35 ` Vadim Godunko
2010-06-01 18:35 ` Adam Beneschan
2010-06-01 19:09 ` Yannick Duchêne (Hibou57) [this message]
2010-06-01 19:44 ` Adam Beneschan
2010-06-01 19:56 ` Yannick Duchêne (Hibou57)
2010-06-02 1:38 ` BrianG
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox