On Wed, Jun 8, 2022 at 11:43 AM Bart <bartjun...@gmail.com> wrote: > > And another observation: on Delphi 7 TConvType seems to be unsiged (in > fpc it's signed).
And as a consequence compilation in Delphi fails if a negative value is supplied to a function that takes a TConvType as a parameter, but also code like this will not raise an exception Delphi, while it does in Fpc: var L: Integer; begin L:=-1; writeln('ConvTypeToDescription(L)=',ConvTypeToDescription(L)); // prints [$0000FFFF] in D7, EAccessViolation in fpc end. -- Bart _______________________________________________ fpc-devel maillist - fpc-devel@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel