Re: Largest size array in Gnat 2005 for the PC?



* 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?
.



Relevant Pages

  • Re: volatile vs aliased
    ... > Martin Krischik wrote: ... >>> pragma Volatile says the compiler must not optimise away ... So with pragma Volatile the following two statements ... > you can get a single "increment memory" instruction (presuming the ...
    (comp.lang.ada)
  • Re: I take it all back...
    ... >>> around a PPC G5 would be awesome. ... >> memory. ... >> Then I showed him Shadow Of The Beast 2. ...
    (uk.rec.cars.modifications)
  • Re: Java is going to have closures.
    ... "slow, bloated beast". ... Compared to modern software Emacs isn't bloated. ... ~4seconds on my ancient computers and uses very little memory. ...
    (comp.lang.lisp)
  • Re: Ada Pointer Size Problem
    ... Martin Krischik wrote: ... and am speaking from several-year-old memory. ... I've ever used allowed a pointer or address to be stored in an int. ...
    (comp.lang.ada)
  • Re: Enhanced //e with a 6503??!
    ... suspecting this odd 6503 beast is not compatible, because if memory ... the vulcan firmware requires an enhanced //e (e.g. it ...
    (comp.sys.apple2)