View Issue Details

IDProjectCategoryView StatusLast Update
0034893FPCCompilerpublic2019-01-19 22:24
ReporterBenjamin RosseauxAssigned ToFlorian 
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product Version3.3.1Product Buildr40869 
Target VersionFixed in Version3.3.1 
Summary0034893: System.Move incompatible type at call parameters error
Description
F:\Testcases\issue3_unit.pas(205,30) Error: (4025) Incompatible type for arg no. 1: Got "$gendef0", expected "<Formal type>"
C:\fpcupdeluxe\fpc\units\arm-linux\rtl\system.ppu:arm.inc(235,11) Hint: (5039) Found declaration: Move(const <Formal type>;var <Formal type>;LongInt);
F:\Testcases\issue3_unit.pas(222,31) Error: (4025) Incompatible type for arg no. 1: Got "$gendef0", expected "<Formal type>"
C:\fpcupdeluxe\fpc\units\arm-linux\rtl\system.ppu:arm.inc(235,11) Hint: (5039) Found declaration: Move(const <Formal type>;var <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
TagsNo tags attached.
Fixed in Revision40921
FPCOldBugId
FPCTarget
Attached Files

Activities

Benjamin Rosseaux

2019-01-17 21:45

reporter  

issue3.zip (3,283 bytes)

Issue History

Date Modified Username Field Change
2019-01-17 21:45 Benjamin Rosseaux New Issue
2019-01-17 21:45 Benjamin Rosseaux File Added: issue3.zip
2019-01-19 22:24 Florian Fixed in Revision => 40921
2019-01-19 22:24 Florian Status new => resolved
2019-01-19 22:24 Florian Fixed in Version => 3.3.1
2019-01-19 22:24 Florian Resolution open => fixed
2019-01-19 22:24 Florian Assigned To => Florian