Re: Translator for WIN32 using LccWin

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

Yes, I too recieved the same error and submitted
to Robert

he told me to put euphoria.h into \euphoria\library
not only did I do his but I changed a few other things
as well.

I use wedit.exe instead of letting emake.bat do the
compilation I also copied ecw.lib into \lcc\lib
and that particular problem disappeared...

euman at bellsouth.net

----- Original Message -----
From: "Matthew Lewis" <MatthewL at KAPCOUSA.COM>
To: <EUPHORIA at LISTSERV.MUOHIO.EDU>
Sent: Monday, October 30, 2000 6:06 PM
Subject: Re: Translator for WIN32 using LccWin


> > From: Robert Craig
>
> > I've posted a new version of the Euphoria To C Translator.
> > This one works with the free LccWin C compiler for 32-bit Windows.
> > I've used it successfully to translate/compile numerous
> > Win32Lib-based Euphoria programs.
>
> I finally had a chance to try out the translator with LCC (I got LCC from
> the U. of Va site), and I'm having a problem with main_.c.  The problem is
> with the following statement:
>
> argv = make_arg_cv(szCmdLine, &argc);
>
> LCC gives the error:
> "Error main_.c: 26  operands of = have illegal types `pointer to pointer
to
> char' and `int'"
>
> argv is declared as 'char **argv'
>
> I tried compiling with MSVC6 (to see if it gave the same error), and it
told
> me:
>
> warning C4013: 'make_arg_cv' undefined; assuming extern returning int
> error C2100: illegal indirection
> warning C4047: '=' : 'int *' differs in levels of indirection from 'int '
>
> I tried with a couple of different Eu programs, with the same result (this
> looks like the standard WinMain() startup code for the translator).  Has
> anyone else had this problem?
>
> Matt Lewis
>

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

Search



Quick Links

User menu

Not signed in.

Misc Menu