FPC 3.2.2 OS/2 pmwin unit lazarus / 68-Other OS ---------------------------------------------------------------------- ghr · 2022-12-29 14:01 This unit has {$mode objfpc} on top which changes (in this case: messes up) integer sizes, and hence record sizes. E.g. MENUITEM, MSEMSG. Fix can be simple IMHO: move {$mode objfpc} down to where it is needed: just above last declaration before implementation. ---------------------------------------------------------------------- PascalDragon · 2022-12-29 14:24 Quote from: ghr on December 29, 2022, 03:01:05 pmThis unit has {$mode objfpc} on top which changes (in this case: messes up) integer sizes, and hence record sizes. E.g. MENUITEM, MSEMSG. Fix can be simple IMHO: move {$mode objfpc} down to where it is needed: just above last declaration before implementation. A {$mode xxx} directive can not appear after the uses clause of the interface-section. Regarding your issue with the pmwin unit: Please report a bug on the bug tracking system. ---------------------------------------------------------------------- ghr · 2022-12-30 20:18 Done; and noticed. ---------------------------------------------------------------------- Tomas Hajny · 2022-12-31 11:57 Thanks for the report. I'll simply use System.integer in the respective declarations. ---------------------------------------------------------------------- ghr · 2026-09-03 11:54 Tested with 3.2.4 rc 2: no change...  I added this remark to the existing ticket, or should I have opened a new one? Other than that: what compiles and runs with 3.2.2 also compiles and runs with 3.2.4 rc2. ---------------------------------------------------------------------- Tomas Hajny · 2026-09-03 12:18 The existing ticket is just fine, thanks again, I already responded in the ticket. The fix hasn't been merged to the fixes branch (i.e. was performed only in the main branch, but the new version will be based on the fixes branch). I'll make sure to have it merged both to the general fixes branch and the release branch. Moreover, I found some additional instances not fixed previously and committed fixes to those as well (to the main branch, but I'll want them merged as well).