Re: Phix 1.0.1 uploaded
- Posted by petelomax Dec 17, 2021
- 1783 views
AlexXX said...
I downloaded the archive today from https://github.com/petelomax/Phix, when I run p.exe -cp, I get an error
f: \ phix \ pEmit2.e: 3270 in procedure finalfixups2 () type check failure, thunk is {2089234873.0,1}
Hmm, this is what I see in https://github.com/petelomax/Phix/blob/master/pEmit2.e
3270 if not norun or not bind then 3271 --5/10/21 (safe_mode) 3272 -- thunk = get_proc_address(APIerrlib[libidx],s) 3273 {thunk} = get_proc_address(APIerrlib[libidx],s)So 1) I'd expect any error on line 3273 not 3270 which makes me suspect you've got the wrong version of that somehow
2) As you can see I've recently changed get_proc_address() and the call which makes me think you've got the newer version of
It might just be somehow (path settings?) using an outdated p.exe, does p -? say 1.0.1 and/or try grabbing the latest p.exe off http://phix.x10.mx/download.php and using that, maybe renamed as in say "pl.exe -cp".