Re: baffling allocate error
- Posted by jimcbrown (admin) Sep 19, 2010
- 1232 views
I'm hung up on an error that baffles me.
dmak.exw:5
The dmak.exw:5 line number makes no sense.
PROGRAM_VERSION = "September 18, 2010"
Completely harmless. Clearly this line number is phony.
Agreed, it is not a line number but the number of errors that follow.
0074>:: Errors resolving the following references: ./eugtk_stuff/ListView-NutrientsNonREQ.e (5): allocate ./eugtk_stuff/ListView-NutrientsREQ.e (5): allocate ./eugtk_stuff/ListView-Recipes.e (5): allocate ./eugtk_stuff/ListView-Foods.e (5): allocate ./eugtk_stuff/ListView-Diet.e (5): allocate
object iter = allocate(32) ^ }}} All those *.e files are copies of ListView.e from EuGTK.
It looks like Euphoria doesn't know what 'allocate' is, but that doesn't make sense because test33.ex, which uses ListView.e, works.
How can I get a clue about the 'allocate' error?
Looking at http://oe.cowgar.com/forum/112421.wc#112421 it looks like allocate(32) is on line 6 of the various ListView.e's not line 5. I'm not sure how that happened.
Anyways, this is easily solved by adding this line right before the allocate(32) one:
include std/machine.e