This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: error: array subscript is not an integer


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]