Re: Eu 4.0 bugs

new topic     » goto parent     » topic index » view thread      » older message » newer message
Algorythm said...

Hi all! I've downloaded the EU 4.0 Alpha. The demo programs works normally, but my own programs don't. I noticed one bug: EUINC (I set it to "D:\EUPHORIA\include\std") is not recepted by interpretor and I had to correct all my includes manually. Well, it isn't too hard but it's boring.

The proper setup for EUINC would still be to simply euphoria/include. Then, in your code, use "include std/machine.e". This was intentional, in order to prevent difficulties if you want to use another library with a conflicting name. As the standard library has grown, this is more probable.

Algorythm said...

But my programs din't work correctly when I corrected includes. Errors resolving the references occured. Howto solve this problems?

It's hard to say without more details. Another change to the libraries is that exposed routines are no longer global. They use the slightly more restrictive public scope. A common pattern in euphoria code has been to include all files needed in the main app file, and to have other, helper files rely on those include statements. This won't work with the public scope. You'll need to add include statements for those files where you're getting unresolved references.

Matt

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

Search



Quick Links

User menu

Not signed in.

Misc Menu