[Lazarus] Updates to Synedit and 64 bit have linking problems

Sergei Gorelkin sergei_gorelkin at mail.ru
Sun Mar 18 11:18:39 CET 2012


18.03.2012 14:08, Mattias Gaertner пишет:
> On Sun, 18 Mar 2012 10:50:27 +0200
> ik<idokan at gmail.com>  wrote:
>
>> Hello,
>>
>> I tried to compile Lazarus today from svn (after two weeks of not
>> updating it), and got the following error message:
>> lazarus/components/synedit/synedithighlighterfoldbase.pas(722,13)
>> Error: Asm: [movsxd mem64,reg32] invalid combination of opcode and
>> operands
>>
>> It happens at lazarus/components/synedit/synedithighlighterfoldbase.pas
>> Line 722 for the code of:
>>
>> Result := FoldBlockEndLevel(ALineIndex, AFilter) -
>> FoldBlockMinLevel(ALineIndex, AFilter);
>
> It compiles here.
> What compiler version has problems with it?
>
This bug (Mantis #20850) has been fixed in FPC revision 19848. IIRC you also need to compile with 
-O2 to trigger it.

Regards,
Sergei




More information about the Lazarus mailing list