Re: Largest size array in Gnat 2005 for the PC?
- From: Florian Weimer <fw@xxxxxxxxxxxxx>
- Date: Tue, 30 Oct 2007 13:27:46 +0100
* 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?
.
- References:
- Largest size array in Gnat 2005 for the PC?
- From: ME
- Re: Largest size array in Gnat 2005 for the PC?
- From: Martin Krischik
- Largest size array in Gnat 2005 for the PC?
- Prev by Date: Problem with GNAT GPL 2007.1 win32Ada bindings
- Next by Date: Re: Real Time IO routines
- Previous by thread: Re: Largest size array in Gnat 2005 for the PC?
- Next by thread: Re: Largest size array in Gnat 2005 for the PC?
- Index(es):
Relevant Pages
|