[lazarus] Compiling Lazarus.pp

M. Reijnders reynders at westbrabant.net
Thu Jun 10 13:25:16 EDT 1999


Hello,

I have exactly the same problem. I have the recent fpc from cvs and the
recent Lazarus source code (today).
When I disable these lines and try to compile, I get other errors in lines
with "@".

for example:

main.pp
OnDestroy := @FormKill;          (line 147)

compileroptions.pp
OnShow := @FormOnShow;     (line 63)

Free Pascal Compiler version 0.99.12 [1999/06/10] for i386
Copyright (c) 1993-98 by Florian Klaempfl
Target OS: Linux for i386
Compiling lazarus.pp
Compiling forms.pp
Compiling main.pp
Compiling editor.pp
Compiling dialogs.pp
dialogs.pp(66,1) Warning: Function result does not seem to be set
dialogs.pp(62,32) Hint: Parameter not used WIDGET
dialogs.pp(74,1) Warning: Function result does not seem to be set
dialogs.pp(70,36) Hint: Parameter not used WIDGET
dialogs.pp(82,1) Warning: Function result does not seem to be set
dialogs.pp(78,35) Hint: Parameter not used WIDGET
dialogs.pp(172,33) Error: Method (variable) and Procedure (variable) are
not compatible
dialogs.pp(172,33) Error: Method (variable) and Procedure (variable) are
not compatible
dialogs.pp(177,33) Error: Method (variable) and Procedure (variable) are
not compatible
dialogs.pp(177,33) Error: Method (variable) and Procedure (variable) are
not compatible
dialogs.pp(182,33) Error: Method (variable) and Procedure (variable) are
not compatible
dialogs.pp(182,33) Error: Method (variable) and Procedure (variable) are
not compatible
dialogs.pp(172,33) Error: Method (variable) and Procedure (variable) are
not compatible
dialogs.pp(172,33) Error: Method (variable) and Procedure (variable) are
not compatible
dialogs.pp(177,33) Error: Method (variable) and Procedure (variable) are
not compatible
dialogs.pp(177,33) Error: Method (variable) and Procedure (variable) are
not compatible
dialogs.pp(182,33) Error: Method (variable) and Procedure (variable) are
not compatible
dialogs.pp(182,33) Error: Method (variable) and Procedure (variable) are
not compatible
Fatal: There were 12 errors compiling module, stopping



Could someone help me?


Merijn Reijnders

At 05:49 PM 6/8/99 -0500, you wrote:
>Anyone else having problems compiling Lazarus from the latest from cvs.
>Problem seems to be in call to gtk_signal_func.
>
>Snippet from dialogs.pp
>-----------------------------
>170     gtk_signal_connect_object( gtk_object(
>(PGtkFileSelection(FComponent))^.ok_button),
> 171                               'clicked',
>172                                gtk_signal_func( @gtk_ok),
> 173                               gtk_object( self));
>
>
>Snippet from make
>-----------------------
>Compiling dialogs.pp
>dialogs.pp(66,1) Warning: Function result does not seem to be set
>dialogs.pp(62,32) Hint: Parameter not used WIDGET
>dialogs.pp(74,1) Warning: Function result does not seem to be set
>dialogs.pp(70,36) Hint: Parameter not used WIDGET
>dialogs.pp(82,1) Warning: Function result does not seem to be set
>dialogs.pp(78,35) Hint: Parameter not used WIDGET
>dialogs.pp(172,33) Error: Method (variable) and Procedure (variable) are
>not compatible
>dialogs.pp(172,33) Error: Method (variable) and Procedure (variable) are
>not compatible
>dialogs.pp(177,33) Error: Method (variable) and Procedure (variable) are
>not compatible
>dialogs.pp(177,33) Error: Method (variable) and Procedure (variable) are
>not compatible
>dialogs.pp(182,33) Error: Method (variable) and Procedure (variable) are
>not compatible
>dialogs.pp(182,33) Error: Method (variable) and Procedure (variable) are
>not compatible
>dialogs.pp(172,33) Error: Method (variable) and Procedure (variable) are
>not compatible
>dialogs.pp(172,33) Error: Method (variable) and Procedure (variable) are
>not compatible
>dialogs.pp(177,33) Error: Method (variable) and Procedure (variable) are
>not compatible
>dialogs.pp(177,33) Error: Method (variable) and Procedure (variable) are
>not compatible
>dialogs.pp(182,33) Error: Method (variable) and Procedure (variable) are
>not compatible
>dialogs.pp(182,33) Error: Method (variable) and Procedure (variable) are
>not compatible
>Fatal: There were 12 errors compiling module, stopping
>make: *** [lazarus] Error 1
>[root at a202-073 lazarus]#
>
>Tom
>
>_________________________________________________________________
>     To unsubscribe: mail lazarus-request at miraclec.com with
>                "unsubscribe" as the Subject
>    archives at http://www.miraclec.com/list_archives/lazarus






More information about the Lazarus mailing list