WinCEInt.pp(123,21) Error: Overridden methods must have the same return type: "TWidgetSet.GetStockObject(LongInt):DWord" is overriden by "TWinCEWidgetSet.GetStockObject(LongInt):LongInt" which has another return type
THandle = type PtrInt;
THandle = {$ifdef windows}system.THandle;{$else}type PtrInt;{$endif}
{$ifndef WINDOWS} {$IFDEF CPU64} // temp solution for 32bit system.Thandle THandle = type PtrInt; HANDLE = THandle; PHandle = ^THandle; {$ENDIF} ...
Maybe this block is never reached compiling wince?
make lcl LCL_PLATFORM=wince PP=ppcrossarm.exe CPU_TARGET=arm OS_TARGET=wince
make -C interfaces allmake[2]: Entering directory `/d/Apps/Lazarus/lcl/interfaces'make -C wince allmake[3]: Entering directory `/d/Apps/Lazarus/lcl/interfaces/wince'/usr/bin/rm.exe -f ../../units/arm-wince/wince/interfaces.ppu \ ../../units/arm-wince/wince/interfaces.o/d/freepascal/bin/i386-Win32/gmkdir.exe -p ../../units/arm-wince/winceppcrossarm.exe -Twince -Parm -XParm-wince- -Xc -Xr -gl -Fu../../units/arm-wince-Fu. -FE. -FU../../units/arm-wince/wince -darm interfaces.ppPPU Loading d:\Apps\Lazarus\lcl\units\arm-wince\Graphics.ppuPPU Loading d:\Apps\Lazarus\lcl\units\arm-wince\Graphics.ppuRecompiling Graphics, checksum changed for IntfGraphicsPPU Loading d:\Apps\Lazarus\lcl\units\arm-wince\Graphics.ppuFatal: Can't find unit GraphicsFatal: Compilation abortedmake[3]: *** [interfaces.ppu] Error 1make[3]: Leaving directory `/d/Apps/Lazarus/lcl/interfaces/wince'make[2]: *** [wince_all] Error 2make[2]: Leaving directory `/d/Apps/Lazarus/lcl/interfaces'make[1]: *** [interfaces] Error 2make[1]: Leaving directory `/d/Apps/Lazarus/lcl'make: *** [lcl] Error 2