Re[2]: Cannot compile Cirrus Mail

new topic     » topic index » view thread      » older message » newer message

I tried it again using bcc55 and it works OK.

Thanks for explanation.
_____________________________________________________________________

R> Akusaya writes:
>> I tried to compile Cirrus Mail (newest version) using
>> ecw -lcc but I get this error:
>> .... (many files)
>> find_0.c
>> Overflow in jump node table...
>>
>> clock.c
>> Error clock.c: 29  invalid use of `boolean'

R> The Overflow is due to a failure in the Lcc C compiler.
R> It obviously has a hard-coded limit on its "jump node table".
R> I tried removing the "-O" option when compiling find_0.c,
R> but still got the messages. However it managed to produce a .obj file
R> in spite of these messages.

R> The error in clock.c arises because the author of Lcc has
R> hard-coded into his parser, an extra fundamental data type
R> (like int, char, double etc.) that he calls "_Bool". There is no
R> way to undefine or avoid this symbol. What you can do is
R> change the Euphoria program, to replace "Bool" by something
R> else in 2 places - I found "bool" was fine. 
R> Maybe the Translator can watch out for this symbol in the next release.

R> With these changes, the program translates, compiles and
R> runs using Lcc.

R> If you use Borland or Watcom, there are no errors or warnings,
R> and the program seems to run fine - although I can't say that I tested the
R> e-mail program thoroughly.

R> Jordah Ferguson writes:
>> I found out it was nearly impossible to translated most win32lib apps. 

R> If you use Borland or Watcom you should rarely have a problem.
R> If you use Lcc, you will probably get an error message from 
R> at least one of the Win32Lib files. Simply remove the "-O" (optimize)
R> option in emake.bat for any files that give you an error.
R> I highly recommend that people use Borland or Watcom.
R> You'll have fewer problems, and you'll get faster code.

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu