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,6b3ebf057333800c X-Google-Attributes: gid103376,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news4.google.com!proxad.net!feeder1-2.proxad.net!usenet-fr.net!news.buerger.net!LF.net!news.enyo.de!not-for-mail From: Florian Weimer Newsgroups: comp.lang.ada Subject: Re: Largest size array in Gnat 2005 for the PC? Date: Tue, 30 Oct 2007 13:27:46 +0100 Message-ID: <87tzo8wzwd.fsf@mid.deneb.enyo.de> References: <13idb3jbm28kfbe@corp.supernews.com> <4726d889$1@news.post.ch> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: idssi.enyo.de 1193747267 14471 212.9.189.177 (30 Oct 2007 12:27:47 GMT) X-Complaints-To: Cancel-Lock: sha1:pPapccP5uVR9edV/0WU7VFiLfUo= Xref: g2news2.google.com comp.lang.ada:2635 Date: 2007-10-30T13:27:46+01:00 List-Id: * Martin Krischik: > No, the array index used affect the maximum size. I suggest you read: > > http://en.wikibooks.org/wiki/Ada_Programming/Types/array > > and consider what would happen if "Index_Range" is of type > Long_Long_Integer and if you computer has enough memory to hold such a > beast. The problem in past GNAT versions was that 'Size was not actually a univeral integer, but a 32-bit type. Since it's measured in bits, it limits object size to 256 MB on all architectures. Has this been fixed?