Euphoria Ticket #464: Can't Translate Win32Lib Programs

Getting errors like this (this one from bitmap.exw):

c:\eu_include\Win32Lib\Demo>euc bitmap.exw 
Build directory: .\build-897673./ 
Translating code, pass: 1 2 3 4 5 6 7 8 9 10 11 12  generating 
Compiling with Watcom 
Compiling   1% init-.c 
Compiling   4% bitmap.c 
Compiling   6% main-.c 
Compiling   8% win32lib.c 
win32lib.c(73422): Error! E1011: Symbol '_i_54159' has not been declared 
win32lib.c(73577): Error! E1099: Statement must be inside function. Probable cau 
se: missing { 
Couldn't compile file 'win32lib.c' 
Status: 8 Command: wcc386  /bt=nt /mf /w0 /zq /j /zp4 /fp5 /fpi87 /5r /otimra /s 
 /IC:\EUPHORIA win32lib.c 
Could not remove directory .\build-897673./ 

Note it could not remove the build directory either.

Details

Type: Bug Report Severity: Blocking Category: Translator
Assigned To: mattlewis Status: Fixed Reported Release: 4359
Fixed in SVN #: 4378 View VCS: 4378 Milestone: 4.0.0RC2

1. Comment by mattlewis Dec 01, 2010

Pls send teh codez.

2. Comment by mattlewis Dec 01, 2010

Looks like bad brackets on a translated for loop.

3. Comment by mattlewis Dec 01, 2010

Added a missing bracket to keep things balanced.

Search



Quick Links

User menu

Not signed in.

Misc Menu