1. RE: Translated code & LCC Compiler
- Posted by kennethroger at prodigy.net Apr 22, 2002
- 415 views
The following snippet illustrates the problem: include get.e printf(1, "%d %f\n",value("5.81") if wait_key() then end if "exw" works ok, but "ecw -lcc" doesn't translate "value()" as expected. "ecw -bor" is ok. I use my own atoi() and atof() routines so I hadn't noticed the problem. I have the latest lcwin32 and it works fine on my .exw's.
2. RE: Translated code & LCC Compiler
- Posted by kennethroger at prodigy.net Apr 26, 2002
- 382 views
euman wrote: > --a bug in LCC-- Jacob keeps making improvements, but there must still be a bug in the optimizer. Rob's emake invokes the optimizer, although he has mentioned problems with it. Instead of using emake, try lc *.c [path]ecwl.lib -o test.exe Your code will run ok when compiled this way.