[lazarus] Error compiling

Mattias Gaertner nc-gaertnma at netcologne.de
Sat Nov 3 13:43:05 EST 2001


On Sat, 03 Nov 2001 14:27:01 -0300
"Luis R. Hilario" <l_hilario at yahoo.com> wrote:

> Hello,
> 
> For various days I have the following error compiling to Lazarus, but I
> see that you not they have it ¿should bring up to date the compilador?
> 
> main.pp(3433,26) Error: Incompatible types: got "<procedure variable
> type of procedure(TOBJECT,ansistring,LONGINT);>" expected "<procedure
> variable type of procedure(TOBJECT,shortstring,LONGINT);>"

The definition of TDBGCurrentLineEvent changed from shortstring to ansistring about 2 weeks ago. Plz check if the {$H+} flag is set in debugger/debugger.pp. If not, your cvs is corrupted.
Try 'cvs update -d' or remove debgugger/*.pp and update.


Mattias






More information about the Lazarus mailing list