[lazarus] Compiler bug tracking...

Tom Lisjac netdxr at adelphia.net
Sat Jun 28 03:19:21 EDT 2003



> You can always report them under 1.0.6, most times the bug is also present 
> in that release

Thanks. On second thought, I'm not sure if the problem I'm seeing is a
bug or a compiler implementation issue. The Delphi compiler resolves
call references to a declared function type and variable such as:   

Type
  TickCallFunc = function:Int64;

SomeClass = Class
  FTicks:TickCallFunc;
end;

FTicks:=@SomeInt64Func;

Procedure LocalProc;
  Var LocalVar:Int64;
  Begin
    LocalVar:=FTicks;

In FPC, the compiler quits at the assignment with a type incompatibility
between TickCallFunc and int64.  Does FPC support this syntax?

-Tom







More information about the Lazarus mailing list