tthread.queue() (and synchronize) overloading problems in $mode delphi
The below code gives a Error: Can't determine which overloaded function to call with the queue and synchronize anonymous method patch applied. mode objfpc is fine ` {$mode delphi} // objfpc is ok uses classes; type TTestThread = class(tthread) procedure something; // matches tthreadmethod procedure xx; end; procedure ttestthread.something; begin end; procedure ttestthread.xx; begin Queue(Something); // add @ for mode objfpc end; begin end. `
issue