[fpc-devel] Patch for fixing CE compilation

Vincent Snijders vsnijders at quicknet.nl
Wed Nov 1 09:08:23 CET 2006


Marc Weustink schreef:
> Oro06 wrote:
>> Marc Weustink wrote:
>>> Hi,
>>>   
>> hi,
>>> This patch fixes CE compilation.
>>> I would have applied it myself, but I've some questions about the common
>>> win dir and the wince implementation in the rtl.
>>>   
>> you can apply it
> 
> Done, r5135
> 

Currently fpc 2.1.1 is broken on windows. Maybe it has to do something with this change?

c:/lazarus/source/fpcbuild/2.1/fpcsrc/compiler/ppc386.exe -Ur -Xs -O2 -n 
-FuC:/lazarus/source/fpcbuild/2.1/fpcsrc/rtl/units/i386-win32 -FE. 
-FUunits/i386-win32 -g -gl -Ur -CX -di386 -dRELEASE buildjwa.pp
jwawintype.pas(164,45) Error: Identifier not found "WCHAR"
jwawintype.pas(164,76) Error: Error in type definition
jwawintype.pas(169,17) Error: Type "WCHAR" is not completely defined
jwawintype.pas(171,16) Error: Type "WCHAR" is not completely defined
jwawintype.pas(173,18) Error: Type "WCHAR" is not completely defined
jwawintype.pas(175,17) Error: Type "WCHAR" is not completely defined
jwawintype.pas(177,18) Error: Type "WCHAR" is not completely defined
jwawintype.pas(734,18) Error: Illegal type conversion: "ShortInt" to "<erroneous type>"
jwawintype.pas(734,26) Error: Illegal expression
jwawintype.pas(1663,1) Fatal: There were 9 errors compiling module, stopping
Fatal: Compilation aborted

Vincent



More information about the fpc-devel mailing list