[fpc-devel]Bug: using @ with procedures in FPC
Sergey.Korshunoff at p5.f2666.n5020.z2.fidonet.org
Fri Jun 1 02:40:36 CEST 2001
Look at program:
type TP = procedure;
type PP = ^TP;
This program is work OK when compiled by FPC in -S2 mode (OBJFPC).
But it is crashing if compiled by FPC in -Sd mode (Delphi).
We have the same behavior when we compile with Kylix (DCC).
I think there is a problem: compilers do not tell us any warning
but generate a wrong code.
If to replace
then DCC compiled binary work OK. But FPC do not compile this.
More information about the fpc-devel