1. RE: Translated code & LCC Compiler

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.

new topic     » topic index » view message » categorize

2. RE: Translated code & LCC Compiler

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.

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu