customdrawn/cocoagdiobjects.pas results in type mismatch on 64 bits with fpc 2.7.1
Original Reporter info from Mantis: lks
-
Reporter name:
Original Reporter info from Mantis: lks
- Reporter name:
Description:
Patch included. The type of one of the parameters in the callback was wrong.
Additional information:
Even after fixing this problem, compiling customdrawn with the most recent fpc trunk (2.7.1) gives errors of the form:
ompiling ./customdrawn/cocoagdiobjects.pas
cocoagdiobjects.pas(442,27) Error: Identifier not found "ATSUGetUnjustifiedBounds"
cocoagdiobjects.pas(449,23) Error: Identifier not found "ATSUCreateTextLayout"
cocoagdiobjects.pas(477,25) Error: Identifier not found "ATSUFindFontFromName"
cocoagdiobjects.pas(556,29) Error: Identifier not found "ATSUSetTextPointerLocation"
cocoagdiobjects.pas(1341) Fatal: There were 4 errors compiling module, stopping
TExternalToolList.Run Exception: /opt/freepascal/share/lazarus/lcl/interfaces/customdrawn/cocoagdiobjects.pas(1341) Fatal: There were 4 errors compiling module, stopping
I have a query out on the fpc forum, but any suggestions for how to proceed resolving these errors would be appreciated.
Mantis conversion info:
- Mantis ID: 23864
- OS: mac osx
- OS Build: 10.8.2
- Platform: darwin x86_64
- Version: 1.1 (SVN)
- Fixed in version: 1.1 (SVN)
- Fixed in revision: 40287 (#1fa926c4)