> On 08/06/2022 14:58 Bart via fpc-devel <fpc-devel@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. _______________________________________________ fpc-devel maillist - fpc-devel@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel