[fpc-pascal]Strange Compiler Bug
Pierre Muller
pierre at freepascal.org
Thu Feb 28 14:47:21 CET 2002
At 14:40 28/02/2002 , vous avez écrit:
>On Thu, 28 Feb 2002 14:25:03 +0100
>Pierre Muller <pierre at freepascal.org> wrote:
>
> > >codecompletiontool.pas(881,29) Error: Method (variable) and Procedure (variable) are not compatible
> > >codecompletiontool.pas(881,29) Error: Method (variable) and Procedure (variable) are not compatible
> > >codecompletiontool.pas(1297) Fatal: There were 2 errors compiling module, stopping
> >
> > This might be due to a problem with
> > the compilation mode :
> > do some of your units have {$mode xxx}
> > set ?
>
>Yep, every single one has {$mode objfpc}.
I didn't read the message correctly....
You have a conflict between a method and a function....
Are there several CompareCodeTreeNodeExtWithPos in your program?
Maybe one function in some other unit
that is found before the method ??
More information about the fpc-pascal
mailing list