1. Phix : poke2() issue

Hi Pete

Doing some fiddling with allegro, and get this error

C:\Phix\builtins\pAlloc.e:93 
        poke2(mem, s) 
                   ^ incompatible type for routine signature 
...included by C:\Users\Practice\Dropbox\Euphoria\euAllegro-0.3\euallegrogpack\DODGEM.EXW, line 39 

I've had a look, but can't see why this would be the case - any ideas.

Cheers

Chris

new topic     » topic index » view message » categorize

2. Re: Phix : poke2() issue

No idea. I found a copy of dodgem.exw here that seems to work fine, with a couple of minor edits I did ages ago, so I uploaded it to PCAN:

http://phix.x10.mx/pmwiki/pmwiki.php?n=Main.EuphoriaGamesPack

Pete

EDIT: I've now reproduced this here, will investigate a bit further
EDIT2: Found it: wrapper.e contains global procedure poke2(atom addr, integer num), which needs commenting out. (the compiler did issue a warning about that!)
EDIT3: Having got your repackaged and newer euallegro working, I realised it is noticeably better, so I uploaded my copy (http://phix.x10.mx/pmwiki/pmwiki.php?n=Main.EuallegroRepackaged) and marked the above entry as superceded.

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

3. Re: Phix : poke2() issue

Hi Pete

Thanks.

So the program (ie wrapper's cersion of poke2() ) overrode an inbuilt declaration with no warning. That would be awkward to find if you weren't aware of this. Is there a way of flagging that to the user when an error is produced?

Cheers

Chris

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

4. Re: Phix : poke2() issue

I've just this second been editing the previous post about all that

Pete

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

5. Re: Phix : poke2() issue

Hi

Just so everyone's clear, version 4.2 Allegro was Ray Smith's, and I have had nothing to do with version 5.

Cheers

Chris

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

Search



Quick Links

User menu

Not signed in.

Misc Menu