Sign in Join

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

Mailing lists / lazarus / 2003-04

Win32 not compile

2 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

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

Peter Vreman
to Cristiano Magro: Hi source from CVS not compile under win32. Free Pascal Compiler version 1.0.8-pre1…
Show quoted text 18 lines
Hi source from CVS not compile under win32. Free Pascal Compiler version 1.0.8-pre1 [2003/04/08] for i386 Copyright (c) 1993-2003 by Florian Klaempfl Target OS: Win32 for i386 Compiling lazarus.pp Compiling main.pp Compiling debugmanager.pas Compiling mainbar.pas mainbar.pas(1349,38) Hint: Parameter SENDER not used mainbar.pas(1384,17) Error: Incompatible type for arg no. 2: Got TSEEKORIGIN, ex pected WORD mainbar.pas(1398,18) Error: Incompatible type for arg no. 2: Got TSEEKORIGIN, ex pected WORD mainbar.pas(1582) Fatal: There were 2 errors compiling module, stopping

This is a 1.0.x vs. 1.1 issue. The 1.1 FCL supports 64bit offsets

Reply by email

Cristiano Magro

Hi
source from CVS not compile under win32.

Free Pascal Compiler version 1.0.8-pre1 [2003/04/08] for i386 Copyright (c) 1993-2003 by Florian Klaempfl
Target OS: Win32 for i386
Compiling lazarus.pp
Compiling main.pp
Compiling debugmanager.pas
Compiling mainbar.pas
mainbar.pas(1349,38) Hint: Parameter SENDER not used mainbar.pas(1384,17) Error: Incompatible type for arg no. 2: Got TSEEKORIGIN, ex
pected WORD
mainbar.pas(1398,18) Error: Incompatible type for arg no. 2: Got TSEEKORIGIN, ex
pected WORD
mainbar.pas(1582) Fatal: There were 2 errors compiling module, stopping make[1]: *** [lazarus.exe] Error 1
make[1]: Leaving directory `C:/pp/source/lazarus'
make: *** [ide] Error 2

Problem is this line from mainbar.pas
1.64         (mattias  13-Apr-03):       fs.Seek(0,soEnd);

Cristiano

Reply by email