System.Move incompatible type at call parameters error
Original Reporter info from Mantis: benjamin@0ok.de @bero1985
-
Reporter name: Benjamin Rosseaux
Original Reporter info from Mantis: benjamin@0ok.de @bero1985
- Reporter name: Benjamin Rosseaux
Description:
F:\Testcases\issue3_unit.pas(205,30) Error: (4025) Incompatible type for arg no. 1: Got "$gendef0", expected "&LtPos;Formal type>"
C:\fpcupdeluxe\fpc\units\arm-linux\rtl\system.ppu:arm.inc(235,11) Hint: (5039) Found declaration: Move(const &LtPos;Formal type>;var &LtPos;Formal type>;LongInt);
F:\Testcases\issue3_unit.pas(222,31) Error: (4025) Incompatible type for arg no. 1: Got "$gendef0", expected "&LtPos;Formal type>"
C:\fpcupdeluxe\fpc\units\arm-linux\rtl\system.ppu:arm.inc(235,11) Hint: (5039) Found declaration: Move(const &LtPos;Formal type>;var &LtPos;Formal type>;LongInt);
issue3_unit.pas(261) Fatal: (10026) There were 2 errors compiling module, stopping
Fatal: (1018) Compilation aborted
at
System.Move(fItems[pIndex],fItems[pIndex+1],(OldCount-pIndex)*SizeOf(T));
in a generics-class in the issue3_unit.pas from at the attached .zip file
Steps to reproduce:
Compile issue3_unit.pas with FPC 3.3.1 r40869