From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,61006929d3e14455 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news1.google.com!news.glorb.com!fu-berlin.de!uni-berlin.de!not-for-mail From: "Dmitry A. Kazakov" Newsgroups: comp.lang.ada Subject: Re: Ada Pointer Size Problem Date: Wed, 13 Oct 2004 15:37:31 +0200 Message-ID: References: <35f054ea.0410101150.25bec2f5@posting.google.com> <1404015.dag8674995@linux1.krischik.com> <1c2f5137.0410130505.57e03c@posting.google.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: news.uni-berlin.de jpHbKH5n7tiXFxmhWxOtVwWfScSXP1TvxDgrBIuwEThQUtI3U= User-Agent: 40tude_Dialog/2.0.12.1 Xref: g2news1.google.com comp.lang.ada:5151 Date: 2004-10-13T15:37:31+02:00 List-Id: On 13 Oct 2004 06:05:59 -0700, Hans Van den Eynden wrote: > Martin Krischik wrote in message news:<1404015.dag8674995@linux1.krischik.com>... >> skidmarks wrote: >> >>> I have a problem with the test program below. Perhaps someone can help me. >> >> Well an access is not a pointer. System.Address is a pointer. There are >> functions to convert an access to an Address..An access may contain >> additional informations apart from the pointer - like size of the object >> pointed to (for indefinite objects), a reference counter (for access all or >> anonymous access) etc. pp. >> >>> I've looked at the 'info' tex file included with the >>> gcc distribution and so far have not found how to >>> change a 64-bit pointer to a 32-bit pointer >> >> The System package has the needed convetion functions. >> >> With Regards >> >> Martin > >> There are functions to convert an access to an Address > > Are there also functions that convert an Address to an access?? And > what about Ada's type safety than ?? The reset button is always at your service, then! (:-)) > I also can't anything about System.Address in the Ada95RM, a leftover > from Ada83? See ARM 13.7.2 -- Regards, Dmitry A. Kazakov http://www.dmitry-kazakov.de