1. everything is broken
- Posted by Jerry_Story Apr 23, 2009
- 889 views
- Last edited Apr 24, 2009
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.
2. Re: everything is broken
- Posted by jimcbrown (admin) Apr 23, 2009
- 914 views
- Last edited Apr 24, 2009
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").
3. Re: everything is broken
- Posted by jeremy (admin) Apr 23, 2009
- 889 views
- Last edited Apr 24, 2009
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
4. Re: everything is broken
- Posted by irv Apr 23, 2009
- 854 views
- Last edited Apr 24, 2009
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.
5. Re: everything is broken
- Posted by mattlewis (admin) Apr 24, 2009
- 905 views
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