[fpc-pascal] Compile error with published field

Joao Morais post at joaomorais.com.br
Wed Nov 15 17:16:46 CET 2006


Hello,

I have a TPersistent decendant class that causes the following compiling
error:

"Only class which are compiled in $M+ mode can be published"

This is the inheritance:

TPersistent (Classes unit)
+-TPressStreamable (PressClasses unit)
   +-TPressSubject (PressSubject unit)
     +-TPressObject (PressSubject unit)

Am I missing something?

WinXP and the just released Lazarus 0.9.20 (with FPC 2.0.4)

Thanks,
--
Joao Morais




More information about the fpc-pascal mailing list