Re: [fpc-pascal] Compile error with published field

2006-11-18 Thread Michael Van Canneyt
On Sat, 18 Nov 2006, Joao Morais wrote: > Michael Van Canneyt wrote: > > > > > This is the code: > > > > > > > > TPressObject = class(TPressSubject) > > > > _Id: TPressString; > > > > private // <- compiler stops here > > > > ... > > > > > > > > and this is the inheritance: > > > >

Re: [fpc-pascal] Compile error with published field

2006-11-18 Thread Joao Morais
Michael Van Canneyt wrote: This is the code: TPressObject = class(TPressSubject) _Id: TPressString; private // <- compiler stops here ... and this is the inheritance: TPersistent (Classes unit) +-TPressStreamable (PressClasses unit) +-TPressSubject (PressSubject unit) +-TP

Re: [fpc-pascal] Compile error with published field

2006-11-18 Thread Michael Van Canneyt
On Fri, 17 Nov 2006, Joao Morais wrote: > Joao Morais wrote: > > Michael Van Canneyt wrote: > > > > > > On Wed, 15 Nov 2006, Joao Morais wrote: > > > > > > > Hello, > > > > > > > > I have a TPersistent decendant class that causes the following compiling > > > > error: > > > > > > > > "Only class

Re: [fpc-pascal] Compile error with published field

2006-11-17 Thread Joao Morais
Joao Morais wrote: Michael Van Canneyt wrote: On Wed, 15 Nov 2006, Joao Morais wrote: 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) +-T

Re: [fpc-pascal] Compile error with published field

2006-11-15 Thread Joao Morais
Michael Van Canneyt wrote: On Wed, 15 Nov 2006, Joao Morais wrote: 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 (Pre

Re: [fpc-pascal] Compile error with published field

2006-11-15 Thread Michael Van Canneyt
On Wed, 15 Nov 2006, Joao Morais wrote: > > 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 (PressCl

[fpc-pascal] Compile error with published field

2006-11-15 Thread Joao Morais
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) +-TPressObje