Hello, Consider the following code:
=== test begin === {$MODE DELPHI} TStaticVirtualTest = class sealed(TObject) public class procedure Test; virtual; static; end; class procedure TStaticVirtualTest.Test; begin end; === test end === You can compile it in FPC (trunk), but, when you try to compile it on Delphi (Seattle): === error begin === E2376 STATIC can only be used on non-virtual class methods === error end === Is this a FPC bug? Thank you! -- Silvio Clécio
_______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal