[fpc-devel] FPDE problem

Christopher Kirkpatrick chris.kirkpatrick at doctors.org.uk
Sun Jan 16 21:27:01 CET 2005


I'm trying to build FPDE to do some documentation on the lcl. Using CVS
of1/1/2005 I cd to fpc/utils/fpcdoc/fpde and issue a 'Make'. Get the
following error messages:

kirkpatc at 1[fpde]$ make
/usr/bin/ppc386 -Fu../../../rtl/units/i386-linux
-Fu../../../packages/base/paszlib/un
its/i386-linux -Fu../../../packages/base/netdb/units/i386-linux
-Fu../../../packages/
base/libasync/units/i386-linux
-Fu../../../packages/base/pthreads/units/i386-linux -F
u../../../fcl/units/i386-linux
-Fu../../../packages/extra/gtk/units/i386-linux -Fu../
../../packages/extra/fpgtk/units/i386-linux
-Fu../../../packages/base/pasjpeg/units/i
386-linux -Fu../../../packages/base/ibase/units/i386-linux
-Fu../../../packages/base/
postgres/units/i386-linux
-Fu../../../packages/base/mysql/units/i386-linux -Fu../../.
./packages/base/sqlite/units/i386-linux
-Fu../../../packages/extra/x11/units/i386-lin
ux -Fu../../../packages/extra/opengl/units/i386-linux -FE.
-FUunits/i386-linux -Fl/us
r/lib/gcc-lib/i486-linux/3.3.5 -Fl/lib -Fl/usr/lib -Fl/usr/X11R6/lib
-Fl/usr/i486-lin
uxlibc1/lib -Fl/usr/lib/libc5-compat -Fl/lib/libc5-compat -di386 fpde.pp
Free Pascal Compiler version 1.9.6 [2004/12/31] for i386
Copyright (c) 1993-2004 by Florian Klaempfl
Target OS: Linux for i386
Compiling fpde.pp
Compiling frmmain.pp
Compiling pgeditor.pp
pgeditor.pp(240,45) Error: Incompatible type for arg no. 1: Got
"<procedure variable
type of procedure(TFPgtkWidget, Pointer) of object;Register>", expected
"<procedure v
ariable type of procedure(TFPgtkObject, Pointer) of object;Register>"
pgeditor.pp(249,53) Error: Incompatible type for arg no. 1: Got
"<procedure variable
type of procedure(TFPgtkWidget, Pointer) of object;Register>", expected
"<procedure v
ariable type of procedure(TFPgtkObject, Pointer) of object;Register>"
pgeditor.pp(262,55) Error: Incompatible type for arg no. 1: Got
"<procedure variable
type of procedure(TFPgtkWidget, Pointer) of object;Register>", expected
"<procedure v
ariable type of procedure(TFPgtkObject, Pointer) of object;Register>"
pgeditor.pp(273,52) Error: Incompatible type for arg no. 1: Got
"<procedure variable
type of procedure(TFPgtkWidget, Pointer) of object;Register>", expected
"<procedure v
ariable type of procedure(TFPgtkObject, Pointer) of object;Register>"
pgeditor.pp(286,42) Error: Incompatible type for arg no. 1: Got
"<procedure variable
type of procedure(TFPgtkWidget, Pointer) of object;Register>", expected
"<procedure v
ariable type of procedure(TFPgtkObject, Pointer) of object;Register>"
pgeditor.pp(338,19) Error: Incompatible type for arg no. 1: Got
"TDOMNode", expected
"TDOMElement"
pgeditor.pp(646,62) Error: Incompatible type for arg no. 4: Got
"<procedure variable
type of procedure(TFPgtkWidget, Pointer) of object;Register>", expected
"<procedure v
ariable type of procedure(TFPgtkObject, Pointer) of object;Register>"
pgeditor.pp(647,62) Error: Incompatible type for arg no. 4: Got
"<procedure variable
type of procedure(TFPgtkWidget, Pointer) of object;Register>", expected
"<procedure v
ariable type of procedure(TFPgtkObject, Pointer) of object;Register>"
pgeditor.pp(653,63) Error: Incompatible type for arg no. 4: Got
"<procedure variable
type of procedure(TFPgtkWidget, Pointer) of object;Register>", expected
"<procedure v
ariable type of procedure(TFPgtkObject, Pointer) of object;Register>"
pgeditor.pp(654,63) Error: Incompatible type for arg no. 4: Got
"<procedure variable
type of procedure(TFPgtkWidget, Pointer) of object;Register>", expected
"<procedure v
ariable type of procedure(TFPgtkObject, Pointer) of object;Register>"
pgeditor.pp(965,38) Error: Incompatible type for arg no. 1: Got
"<procedure variable
type of procedure(TFPgtkWidget, Pointer) of object;Register>", expected
"<procedure v
ariable type of procedure(TFPgtkObject, Pointer) of object;Register>"
pgeditor.pp(1143,41) Error: Incompatible type for arg no. 1: Got
"<procedure variable
 type of procedure(TFPgtkWidget, Pointer) of object;Register>", expected
"<procedure
variable type of procedure(TFPgtkObject, Pointer) of object;Register>"
pgeditor.pp(1172,47) Error: Incompatible type for arg no. 1: Got
"<procedure variable
 type of procedure(TFPgtkWidget, Pointer) of object;Register>", expected
"<procedure
variable type of procedure(TFPgtkObject, Pointer) of object;Register>"
pgeditor.pp(1182,50) Error: Incompatible type for arg no. 1: Got
"<procedure variable type of procedure(TFPgtkWidget, Pointer) of
object;Register>", expected "<procedurevariable type of
procedure(TFPgtkObject, Pointer) of object;Register>"
pgeditor.pp(1594,9) Warning: Comment level 2 found
pgeditor.pp(1901) Fatal: There were 14 errors compiling module, stopping
make: *** [fpde] Error 1
kirkpatc at 1[fpde]$


Looks as if the compiler is expecting gtkObject and finding gtkWidget.
Help!!

Chris
-- 
Christopher Kirkpatrick <chris.kirkpatrick at doctors.org.uk>





More information about the fpc-devel mailing list