1. Translator's problem ?
- Posted by George Papadopoulos <georgp at otenet.gr> Apr 29, 2003
- 584 views
I tried to translate FPTR.E (latest version) to make a dll, but the compiler reported a lot of errors. EtoC Translator v2.4b PD / Borland C++ v5.5.1 Thanks George
2. Re: Translator's problem ?
- Posted by Elliott Sales de Andrade <quantum_analyst at hotmail.com> Apr 29, 2003
- 549 views
Perhaps you are using the Euphoria 2.3 Header file with the 2.4 Translator. >From: George Papadopoulos <georgp at otenet.gr> >Subject: Translator's problem ? > > >I tried to translate FPTR.E (latest version) to make a dll, but the >compiler reported a lot of errors. > >EtoC Translator v2.4b PD / Borland C++ v5.5.1 > >Thanks >George > > > >TOPICA - Start your own email discussion group. FREE! > >
3. Re: Translator's problem ?
- Posted by George Papadopoulos <georgp at otenet.gr> Apr 30, 2003
- 546 views
=20 Hello Elliott, you wrote: > Perhaps you are using the Euphoria 2.3 Header file with the 2.4=20 >Translator. I am sure that i am using the right files. Thank you -George
4. Re: Translator's problem ?
- Posted by Elliott Sales de Andrade <quantum_analyst at hotmail.com> Apr 30, 2003
- 561 views
Well, you'll have to tell us what the errors are then. >From: George Papadopoulos <georgp at otenet.gr> >Subject: Re: Translator's problem ? > > >Hello Elliott, you wrote: > > > Perhaps you are using the Euphoria 2.3 Header file with the 2.4 > >Translator. > >I am sure that i am using the right files. > >Thank you >-George >
5. Re: Translator's problem ?
- Posted by George Papadopoulos <georgp at otenet.gr> May 01, 2003
- 654 views
Elliott wrote: > Well, you'll have to tell us what the errors are then. Concole's output: ---------------------------------- =46PTR.c: Error E2040 FPTR.c 311: Declaration terminated incorrectly in function _0call_back_cdecl Error E2188 FPTR.c 335: Expression syntax in function _0call_back_cdecl Error E2040 FPTR.c 311: Declaration terminated incorrectly in function _0call_back_cdecl Error E2188 FPTR.c 335: Expression syntax in function _0call_back_cdecl Error E2188 FPTR.c 338: Expression syntax in function _0call_back_cdecl Error E2054 FPTR.c 340: Misplaced else in function _0call_back_cdecl Error E2188 FPTR.c 341: Expression syntax in function _0call_back_cdecl Error E2188 FPTR.c 354: Expression syntax in function _0call_back_cdecl Error E2054 FPTR.c 364: Misplaced else in function _0call_back_cdecl Error E2188 FPTR.c 368: Expression syntax in function _0call_back_cdecl Error E2188 FPTR.c 402: Expression syntax in function _0call_back_cdecl Error E2188 FPTR.c 411: Expression syntax in function _0call_back_cdecl Error E2054 FPTR.c 421: Misplaced else in function _0call_back_cdecl Error E2188 FPTR.c 430: Expression syntax in function _0call_back_cdecl Error E2054 FPTR.c 440: Misplaced else in function _0call_back_cdecl Error E2188 FPTR.c 452: Expression syntax in function _0call_back_cdecl Error E2188 FPTR.c 455: Expression syntax in function _0call_back_cdecl Error E2054 FPTR.c 457: Misplaced else in function _0call_back_cdecl Error E2188 FPTR.c 458: Expression syntax in function _0call_back_cdecl Error E2188 FPTR.c 471: Expression syntax in function _0call_back_cdecl Error E2188 FPTR.c 480: Expression syntax in function _0call_back_cdecl Error E2054 FPTR.c 490: Misplaced else in function _0call_back_cdecl Error E2188 FPTR.c 499: Expression syntax in function _0call_back_cdecl Error E2054 FPTR.c 509: Misplaced else in function _0call_back_cdecl Error E2188 FPTR.c 513: Expression syntax in function _0call_back_cdecl Error E2054 FPTR.c 523: Misplaced else in function _0call_back_cdecl Error E2188 FPTR.c 535: Expression syntax in function _0call_back_cdecl Error E2228 FPTR.c 535: Too many error or warning messages in function _0call_back_cdecl *** 26 errors in Compile *** main_.c: init_.c: machine.c: misc.c: dll.c:
6. Re: Translator's problem ?
- Posted by George Papadopoulos <georgp at otenet.gr> May 01, 2003
- 543 views
----=_6km2bvou62v5leg61rv2g3ssv94kg90378.MFSBCHJLHS On Thu, 1 May 2003 06:06:55 -0400, you wrote: >> FPTR.c: >> Error E2040 FPTR.c 311: Declaration terminated incorrectly in function >> _0call_back_cdecl > ><snip> > >Could you post the translated version of _0call_back_cdecl? > >Matt Lewis > I've been attached FPTR.c to get the line numbers. George ----=_6km2bvou62v5leg61rv2g3ssv94kg90378.MFSBCHJLHS Content-Type: application/octet-stream; name=FPTR_c.zip
7. Re: Translator's problem ?
- Posted by George Papadopoulos <georgp at otenet.gr> May 01, 2003
- 561 views
Matt Lewis wrote: >It seems that the problem is with _asm. Borland thinks that assembly = code >should follow, but of course, it's really a variable name. Perhaps the >easiest thing to do is to edit fptr.e. Change the asm variable to = another >name and retranslate. I'll fix this for the next release, to avoid this >conflict. > Thanks Matt, this fixed the problem. George