Re: Euphoria to C

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

Bill Aitken wrote:
> Probably a real dumb question but I have just been trying to use the
> translator.  It appears to work fine but when I use the eMake batch file, I
> get the message " name 'first' not found in struct/union s1".  At first, I 
> thought it was my Euphoria code and so I tried the demos which come with
> the installation, both win32 and DOS.  Same result.  I was using LCC, so I 
> ripped it out and replaced it with Watcom.  Same result.
> 
> Since it IS the same result, it must be something to do with the way I am 
> doing things but I just can't figure out what.  Any ideas?

"first" used to be defined as a member of struct s1
in the file euphoria\include\euphoria.h, and the translator
used to output C code that referenced "first".
That was quite a long time ago. Pre 2.4.

It appears that you are running ecw for an old, (2.3?) version
of the translator, yet you have installed a newer version
of euphoria\include\euphoria.h. Perhaps you have installed
2.5, but 2.3 comes earlier on your search PATH, so you are
actually running an old translator. You should remove 2.3
from your PATH. Maybe rename or delete the out-dated Euphoria 
directory.

Regards,
   Rob Craig
   Rapid Deployment Software
   http://www.RapidEuphoria.com

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

Search



Quick Links

User menu

Not signed in.

Misc Menu