[lazarus] Can't compile.........
Vincent Snijders
vsnijders at zonnet.nl
Wed Feb 16 20:43:45 EST 2000
Dave,
If you are on trying to compile lazarus for win32, try to edit
mwcustomedit.pas so that it doesn't reference the windows units, but the
LCLLinux (even if you are on win32).
I made replaced line 102-106 by
LCLLinux,
line 1151-1155 by
if LCLLinux.HideCaret(Handle) then fCaretVisible := True;
and line 2774-2778 by
if LCLLinux.ShowCaret(Handle) then fCaretVisible := True;
The reason you get these error messages is that lcllinux is supposed to have
the same interface as the windows unit, but has some minor differences (e.g.
passing pointer instead of var paramater). The LCLLinux unit calls into the
windows unit when compiled on win32.
----- Original Message -----
From: Dave Osborne <dave at theparty.demon.co.uk>
To: <lazarus at miraclec.com>
Sent: Wednesday, February 16, 2000 10:57 PM
Subject: [lazarus] Can't compile.........
> Help!
>
> I'm new to this, I can't compile the lazarus source, I get the following
>
> mwcustomedit.pas(1827,58) Error: Incompatible type for arg no. 8: Got
> VOID_POINTER, expected LONGINT
> mwcustomedit.pas(1877,43) Error: Incompatible type for arg no. 8: Got
> VOID_POINTER, expected LONGINT
> mwcustomedit.pas(1904,58) Error: Incompatible type for arg no. 8: Got
> VOID_POINTER, expected LONGINT
> mwcustomedit.pas(1921,58) Error: Incompatible type for arg no. 8: Got
> VOID_POINTER, expected LONGINT
> mwcustomedit.pas(1967,43) Error: Incompatible type for arg no. 8: Got
> VOID_POINTER, expected LONGINT
> mwcustomedit.pas(1992,58) Error: Incompatible type for arg no. 8: Got
> VOID_POINTER, expected LONGINT
> mwcustomedit.pas(2054,48) Error: Incompatible type for arg no. 8: Got
> VOID_POINTER, expected LONGINT
> mwcustomedit.pas(2072,58) Error: Incompatible type for arg no. 8: Got
> VOID_POINTER, expected LONGINT
> mwcustomedit.pas(2206,69) Error: Incompatible type for arg no. 8: Got
> VOID_POINTER, expected LONGINT
> mwcustomedit.pas(2226,58) Error: Incompatible type for arg no. 8: Got
> VOID_POINTER, expected LONGINT
> mwcustomedit.pas(2247,58) Error: Incompatible type for arg no. 8: Got
> VOID_POINTER, expected LONGINT
> mwcustomedit.pas(2265,58) Error: Incompatible type for arg no. 8: Got
> VOID_POINTER, expected LONGINT
> mwcustomedit.pas(2289,58) Error: Incompatible type for arg no. 8: Got
> VOID_POINTER, expected LONGINT
> mwcustomedit.pas(2310,58) Error: Incompatible type for arg no. 8: Got
> VOID_POINTER, expected LONGINT
> mwcustomedit.pas(2343,58) Error: Incompatible type for arg no. 8: Got
> VOID_POINTER, expected LONGINT
> mwcustomedit.pas(2361,58) Error: Incompatible type for arg no. 8: Got
> VOID_POINTER, expected LONGINT
> mwcustomedit.pas(2821,36) Error: Incompatible type for arg no. 3: Got
> SCROLLINFO, expected LPCSCROLLINFO
> mwcustomedit.pas(2837,36) Error: Incompatible type for arg no. 3: Got
> SCROLLINFO, expected LPCSCROLLINFO
> mwcustomedit.pas(2901,26) Error: Incompatible type for arg no. 2: Got
> TPOINT, expected POINT
> mwcustomedit.pas(4159,34) Error: Incompatible types: got "POINT" expected
> "TPOINT"
> mwcustomedit.pas(4602,1) Fatal: Internal error 7453984
> make.exe[1]: Leaving directory `c:/pp/source/lazarus/components/mwedit'
>
> any advise?
> Dave.
>
>
> _________________________________________________________________
> 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