Re: IDE error

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

Nick writes:
> Why is it that when i try to run ide.exw in the win32lib package,
> I get the following message:
> C:\EUPHORIA\win32lib\ide_edit.ew:248
> attempt to redefine flush - defined already in
> C:\EUPHORIA\include\file.e
> procedure flush(integer newColor)
>                    ^

In Euphoria version 2.2, a new global routine, flush(),
was added to file.e. This conflicts with flush() in ide_edit.ew.
A few days ago I renamed flush() in the version of Win32Lib.zip
on the Recent User Contributions page. You can download
this new .zip, or get David's bleeding edge version from his site,
or you can rename flush() in ide_edit.ew as something else.

This is an example of a "namespace" problem that
I'll try to improve for the next release. Probably
the local symbol "flush" should take precedence over
the global symbol "flush" in that one file,
instead of triggering a fatal error. A simple warning would
probably be better.

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