1. everything is broken

Programs that used to work don't work.

Programs based on wxEuphoria:
/home/jstory/euphoria/include/wxEuphoria/wxeud.e:3114
a parameter name is expected here
global procedure set_button_label( atom button, sequence label)

Programs based on the old style EuGTK:
/home/jstory/euphoria/include/gtk/label.e:5
a parameter name is expected here
global function gtk_label_new(sequence label)

The cause seems to be euphoria 4.0a3.

new topic     » topic index » view message » categorize

2. Re: everything is broken

Jerry_Story said...

Programs that used to work don't work.

Programs based on wxEuphoria:
/home/jstory/euphoria/include/wxEuphoria/wxeud.e:3114
a parameter name is expected here
global procedure set_button_label( atom button, sequence label)

Programs based on the old style EuGTK:
/home/jstory/euphoria/include/gtk/label.e:5
a parameter name is expected here
global function gtk_label_new(sequence label)

The cause seems to be euphoria 4.0a3.

This is expected behavior, not a bug.

Admittedly, the error message could be improved (and was, in current svn, so the beta will say something like "label is a reserved word" instead of "a parameter name is expected here").

new topic     » goto parent     » topic index » view message » categorize

3. Re: everything is broken

Also note that it's just a variable name change. I understand that in SVN there is already wxWidgets that works fine w/4.0.

Jeremy

new topic     » goto parent     » topic index » view message » categorize

4. Re: everything is broken

The additions to Eu 4 are making it a lot easier to use, and easier to write libraries for it. But if you're planning to update some large project, wait until all the changes have been locked in. If you compare the new EuGTK with the old, you'll see how using just a few new features can make a big difference in how you code.

new topic     » goto parent     » topic index » view message » categorize

5. Re: everything is broken

jeremy said...

Also note that it's just a variable name change. I understand that in SVN there is already wxWidgets that works fine w/4.0.

In fact, the last release, v0.12.2, should work with the alpha releases. It uses pure 3.1 code, but I removed any references to 4.0 keywords.

It's come to my attention that it doesn't work with the head of the trunk, but that appears to be due to the change in euphoria's reference counting.

Matt

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu