[Lazarus] Delphi incompatibility - hard cast
Marco van de Voort
marcov at stack.nl
Sat Jan 18 23:48:00 CET 2014
On Fri, Jan 17, 2014 at 09:55:25PM -0500, Bob Hofman wrote:
> Both a syntax check and a build did not throw any errors but if I attempted
> to run the application it would error out with an access violation as soon
> as it got to the above assignment.
> I think that FPC is just catching it at compile time while Delphi is not.
Note that there is also a runtime check available for this in FPC. It is
called -CR and very, very useful.
More information about the Lazarus