[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: LUA_NUM_TYPE long
- From: "Nick Trout" <nick@...>
- Date: Thu, 15 Jul 1999 11:30:29 +0100
You could try:
*(L->stack.top) = *(luaH_getint(arg, i+1));
blah= luaH_getint(arg, i+1);
*(L->stack.top) = *blah;
What are the size of the int's for the compiler? If they are 16bit (small
memory model in Windows?) you'll have problems with pointers, and other
----- Original Message -----
To: Multiple recipients of list <firstname.lastname@example.org>
Sent: Thursday, July 15, 1999 11:04 AM
Subject: Re: LUA_NUM_TYPE long
>> The error in both cases is
>> Error : internal compiler error: File: 'PCode.c' Line: 425
>> lbuiltin.c line 304 }
>This means error in compiler itself, so check with Metrowerks support.
>> *(L->stack.top) = *luaH_getint(arg, i+1);
>> That error goes away.
>> Can someone familiar with these data types double check and let me
>> if this is the right thing to do?
>This is ok. But i will not trust the compiler.