win32richmemoproc.pas(784,22) Error: Incompatible types: got "<address of function(PDWord;PByte;LongInt;var LongInt):DWord;StdCall>" expected "<procedure variable type of function(QWord;PByte;LongInt;var LongInt):DWord;StdCall>"win32richmemoproc.pas(812,22) Error: Incompatible types: got "<address of function(PDWord;PByte;LongInt;var LongInt):DWord;StdCall>" expected "<procedure variable type of function(QWord;PByte;LongInt;var LongInt):DWord;StdCall>"
Just `svn up` or report if it's still there, from time to time there will be broken commits, either due to sleepiness or unawareness (i.e. a change that works in one platform breaks another).
This is just a RichEdit problem. Patch included.
Hi, thank you, but how can I apply this patch?
Quote from: totya on October 29, 2020, 09:13:54 pmHi, thank you, but how can I apply this patch?Use "patch" command or TortoiseMerge. https://wiki.freepascal.org/Creating_A_Patch#Applying_a_patch
C:\lazarus\components\richmemo_svn\.\win32\win32richmemoproc.pas(770,10) Error: (4054) Illegal type conversion: "LongWord" to "TStream"C:\lazarus\components\richmemo_svn\.\win32\win32richmemoproc.pas(784,22) Error: (4001) Incompatible types: got "<address of function(LongWord;PByte;LongInt;var LongInt):DWord;StdCall>" expected "<procedure variable type of function(QWord;PByte;LongInt;var LongInt):DWord;StdCall>"C:\lazarus\components\richmemo_svn\.\win32\win32richmemoproc.pas(798,10) Error: (4054) Illegal type conversion: "LongWord" to "TStream"C:\lazarus\components\richmemo_svn\.\win32\win32richmemoproc.pas(812,22) Error: (4001) Incompatible types: got "<address of function(LongWord;PByte;LongInt;var LongInt):DWord;StdCall>" expected "<procedure variable type of function(QWord;PByte;LongInt;var LongInt):DWord;StdCall>"win32richmemoproc.pas(1130) Fatal: (10026) There were 4 errors compiling module, stoppingFatal: (1018) Compilation abortedError: C:\lazarus\fpc\bin\x86_64-win64\ppcx64.exe returned an error exitcode