error: array subscript is not an integer

Andrew Haley aph@redhat.com
Thu Jun 26 09:45:00 GMT 2008


Manal Helal wrote:
> Hi again
> 
> now that I am using long long (8 bytes), malloc accepts only size_t,
> and it is defined in my machine as 4 bytes.
> 
> Is there any way I can allocate in one statement any more?

What, exactly, is your system?  This sounds like a simple 32-bit
addressing limit.

Andrew.



More information about the Gcc-help mailing list