Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-devel / 2008-07

Re: Incompatible Types: got "untyped" expected "<procedure variable type of procedure(Pointer);Register>

1 message · 1 person ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Peter Vreman
Show quoted text 17 lines
> Yes but this has got nothing to do with original poster's problem :-). Sean (the original poster) is my coworker, so his problem and mine are one and the same. ;-) I'm having a little trouble parsing your responses though, so to clarify: In Delphi, the following code works: procedure BtnClick(Sender: TObject = nil); ... var Callback: TNotifyEvent; ... Callback := BtnClick; In FPC, it doesn't, even with "$MODE DELPHI". We consider that a bug in FPC's Delphi mode. Are we wrong?

Please submit bug with compilable sample code without requiring external units.

Peter

Reply by email