View Issue Details

IDProjectCategoryView StatusLast Update
0036159LazarusDebuggerpublic2019-10-10 15:53
ReporterPascal RiekenbergAssigned ToMartin Friebe 
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Platformi386OSWindows 10 x64OS Version1903
Product Version2.0.5 (SVN)Product Build62012 
Target VersionFixed in Version 
Summary0036159: [Patch] Broken build for i386
Descriptionfpdmemorytools.pas(1302,35) Error: Can't determine which overloaded function to call
Steps To ReproduceRebuild IDE
TagsNo tags attached.
Fixed in Revision
LazTarget-
WidgetsetWin32/Win64
Attached Files
  • fpdmemorytools.pas.patch (568 bytes)
    Index: components/fpdebug/fpdmemorytools.pas
    ===================================================================
    --- components/fpdebug/fpdmemorytools.pas	(revision 62018)
    +++ components/fpdebug/fpdmemorytools.pas	(working copy)
    @@ -1299,7 +1299,7 @@
     
     
             if SourceReadSize <= ConvData.DestSize then begin
    -          move(ReadData^, ADest^, Min(SizeOf(TmpVal) ,ConvData.DestSize)); // Little Endian only
    +          move(ReadData^, ADest^, Min(QWord(SizeOf(TmpVal)) ,ConvData.DestSize)); // Little Endian only
               ReadData := ADest;
             end;
     
    

Activities

Pascal Riekenberg

2019-10-10 08:49

reporter  

fpdmemorytools.pas.patch (568 bytes)
Index: components/fpdebug/fpdmemorytools.pas
===================================================================
--- components/fpdebug/fpdmemorytools.pas	(revision 62018)
+++ components/fpdebug/fpdmemorytools.pas	(working copy)
@@ -1299,7 +1299,7 @@
 
 
         if SourceReadSize <= ConvData.DestSize then begin
-          move(ReadData^, ADest^, Min(SizeOf(TmpVal) ,ConvData.DestSize)); // Little Endian only
+          move(ReadData^, ADest^, Min(QWord(SizeOf(TmpVal)) ,ConvData.DestSize)); // Little Endian only
           ReadData := ADest;
         end;
 

Issue History

Date Modified Username Field Change
2019-10-10 08:49 Pascal Riekenberg New Issue
2019-10-10 08:49 Pascal Riekenberg Status new => assigned
2019-10-10 08:49 Pascal Riekenberg Assigned To => Martin Friebe
2019-10-10 08:49 Pascal Riekenberg File Added: fpdmemorytools.pas.patch
2019-10-10 13:22 Martin Friebe Status assigned => resolved
2019-10-10 13:22 Martin Friebe Resolution open => fixed
2019-10-10 13:22 Martin Friebe LazTarget => -
2019-10-10 13:22 Martin Friebe Widgetset Win32/Win64 => Win32/Win64
2019-10-10 15:53 Pascal Riekenberg Status resolved => closed