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-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,5bef5e9c5bedc675 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2004-01-03 00:41:48 PST Path: archiver1.google.com!news2.google.com!newsfeed2.dallas1.level3.net!news.level3.com!news-out.visi.com!petbe.visi.com!newshosting.com!nx02.iad01.newshosting.com!newsfeed.icl.net!newsfeed.fjserv.net!kibo.news.demon.net!news.demon.co.uk!demon!not-for-mail From: "Luke A. Guest" Newsgroups: comp.lang.ada Subject: Re: [No_Elaboration_Code] GNAT still generating rep_to_pos, why? Date: Sat, 03 Jan 2004 08:41:47 +0000 Message-ID: References: NNTP-Posting-Host: abyss2.demon.co.uk Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: news.demon.co.uk 1073119307 6193 62.49.62.197 (3 Jan 2004 08:41:47 GMT) X-Complaints-To: abuse@demon.net NNTP-Posting-Date: Sat, 3 Jan 2004 08:41:47 +0000 (UTC) User-Agent: Pan/0.14.0 (I'm Being Nibbled to Death by Cats!) Xref: archiver1.google.com comp.lang.ada:4060 Date: 2004-01-03T08:41:47+00:00 List-Id: On Fri, 02 Jan 2004 20:12:28 -0500, Robert I. Eachus wrote: > pragma No_Run_Time will not do this. You need to use pragma Import if > you don't want the access values to be set by default to null. This is This is my code: type T_SPB is record ... end record; type T_SPB_PTR is access T_SPB; SP_Block : T_SPB; for SP_Block'Address use System'To_Address(16#80001000#); -- Tell the compiler that this record is defined elsewhere. -- Stops the compiler from producing a warning. pragma Import(Ada, SP_Block); Luke.