[lazarus] compilation error

Mattias Gaertner nc-gaertnma at netcologne.de
Fri Mar 7 11:46:06 EST 2003


On Fri, 7 Mar 2003 17:55:20 +0100
Jens During <jensduring at freenet.de> wrote:

> Hi all,
> 
> when I compile lazarus (from cvs) with fpc 1.07 I get the following error:
> 
> Assembling debugmanager
> main.pp(831,36) Hint: Parameter ACOMPONENT not used
> main.pp(854,36) Hint: Parameter SENDER not used
> main.pp(861,30) Hint: Parameter SENDER not used
> main.pp(861,52) Hint: Parameter ACTION not used
> main.pp(870,35) Hint: Parameter SENDER not used
> main.pp(1085,35) Error: Method (variable) and Procedure (variable) are not
> 
> compatible
> main.pp(1085,35) Error: Incompatible types: got "<procedure variable type
> of procedure(TCOMPONENT) of object;>" expected "<procedure variable type
> of procedure(TOBJECT) of object;>"

Looks like an old compiler bug.
Make sure that you use at least a fpc not older than 21 Sept 2002.


Mattias






More information about the Lazarus mailing list