Re: baffling allocate error

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

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.

Jerry_Story said...

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

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

Search



Quick Links

User menu

Not signed in.

Misc Menu