Hello.
Commit from last week in fpc 3.3.1 breaks compatibility with msegui (and maybe zeoslib).
https://gitlab.com/freepascal.org/fpc/source/-/commit/ee10850a5793b69b19dc82b9c28342bdd0018f2e
Compiling msegui apps with fpc 3.3.1 after that release --> msegui apps does not run anymore.
I noted that Zeos lib, like msegui, has his own TAnsiRec declaration inZCompatibility.pas.
So I fear that the compatibility with zeoslib is also broken.
I did try to solve it for msegui but without luck, even setting this, like in commit fpc 3.3.1:
{$ifdef CPU64}
Ref : longint;
{$else}
Ref : SizeInt;
It did not help.
Maybe you have a idea how to fix it, personally I am totally lost.
Thanks.
Fre;D
Well, these records are internals, FPC team has the full right to change them without notice and backward compat. Relying on internals has always been unstable
Of course FPC team has the full right to change things without notice and backward compat.
But he has also the full right to help people to keep compat.
Hello.
OK fixed for msegui.
In case of problem in ZCompatibility.pas with fpc commit mentioned, maybe this could help.
Last edit: fred vs 2021-11-01
Hello Fred,
thank you for pointing this out. I removed TAnsiRec from ZCompatibility and changed all the places where it was used.
Best regards,
Jan
Closing because I removed TAnsiRec from ZCompatibility.pas.