cocoaint.pas fails to compile
Original Reporter info from Mantis: trev @trevoz
-
Reporter name: Trevor Roydhouse
Original Reporter info from Mantis: trev @trevoz
- Reporter name: Trevor Roydhouse
Description:
Assembling (pipe) ../../units/x86_64-darwin/cocoa/cocoawsfactory.s
cocoaint.pas(103,14) Error: There is no method in an ancestor class to be overridden: "isRunning:Boolean;"
cocoaint.pas(103,14) Error: Objective-C messages require their Objective-C selector name to be specified using the "message" directive.
cocoaint.pas(165,14) Note: Virtual method "PromptUser(const AnsiString;const AnsiString;LongInt;PLongint;LongInt;LongInt;LongInt):LongInt;" has a lower visibility (protected) than parent class TWidgetSet (public)
cocoaint.pas(168,14) Note: Virtual method "MessageBox(HWND;PChar;PChar;LongWord):LongInt;" has a lower visibility (protected) than parent class TWidgetSet (public)
cocoaint.pas(275,1) Fatal: There were 2 errors compiling module, stopping
Fatal: Compilation aborted
make[3]: *** [../lcl.ppu] Error 1
make[2]: *** [cocoa_all] Error 2
make[1]: *** [interfaces] Error 2
make: *** [lcl] Error 2
Steps to reproduce:
#!/bin/sh
svn cleanup --remove-unversioned
make distclean all LCL_PLATFORM=cocoa CPU_TARGET=x86_64 bigide
Mantis conversion info:
- Mantis ID: 37160
- OS: macOS
- OS Build: 10.14.6
- Build: r63260
- Platform: 2018 Mac Mini
- Version: 2.1 (SVN)
- Fixed in revision: 63272 (#84a3138f)