comp.lang.ada
 help / color / mirror / Atom feed
* GNAT 95 Compiler v 2.09 for UNIX Solaris
@ 1996-11-24  0:00 William Paul Berriss
  1996-11-27  0:00 ` Robert Dewar
  0 siblings, 1 reply; 2+ messages in thread
From: William Paul Berriss @ 1996-11-24  0:00 UTC (permalink / raw)
  Cc: strberis


Hi

If you know briefly how and why I get the following
compiler error message could you e-mail me to tell me!


The error message on Solaris 2.4 UNIX is:

stssrita% gcc -c huesatint_3dhistogram.adb
/usr/ccs/bin/as: "/tmp/cca007J8.s", line 6091: error: constant value
must be between 
-0x00200000 and 0x003fffff
stssrita%


Basically, I have tried to create a 3D array of size 256 X 256 X 256
of Integers, and it complained.  If I purely alter its to size
64 X 64 X 64 then all is ok.  So it is purely a size problem.

I thought it may be due to the finite size of my RAM memory
(say 32 MBytes) but my supervisor said that the compiler
should not know about my RAM and that it would be a run-time error
perhaps?

Any ideas? Anyone had a similar problem?

Will
====


-- 

W P Berriss                 E-mail: W.P.Berriss@reading.ac.uk
Department of Engineering
The University of Reading
Whiteknights
Reading                     Tel:  0118 987 5123 
Berkshire                     (+44 118 987 5123 outside UK)
RG6 6AY    
England                     Fax:  0118 931 3327    

World Wide Web Home Page: 

http://www.elec.rdg.ac.uk/people/postgrads/will.html




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1996-11-27  0:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1996-11-24  0:00 GNAT 95 Compiler v 2.09 for UNIX Solaris William Paul Berriss
1996-11-27  0:00 ` Robert Dewar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox