[dcc32 Error] smmFunctions.pas(337): E2107 Operand size mismatch

<< Click to Display Table of Contents >>

Navigation:  Forum >

[dcc32 Error] smmFunctions.pas(337): E2107 Operand size mismatch

Forum link

 

 

 


 

05-16-2024, 06:08 PM:

 

Hi 

 

I installed IW  15.6.1

 

And again I get [dcc32 Error] smmFunctions.pas(337): E2107 Operand size mismatch.

 

why is this not corrected.

 

Anyone know how to correct the error?

 

function BitScanLast(aValue: NativeInt): NativeUInt;

 

asm

 

{$IFDEF CPU386}

 

  BSR AX, aValue;                                        <================= incorrect

 

{$ELSE} .NOFRAME

 

  BSR RAX, aValue;

 

{$ENDIF}

 

end;