[fpc-devel]Need help for bug report

Marco van de Voort marcov at stack.nl
Sat Jul 17 12:29:24 CEST 2004


> Compiling lazarus with current fpc (since about a week) gives
> 
> synmacrorecorder.pas(618,43) Error: Asm: [mov ???,mem32] invalid combination
> of opcode and operands
> 
> I tried to create a small example for a bug report, but was not able to
> reproduce it in a small example.
> 
> procedure TCustomSynMacroRecorder.SaveToStream(aDest: TStream);
> var
>   cEvent, eCnt : integer;
> begin
>   eCnt := EventCount;
>   aDest.Write(eCnt, sizeof(eCnt));
>   for cEvent := 0 to eCnt -1 do
>     Events[ cEvent ].SaveToStream( aDest ); // line 618
> end;
> 
> where Events is defined as
>   property Events[aIndex: integer]: TSynMacroEvent read GetEvent;
> 
> 
> Maybe someone can give me a hint or two, how to report this.

Compile the file with -al. One then probably gets the error in the asm file.





More information about the fpc-devel mailing list