Re: Let's wait translator beta-2
- Posted by Euman <euman at bellsouth.net> Feb 21, 2001
- 438 views
I removed the -O from Win32l_8.c and the program compiled but after running the program it crashes (compiled multiple times to test) some last line TRACE statements before the crash > win32lib_full.ew:16153 poke( at, pixels[i] ) win32lib_full.ew:16154 at = at + w win32lib_full.ew:16155 end for win32lib_full.ew:16158 at = address( memBitmapInfo, bmiColors ) tk_mem.e:390 if atom(offset)then tk_mem.e:392 elsif length(offset)=3 then tk_mem.e:395 return 0 win32lib_full.ew:16161 for i = 1 to colors do win32lib_full.ew:16164 store( at, rgbRed, pal[i][1] ) tk_mem.e:246 where=s[1]+struct tk_mem.e:247 datatype=s[2] tk_mem.e:248 lCnt=s[3] tk_mem.e:249 if sequence(o)then tk_mem.e:254 if datatype=Byte then tk_mem.e:255 if atom(o)then tk_mem.e:256 poke(where,o) === THE END === from Debug mov ecx, [eax] inc dword ptr [ecx+38] -- CRASH I suspect, as you Robert that a null *something* is being pointed to. Euman ----- Original Message ----- From: "Robert Craig" <rds at RapidEuphoria.com> To: "EUforum" <EUforum at topica.com> Sent: Wednesday, February 21, 2001 13:23 Subject: Re: Let's wait translator beta-2 | Euman writes: | > ... I get a _$666 error | > when I try to compile a windows program | > it's related to win32l_8.c from Win32Lib 0.55.1 | > not sure if it's the same as _$79 or not. | | This is another example of the bug | in the Lcc C compiler. | | Try removing the "-O" option from emake.bat | for just the one win32l_8.c file that failed. | I just tried it with Aku's problem, and it cleared | up the undefined symbol - try it Aku. | | Regards, | Rob Craig | Rapid Deployment Software | http://www.RapidEuphoria.com | | | |