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,55a8252137b5ef97 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news4.google.com!newsfeed2.dallas1.level3.net!news.level3.com!newsfeed-00.mathworks.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: Nick Roberts Newsgroups: comp.lang.ada Subject: Re: Efficiently setting up large quantities of constant data Date: Thu, 16 Dec 2004 23:18:24 +0000 Message-ID: <32eje0F3k243eU2@individual.net> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Trace: individual.net GL0xCj0RaIPxxXeU4KMDHwL5F629GPzkfcQ1yrWqRRvMStssI= User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.3) Gecko/20040910 X-Accept-Language: en-us, en In-Reply-To: Xref: g2news1.google.com comp.lang.ada:7005 Date: 2004-12-16T23:18:24+00:00 List-Id: Brian May wrote: >>>>>>"Simon" == Simon Wright writes: > > > Simon> (on looking at this, I'm a bit surprised that I didn't need > Simon> to say 'all' ..) > > What compiler? Could this be a compiler bug? > > I thought the whole idea of requiring "all" is that it wouldn't work > in the above case because the memory wasn't dynamically allocated. > > Unless I am somehow mistaken... Well, yes, in that the use of 'constant' in 'type ... is access constant ...' implies 'all' (as if you had said 'type ... is access all constant ...'). -- Nick Roberts