Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2002-01

Continuation (Make) and other errors.

3 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Luis R. Hilario

Linux (Error)
-----

Compiling finddeclarationtool.pas
Compiling definetemplates.pas
Assembling definetemplates
finddeclarationtool.pas(3854,46) Error: Incompatible type for arg no. 1: Got <procedure variable type of function(PCHAR,PCHAR):LongInt;>, expected <procedure variable type of
function(void_pointer,void_pointer):LongInt;>
finddeclarationtool.pas(3906) Fatal: There were 1 errors compiling module, stopping

Windows (Make)
-------

C:/PP/BIN/WIN32/MAKE.EXE -C lcl all
MAKE.EXE[1]: Entering directory `C:/PP/LAZARUS/lcl' C:/PP/BIN/WIN32/rm.exe -f units/allunits.ppw
MAKE.EXE[1]: *** No rule to make target `allunits.ppw', needed by `all'. Stop.
MAKE.EXE[1]: Leaving directory `C:/PP/LAZARUS/lcl' C:\PP\BIN\WIN32\MAKE.EXE: *** [lcl] Error 2

|------------------------------| | Luis R. Hilario | | http://www.luis-digital.8m.com | |------------------------------| _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com

Reply by email

Mattias Gaertner
to Luis R. Hilario
Show quoted text 10 lines
Linux (Error) ----- Compiling finddeclarationtool.pas Compiling definetemplates.pas Assembling definetemplates finddeclarationtool.pas(3854,46) Error: Incompatible type for arg no. 1: Got <procedure variable type of function(PCHAR,PCHAR):LongInt;>, expected <procedure variable type of function(void_pointer,void_pointer):LongInt;>

I had been wondering, if it would compile. It did and without any hint. Therefore I kept it. Now I'm wondering why you can not compile compiler are you using? Anyway, I added a type cast; hopefully, that will solve it.

Mattias

Reply by email

Luis R. Hilario
to Luis R. Hilario: Linux (Error) ----- Compiling finddeclarationtool.pas Compiling definetemplates.pas…
Mattias Gaertner wrote 17 lines
On Wed, 30 Jan 2002 10:23:08 -0300 "Luis R. Hilario" wrote: > Linux (Error) > ----- > > Compiling finddeclarationtool.pas > Compiling definetemplates.pas > Assembling definetemplates > finddeclarationtool.pas(3854,46) Error: Incompatible type for arg no. > 1: Got <procedure variable type of function(PCHAR,PCHAR):LongInt;>, > expected <procedure variable type of > function(void_pointer,void_pointer):LongInt;> I had been wondering, if it would compile. It did and without any hint. Therefore I kept it. Now I'm wondering why you can not compile compiler are you using?

fpc.20011216.baselinux.tar.gz
Free Pascal Compiler version 1.0.5 [2001/12/16] for i386

Anyway, I added a type cast; hopefully, that will solve it.

Now functions.

|------------------------------| | Luis R. Hilario | | http://www.luis-digital.8m.com | |------------------------------| _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com

Reply by email