On 18/03/2012 08:50, ik 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);

I'm attaching patch to fix it.


Seen the responses.

Since it seems to affect the current release, I am willing ta apply a workaround patch, but:
-  the workaround should be IFDEF to the affected Target CPU
- must have a comment: "Todo: workaround for bug xxxxx. Remove when 2.6.2 is released"



--
_______________________________________________
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to