View Issue Details

IDProjectCategoryView StatusLast Update
0036267LazarusLCLpublic2019-11-14 09:09
ReporterDean QinAssigned ToDmitry Boyarintsev 
PrioritynormalSeverityminorReproducibilityhave not tried
Status closedResolutionfixed 
Product VersionProduct Build 
Target VersionFixed in Version 
Summary0036267: Identifier not found "NSErrorPointer"
DescriptionLogs:


(3104) Compiling fpdbgsymtablecontext.pas
(3104) Compiling fpdbgdisasx86.pp
(3104) Compiling ./cocoa/cocoawsdialogs.pas
/Users/qindj/fpcupdeluxe/lazarus/lcl/interfaces/./cocoa/cocoawsdialogs.pas(164,86) Error: (5000) Identifier not found "NSErrorPointer"
/Users/qindj/fpcupdeluxe/lazarus/lcl/interfaces/./cocoa/cocoawsdialogs.pas(163,14) Error: (3266) Objective-C messages require their Objective-C selector name to be specified using the "message" directive.
/Users/qindj/fpcupdeluxe/lazarus/lcl/interfaces/./cocoa/cocoawsdialogs.pas(163,14) Error: (5070) Mismatch between number of declared parameters and number of colons in message string.
/Users/qindj/fpcupdeluxe/lazarus/lcl/interfaces/./cocoa/cocoawsdialogs.pas(164,14) Error: (5070) Mismatch between number of declared parameters and number of colons in message string.
/Users/qindj/fpcupdeluxe/lazarus/lcl/interfaces/./cocoa/cocoawsdialogs.pas(166,14) Error: (5070) Mismatch between number of declared parameters and number of colons in message string.
 number of declared parameters and number of colons in message string.
/Users/qindj/fpcupdeluxe/lazarus/lcl/interfaces/./cocoa/cocoawsdialogs.pas(166,14) Error: (5070) Mismatch between number of declared parameters and number of colons in message string.
/Users/qindj/fpcupdeluxe/lazarus/lcl/interfaces/./cocoa/cocoawsdialogs.pas(167,15) Error: (5070) Mismatch between number of declared parameters and number of colons in message string.
/Users/qindj/fpcupdeluxe/lazarus/lcl/interfaces/./cocoa/cocoawsdialogs./Users/qindj/fpcupdeluxe/lazarus/lcl/interfaces/./cocoa/cocoawsdialogs.pas(167,15) Error: (5070) Mismatch between number of declared parameters and number of colons in message string.
pas(186,27) Error: (5000) Identifier not found "NSErrorPointer"
(3104) Compiling fpdbgdarwinclasses.pas
(3104) Compiling fpdbglinuxextra.pas
cocoawsdialogs.pas(893) Fatal: (10026) There were 7 errors compiling module, stopping
Fatal: (1018) Compilation aborted
Error: /Users/qindj/fpcupdeluxe/fpc/bin/x86_64-darwin/ppcx64 returned an error exitcode
Error: (lazarus) Compile package LCL 2.1: stopped with exit code 1
Error: /Users/qindj/fpcupdeluxe/fpc/bin/x86_64-darwin/ppcx64 returned an error exitcode
Error: (lazarus) Compile package LCL 2.1: stopped with exit code 1
(6058) Call to subroutine "function TFpIntelWatchPointData.GetOwner(AnIndex:LongInt):^unt
Error: (lazarus) Compile package fpdebug 0.0: terminated
Error: (lazarus) [TLazPackageGraph.CompileRequiredPackages] "Exit code 1"
Error: (lazarus) Building IDE: Comp6058) Call to subroutine "function TFpIntelWatchPointData.GetOwner(AnIndex:LongInt):^unt
Error: (lazarus) Compile package fpdebug 0.0: terminated
Error: (lazarus) [TLazPackageGraph.CompileRequiredPackages] "Exit code 1"
ile AutoInstall Packages failed.
make: *** [useride] Error 2
fpcupdeluxe: ERROR: LazarusNativeInstaller (BuildModuleCustom: UserIDE): make returned error code 0000512
fpcupdeluxe: ERROR: LazarusNativeInstaller (BuildModuleCustom: UserIDE): make returned error code 0000512


ERROR: Fpcupdeluxe fatal error !
TagsNo tags attached.
Fixed in Revision62205
LazTarget-
WidgetsetCocoa
Attached Files

Activities

Dean Qin

2019-11-06 03:45

reporter   ~0119085

sorry, the error occurs in trunk

Dmitry Boyarintsev

2019-11-06 05:49

developer   ~0119087

fpc version?

NSErrorPointer is declared at CocoaAll (NSError.inc)

Dmitry Boyarintsev

2019-11-06 05:52

developer   ~0119088

please test and close if ok

Dean Qin

2019-11-07 09:51

reporter   ~0119127

HI, Dmitry

Sorry for delay, "the Identifier not found" is gone

And about the "Objective-C messages require their Objective-C selector name to be specified using the "message" directive.",
after I add message directive after procedure, it shows a new error:

./cocoa/cocoawsdialogs.pas(164,14) Error: (3275) Message name "panel:shouldEnableURL:" in inherited class is different from message name "panel_shouldEnableURL" in current class.

I would like to use trunk version to try some new things, if there is something WIP, please close this issue.

BTW: I use both FPC & Lazarus from trunk.

Thank you for your help!

Dean Qin

2019-11-14 09:09

reporter   ~0119288

tested & working

Issue History

Date Modified Username Field Change
2019-11-06 03:43 Dean Qin New Issue
2019-11-06 03:45 Dean Qin Note Added: 0119085
2019-11-06 05:49 Dmitry Boyarintsev Assigned To => Dmitry Boyarintsev
2019-11-06 05:49 Dmitry Boyarintsev Status new => feedback
2019-11-06 05:49 Dmitry Boyarintsev LazTarget => -
2019-11-06 05:49 Dmitry Boyarintsev Note Added: 0119087
2019-11-06 05:52 Dmitry Boyarintsev Status feedback => resolved
2019-11-06 05:52 Dmitry Boyarintsev Resolution open => fixed
2019-11-06 05:52 Dmitry Boyarintsev Fixed in Revision => 62205
2019-11-06 05:52 Dmitry Boyarintsev Widgetset Cocoa => Cocoa
2019-11-06 05:52 Dmitry Boyarintsev Note Added: 0119088
2019-11-07 09:51 Dean Qin Note Added: 0119127
2019-11-14 09:09 Dean Qin Status resolved => closed
2019-11-14 09:09 Dean Qin Note Added: 0119288