On Mon, Nov 25, 2013 at 8:18 PM, Sven Barth <[email protected]> wrote: > Neither global operators nor symbolic (<, >, etc.) operator names are > supported by Delphi.
You are right. Now looking more carefully at the example critterchess code : http://sourceforge.net/projects/critterchess it is already partly ported for FPC. There is no Lazarus project but the code has IFDEFs: {$ifndef FPC} class operator TRootMove.LessThan(m1, m2: TRootMove): boolean; {$else} operator < (m1, m2: TRootMove) LessThan : boolean; {$endif} The converter defines Mode Delphi and FPC is already defined. The result is illegal code. This is a good example of a strange code variation the converter gets. It cannot tackle all of them. Juha _______________________________________________ fpc-devel maillist - [email protected] http://lists.freepascal.org/mailman/listinfo/fpc-devel
