Menu

#538 fpc 3.3.1 breaks (once again) compatibility

Unknown
closed
nobody
None
Feature Request
2021-11-24
2021-10-27
fred vs
No

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

Discussion

  • Fr0sT.Brutal

    Fr0sT.Brutal - 2021-10-27

    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

     
  • fred vs

    fred vs - 2021-10-27

    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.

     
  • fred vs

    fred vs - 2021-11-01

    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
    • marsupilami79

      marsupilami79 - 2021-11-24

      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

       
  • marsupilami79

    marsupilami79 - 2021-11-24
    • status: open --> closed
     
  • marsupilami79

    marsupilami79 - 2021-11-24

    Closing because I removed TAnsiRec from ZCompatibility.pas.

     

Log in to post a comment.