Re: [fpc-pascal] [2.3.1] Can't take the address of constant expressions

2007-12-04 Thread Jonas Maebe
On 04 Dec 2007, at 12:06, Damien Gerard wrote: I am trying the 2.3.1 and I can not recompile my projects. I ve got the message :Can't take the address of constant expressions. I have only the following : No, you have more: bigmac:~/fpc/test jonas$ cat tt4.pp {$mode delphi} TMyClass = class

[fpc-pascal] [2.3.1] Can't take the address of constant expressions

2007-12-04 Thread Damien Gerard
Hi ! I am trying the 2.3.1 and I can not recompile my projects. I ve got the message :Can't take the address of constant expressions. I have only the following : TMyClass = class(TObject) p_ref : TAnotherClass; procedure setRef(AValue: TANotherClass); public property ref: TAnotherClas