Re: Confusion with ec2

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

x
Bruce M. Axtens wrote:
> I've started working with the Euphoria Translator, the DJGPP one. I'm 
> using GCC 3.2.2.
> 
> Today I tried converting one of the demo programs, buzz.ex. These are 
> some of the error messages I got.
>     buzz.c
>     '-mpentium' is deprecated. Use '-march=pentium' or '-mcpu=pentium 
> instead.

That's a warning message you would get by
running the 2.3 Translator. It's harmless, but I
recommend that you use the 2.4 beta Translator, ec.exe.

>     buzz.c: In function '_0buzz':
>     buzz.c:27: structure has no member named 'first'
>     buzz.c:35: structure has no member named 'first'
>     buzz.c:44: structure has no member named 'first'
>     buzz.c:53: structure has no member named 'first'
>     ...
> The 'deprecated' messages I can understand if the translator was built 
> with GCC 2 in mind, but this stuff about 'structure has no member named 
> 'first'' I can't figure out.

In 2.4, one of the C structures used by the translator
was changed so it no longer has a "first" member, but instead
has a "base" member. This is defined in euphoria.h which
should be in your euphoria\include directory if you have
installed the 2.4 Interpreter package. It sounds
like you have combined the 2.4 Interpreter package
with the 2.3 Translator - that won't work.

To avoid confusion, I recommend that you install the
2.4 beta Interpreter (maybe you have already),
and the 2.4 beta Translator and Library.
2.4 beta is very stable.

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