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

Damien Gerard milipili at shikami.org
Tue Dec 4 12:06:14 CET 2007


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: TAnotherClass read p_ref write setRef;
end;

Where am I wrong for the 2.3.1 ?



--
Damien Gerard
milipili at shikami.org

People who used magic without knowing what they were doing usually  
came to a sticky end. All over the entire room, sometimes.
     -- (Terry Pratchett, Moving Pictures)






More information about the fpc-pascal mailing list