From: Craig Carey <research@ijs.co.nz>
Subject: Re: Pragma Import don't suppress access initialization
Date: Tue, 08 Oct 2002 06:25:47 +1300
Date: 2002-10-08T06:25:47+13:00 [thread overview]
Message-ID: <tq93qus9v7buar291s2jvhqgvlpeh3bonb@4ax.com> (raw)
In-Reply-To: 9c9fb8b4.0210070410.fa84429@posting.google.com
On 7 Oct 2002 05:10:32 -0700, frederic.ormancey@atosorigin.com (Fr�d�ric
Ormancey) wrote:
>I was using a X'Address to cast system.address type to an access type,
>which works fine with GNAT 3.13 but cause an erroneous intialization and
>erase my access value with NULL when compiled with GNAT 3.14p ( I'am
>doing a migration from GNAT 3.13 to GNAT 3.14 ).
...
Unchecked conversion is a way of converting types and examples are in
GNAT's Annex B interfacing packages.
I reported what seems to be that same "Import" bug in March 2002 to
report@gnat.com. I did not get a tracking number so they probably knew
of it by 23 March 2002. [The example can be about as simple as possible].
Here is an example of a tracking number in the acknowledgement to an
unsupported customer. This number/code is "B927-006":
"[B927-006 public] Default initialization of controlled field not done in
[nested] 2nd case [statement] in variant; ...".
That was 1 of 3 I sent in the last 12 days. I seem to have about maybe
2 in 3 reports be ignored (not in first).
Craig Carey
Mailing lists
http://www.ijs.co.nz/ada_95.htm
prev parent reply other threads:[~2002-10-07 17:25 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-10-07 12:10 Pragma Import don't suppress access initialization Frédéric Ormancey
2002-10-07 17:25 ` Matthew Heaney
2002-10-07 19:49 ` Jeffrey Carter
2002-10-07 17:25 ` Craig Carey [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