Re: Phix 1.0.5 uploaded
- Posted by petelomax 1 month ago
- 461 views
Line 97 of repeat.e has a rogue assert, which I've since removed on the dev copy (in my case for mpfr).
Can you try commenting out that line, running p -cp, and see if that helps?
Ta.
That sudoku.exw you linked to seems to work fine here, at least on the dev version.
Mind you, I do get this when it shuts down:
Warning: tinlib.ew:8106 procedure Register_Dialog is not used. Warning: F:\misc\jsudoku-main\tinlib.ew:8038 variable old_style is not used. Warning: F:\misc\jsudoku-main\tinlib.ew:7408 variable old_style is not used. Warning: F:\misc\jsudoku-main\tinlib.ew:7264 variable hdc is not used. Warning: tinlib.ew:7264 variable oldobjectdest is not used. Warning: F:\misc\jsudoku-main\tinlib.ew:7228 variable hdc is not used. Warning: tinlib.ew:7228 variable oldobjectdest is not used. Warning: F:\misc\jsudoku-main\tinlib.ew:7107 variable hdc is not used. Warning: F:\misc\jsudoku-main\tinlib.ew:6764 variable pointer is not used. Warning: F:\misc\jsudoku-main\tinlib.ew:6746 variable pointer is not used. Warning: F:\misc\jsudoku-main\tinlib.ew:5955 variable icon_handle is not used. Warning: F:\misc\jsudoku-main\tinlib.ew:5321 variable hdc is not used. Warning: tinlib.ew:5321 variable oldobjectdest is not used. Warning: F:\misc\jsudoku-main\tinlib.ew:5275 variable hdc is not used. Press Enter for next page or 'q' to quit... Warning: F:\misc\jsudoku-main\tinlib.ew:5148 variable pPoint is not used. Warning: F:\misc\jsudoku-main\tinlib.ew:3989 variable rect is not used. Warning: F:\misc\jsudoku-main\tinlib.ew:3095 variable pFINDTEXT is not used. Warning: F:\misc\jsudoku-main\tinlib.ew:2794 variable memdc is not used. Warning: F:\misc\jsudoku-main\tinlib.ew:2794 variable hdc is not used. Warning: tinlib.ew:2583 function ChildWindowFromPoint is not used. Warning: tinlib.ew:2519 variable result is never assigned a value. Warning: tinlib.ew:2507 procedure cbex_AddText is not used. Warning: F:\misc\jsudoku-main\tinlib.ew:2129 procedure FillRect is not used. Warning: F:\misc\jsudoku-main\tinlib.ew:2084 variable IPC_DATADATA is not used. Warning: F:\misc\jsudoku-main\tinlib.ew:938 variable ReSize_Event is not used. Warning: F:\misc\jsudoku-main\tinlib.ew:750 variable IpEdit is not used. Warning: F:\misc\jsudoku-main\tinlib.ew:749 variable Calendar is not used. Warning: F:\misc\jsudoku-main\tinlib.ew:334 variable EWG is not used. Warning: F:\misc\jsudoku-main\tinlib.ew:268 variable th_procname is not used. Warning: F:\misc\jsudoku-main\tinlib.ew:268 variable th_pathname is not used. Warning: F:\misc\jsudoku-main\tinlib.ew:268 variable th_modulname is not used. Warning: F:\misc\jsudoku-main\tinlib.ew:266 variable PID is not used. Warning: F:\misc\jsudoku-main\tinlib.ew:232 variable myCreate is not used. Warning: F:\misc\jsudoku-main\tinlib.ew:229 constant tBYTE is not used. Press Enter for next page or 'q' to quit... Warning: F:\misc\jsudoku-main\tinlib.ew:228 constant tWORD is not used. Warning: F:\misc\jsudoku-main\tinlib.ew:227 constant tUINT is not used. Warning: F:\misc\jsudoku-main\tinlib.ew:219 type byte is not used. F:\misc\jsudoku-main\SUDOKU.EXW:518 if n < 81 or not integer(p) then ^Warning: probable logic error (always true) F:\misc\jsudoku-main\tinlib.ew:7793 pb_SetStep (hwnd) ^Warning: forward call assumed F:\misc\jsudoku-main\tinlib.ew:7792 pb_SetRange (hwnd) ^Warning: forward call assumed F:\misc\jsudoku-main\tinlib.ew:7425 Void = Window ("AppWindow") ^Warning: forward call assumed F:\misc\jsudoku-main\tinlib.ew:6411 ListSeek (handle,selection-1) ^Warning: forward call assumed F:\misc\jsudoku-main\tinlib.ew:6120 SetPic(handle,controltype,imagepath) ^Warning: forward call assumed Press Enter for next page or 'q' to quit... F:\misc\jsudoku-main\tinlib.ew:6003 DeleteImage (picture_handle) ^Warning: forward call assumed F:\misc\jsudoku-main\tinlib.ew:5998 ..c_handle= NewMB (GetImageWidth(picture_handle),GetImageHeight(picture_handl.. ^Warning: forward call assumed F:\misc\jsudoku-main\tinlib.ew:5998 pic_handle= NewMB (GetImageWidth(picture_handle),GetImageHeight(p.. ^Warning: forward call assumed F:\misc\jsudoku-main\tinlib.ew:3273 SetText(handle,GetText (handle)) ^Warning: forward call assumed F:\misc\jsudoku-main\tinlib.ew:3273 SetText(handle,GetText (handle)) ^Warning: forward call assumed F:\misc\jsudoku-main\tinlib.ew:3020 if find(GetControlType(hwnd), {Edit, MultiEdit, RichEdit}) != 0 then ^Warning: forward call assumed F:\misc\jsudoku-main\tinlib.ew:2823 atom id=ctlGetControlIndex(handle) ^Warning: forward call assumed Press Enter for next page or 'q' to quit... F:\misc\jsudoku-main\tinlib.ew:2822 MoveWindow(handle,winrect[1],winrect[2],xsize+smalborder*2,ysize+smal.. ^Warning: forward call assumed F:\misc\jsudoku-main\tinlib.ew:2817 sequence clientrect=GetClientRect(handle) ^Warning: forward call assumed F:\misc\jsudoku-main\tinlib.ew:2816 sequence winrect=GetWindowRect(handle) ^Warning: forward call assumed F:\misc\jsudoku-main\tinlib.ew:2781 ..on ( atom hinstance, object string) ^Warning: assumed to be a variable_id, not a type F:\misc\jsudoku-main\tinlib.ew:2532 InfoMsg("dat war nix","cbex_AddText") ^Warning: forward call assumed F:\misc\jsudoku-main\tinlib.ew:2382 Void = AppendSeparator (menuhandle) ^Warning: forward call assumed F:\misc\jsudoku-main\tinlib.ew:2323 WarnMsg("Menu IDs are only allowed from 1 to 999\nID Exeed Max in "&calle.. ^Warning: forward call assumed Press Enter for next page or 'q' to quit... F:\misc\jsudoku-main\tinlib.ew:2118 target_new=FindWindow (target,tinEWGApp) ^Warning: forward call assumed F:\misc\jsudoku-main\tinlib.ew:2116 Void = SendMessage (target,WM_COPYDATA,WinHwnd,IPC_COPYDATASTRUCT) ^Warning: forward call assumed F:\misc\jsudoku-main\tinlib.ew:2104 IPC_SendString (friend, "ACK" ) ^Warning: forward call assumed F:\misc\jsudoku-main\tinlib.ew:2054 ..d = SetWindowLong (handle,GWL_EXSTYLE,and_bits(GetWindowLong(handle,GWL_EXS.. ^Warning: forward call assumed F:\misc\jsudoku-main\tinlib.ew:2054 Void = SetWindowLong (handle,GWL_EXSTYLE,and_bits(GetWindowLong(handl.. ^Warning: forward call assumed F:\misc\jsudoku-main\tinlib.ew:1878 p_filename=allocate_wstring(WideCharSeq(filename)) ^Warning: forward call assumed Press Enter, or d for diagnostics...
Let me know if you need any help cleaning that lot up - just to prove I could, I got it down to 0 warnings here.