Re: Translator for WIN32 using LccWin

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

> 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