2009/6/1 Paul Ishenin <i...@kmiac.ru>: > > Have you tried as I wrote?
My mistake, I typed... type TMyClass = class(TObject) end; deprecated; instead of... type TMyClass = class(TObject) end deprecated; I used deprecated like you do for methods... after the last semi-colon. > Seems for unit this is not availble if fpc. Delphi allow use of deprecated > and platform marks for units too. That would be nice for FPC as well... ;-) The code I'm working on (tiOPF) is shared between Delphi and FPC compilers, so if deprecated is supported on both, that would be ideal (though not the end of the world if it's not). Regards, - Graeme - _______________________________________________ fpGUI - a cross-platform Free Pascal GUI toolkit http://opensoft.homeip.net/fpgui/ _______________________________________________ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel