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,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,69431b06fe9a3239 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!postnews.google.com!y31g2000vbp.googlegroups.com!not-for-mail From: Lucretia Newsgroups: comp.lang.ada Subject: Re: How do I disable elaboration code on this Date: Sun, 10 Apr 2011 10:20:16 -0700 (PDT) Organization: http://groups.google.com Message-ID: References: <58bc4fb4-5f6a-48d6-9c98-0dde7ac619df@p16g2000vbo.googlegroups.com> NNTP-Posting-Host: 90.194.162.198 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: posting.google.com 1302456016 14473 127.0.0.1 (10 Apr 2011 17:20:16 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Sun, 10 Apr 2011 17:20:16 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: y31g2000vbp.googlegroups.com; posting-host=90.194.162.198; posting-account=L2-UcQkAAAAfd_BqbeNHs3XeM0jTXloS User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux x86_64; en-GB; rv:1.9.1.16) Gecko/20110302 Iceweasel/3.5.16 (like Firefox/3.5.16),gzip(gfe) Xref: g2news1.google.com comp.lang.ada:18744 Date: 2011-04-10T10:20:16-07:00 List-Id: > I think what you need here is > > Vector : constant Vectors; > pragma Import (Ada, Vector); > for Vector'Address use Addr; > > since you don't want Vector to be initialized. > > Vector will not be initialized because you have pragma Import for it. Nope, this didn't work. Checked the RM. Seems that if I use pragma Import (Ada, Vector) then the compiler assumes that this is an external (possibly in ASM) that is already initialised and therefore cannot be initialized to my ISR subprograms. Luke.