[fpc-devel] ConvUtils: ConvTypeToFamily and ConvFamilyToDescription conundrums
Stefan Glienke
sglienke at dsharp.org
Wed Jun 8 15:43:21 CEST 2022
> On 08/06/2022 14:58 Bart via fpc-devel <fpc-devel at lists.freepascal.org> wrote:
>
> 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.
Actually the behavior in Delphi depends on the $R switch.
More information about the fpc-devel
mailing list