Since revision 30288 64-bit version of Lazarus wont compile.
Original Reporter info from Mantis: Cyrax
-
Reporter name:
Original Reporter info from Mantis: Cyrax
- Reporter name:
Description:
When trying to compile it gives following errors:
Compiling win32wsdialogs.pp
win32wsdialogs.pp(156,10) Error: Forward declaration not solved "OpenFileDialogCallBack(QWord,LongWord,Int64,Int64):QWord; StdCall;"
win32wsdialogs.pp(1501) Fatal: There were 1 errors compiling module, stopping
Fatal: Compilation aborted
---
After applying needed fix to win32wsdialogs.pp get it to compile, this error came up:
Compiling win32wsextdlgs.pp
win32wsextdlgs.pp(165,19) Error: Incompatible types: got "&LtPos;address of function(QWord,LongWord,Int64,Int64):DWord;StdCall>" expected "&LtPos;procedure variable type of function(QWord,LongWord,Int64,Int64):QWord;StdCall>"
win32wsextdlgs.pp(241) Fatal: There were 1 errors compiling module, stopping
Fatal: Compilation aborted
--
In attached file you find a patch for both files.
Additional information:
Compiler in use is SVN revision 17315 of 64-bit FPC 2.5.1.
Mantis conversion info:
- Mantis ID: 19163
- Version: 0.9.31 (SVN)
- Fixed in version: 0.9.31 (SVN)
- Fixed in revision: 30301 (#d9dfb7ca)