[Lazarus] Issue #19163 not fixed for fpc 2.4.2

Torsten Bonde Christiansen tc at epidata.dk
Tue May 3 12:35:16 CEST 2011


Hi List.

Issue #19163 is not fixed when cross-compiling to Win64. I cannot reopen 
this issue as it is closed, can someone please do so.

My System:
Win7 (64-bit)
FPC 2.4.2 (x86_64)
Lazarus 0.9.30 revision 30539

Compiling using:
make clean all CPU_TARGET=x86_64 OS_TARGET=win64

Error:
C:/FPC/2.4.2/bin/i386-Win32/ppcrossx64.exe -Twin64 -Px86_64 
-XPx86_64-win64- -Xr
  -gl -Fu../../units/x86_64-win64 -Fu. -FE. 
-FU../../units/x86_64-win64/win32 -dx
86_64  interfaces.pp
Warning: Option "-Xr" is ignored for the current target platform.
Free Pascal Compiler version 2.4.2 [2010/11/10] for x86_64
Copyright (c) 1993-2010 by Florian Klaempfl
Target OS: Win64 for x64
Compiling interfaces.pp
Compiling win32int.pp
win32int.pp(27,26) Warning: User defined: Fix implicit pointer conversions
Compiling win32def.pp
Compiling win32proc.pp
Compiling win32extra.pas
Compiling win32proc.pp
Compiling win32wsfactory.pas
Compiling win32wsarrow.pp
Compiling win32wsbuttons.pp
Compiling win32wscontrols.pp
Compiling win32wsimglist.pp
win32wsimglist.pp(255,9) Warning: Function result variable does not seem 
to init
ialized
Compiling win32themes.pas
Compiling win32wscalendar.pp
Compiling win32wschecklst.pp
Compiling win32wsstdctrls.pp
Compiling win32wscomctrls.pp
win32wscomctrls.pp(817,76) Warning: Conversion between ordinals and 
pointers is
not portable
Compiling win32wsdialogs.pp
win32wsdialogs.pp(704,55) Error: Incompatible types: got "<procedure 
variable type of function(QWord,LongWord,Int64,Int64):QWord;StdCall>" 
expected "<procedure variable type of 
function(QWord,LongWord,Int64,Int64):DWord;StdCall>"
win32wsdialogs.pp(1501) Fatal: There were 1 errors compiling module, 
stopping
Fatal: Compilation aborted
make[3]: *** [interfaces.ppu] Error 1
make[3]: Leaving directory `C:/FPC/lazarus/lcl/interfaces/win32'
make[2]: *** [win32_all] Error 2
make[2]: Leaving directory `C:/FPC/lazarus/lcl/interfaces'
make[1]: *** [interfaces] Error 2
make[1]: Leaving directory `C:/FPC/lazarus/lcl'
make: *** [lcl] Error 2

C:\FPC\lazarus>


Kind regards,
Torsten Bonde Christiansen




More information about the Lazarus mailing list