cpstrnew branch (was Re: [fpc-devel] Freepascal 2.4.0rc1 released)

Vincent Snijders vsnijders at vodafonevast.nl
Wed Nov 11 16:16:31 CET 2009


Paul Ishenin schreef:
> Martin Schreiber wrote:
>> On Wednesday 11 November 2009 15:11:07 Florian Klaempfl wrote:
>>  
>>> What rtl did you use? You need one from the branch.
>>>     
>>
>> Compiling the cpstrnew rtl with fixes_2_4 does not work:
>>   
> 1. Build compiler executable with 2.2.4 / 2.4.0
> 2. Build RTL with the new executable

This fails here with the error Martin got too:
Compiling ../unix/cwstring.pp
cwstring.pp(731,26) Error: Incompatible types: got "<address of 
procedure(PWideChar,var AnsiString,LongInt);Register>" expected "<procedure variable 
type of procedure(PWideChar,var RawByteString,Word,LongInt);Register>"
cwstring.pp(732,26) Error: Incompatible types: got "<address of procedure(PChar,var 
WideString,LongInt);Register>" expected "<procedure variable type of 
procedure(PChar,Word,var WideString,LongInt);Register>"
cwstring.pp(756,29) Error: Incompatible types: got "<address of 
procedure(PWideChar,var AnsiString,LongInt);Register>" expected "<procedure variable 
type of procedure(PUnicodeChar,var RawByteString,Word,LongInt);Register>"
cwstring.pp(757,29) Error: Incompatible types: got "<address of procedure(PChar,var 
WideString,LongInt);Register>" expected "<procedure variable type of 
procedure(PChar,Word,var UnicodeString,LongInt);Register>"
cwstring.pp(780) Fatal: There were 4 errors compiling module, stopping

Vincent



More information about the fpc-devel mailing list