View Issue Details

IDProjectCategoryView StatusLast Update
0035792LazarusWidgetsetpublic2019-07-15 20:45
ReporterAnton KavalenkaAssigned ToDmitry Boyarintsev 
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionreopened 
Product Version2.0.3 (SVN)Product Build 
Target VersionFixed in Version 
Summary0035792: cocoa: New boolean8 problem
Descriptionproblem building LCL-cocoa

/projects/lazarus/lcl/interfaces/./cocoa/cocoautils.pas(127,23) Error: (5042) No matching implementation for interface method "hasMarkedText:Boolean8;" found
/projects/lazarus/lcl/interfaces/./cocoa/cocoautils.pas(133,14) Error: (3266) Objective-C messages require their Objective-C selector name to be specified using the "message" directive.
/projects/lazarus/lcl/interfaces/./cocoa/cocoautils.pas(142,1) Fatal: (10026) There were 2 errors compiling module, stopping
TagsNo tags attached.
Fixed in Revision61529, 61535
LazTarget-
WidgetsetCocoa
Attached Files

Activities

Dmitry Boyarintsev

2019-07-05 00:27

developer   ~0117069

please test and close if ok

noname012

2019-07-05 11:36

reporter   ~0117073

Still present in lazarus trunk r.61532 + fpc trunk r.42326:

cocoautils.pas(127,23) Error: No matching implementation for interfarwin/cocoa/agl.s
cocoautils.pas(133,14) Error: Objective-C messages require their Objective-C selector name to be specified using the "message" directive.
cocoautils.pas(142,1) Fatal: There were 2 errors compiling module, stoppingce method "hasMarkedText:Boolean8;" found
cocoautils.pas(133,14) Error: Objective-C messages require their Objective-C selector name to be specified using the "message" directive.
cocoautils.pas(133,14) Error: Objective-C messages require their Objective-C selector name to be specified using the "message" directive.

Anton Kavalenka

2019-07-05 14:54

reporter   ~0117082

Still cannot build cocoa with FPC 3.3.1 svn r42326 and Lazarus 2.1 svn r61533

Dmitry Boyarintsev

2019-07-05 20:42

developer   ~0117092

r61535 should handle that
please test and close if ok

Anton Kavalenka

2019-07-09 18:25

reporter   ~0117125

Free Pascal Compiler version 3.3.1 [2019/07/05] for x86_64
Copyright (c) 1993-2018 by Florian Klaempfl and others
(1002) Target OS: Darwin for x86_64
(3104) Compiling printer4lazarus.pas
(3104) Compiling printersdlgs.pp
(3104) Compiling osprinters.pas
/projects/lazarus/components/printers/./cocoa/cocoaprinters_h.inc(28,67) Error: (5000) Identifier not found "LCLObjCBoolean"
/projects/lazarus/components/printers/./cocoa/cocoaprinters_h.inc(30,39) Error: (5000) Identifier not found "LCLObjCBoolean"
/projects/lazarus/components/printers/./cocoa/cocoaprinters_h.inc(28,14) Error: (3058) There is no method in an ancestor class to be overridden: "knowsPageRange(NSRangePtr):<erroneous type>;"
/projects/lazarus/components/printers/./cocoa/cocoaprinters_h.inc(30,14) Error: (3058) There is no method in an ancestor class to be overridden: "isFlipped:<erroneous type>;"
/projects/lazarus/components/printers/./cocoa/cocoaprinters_h.inc(28,14) Error: (3266) Objective-C messages require their Objective-C selector name to be specified using the "message" directive.
/projects/lazarus/components/printers/./cocoa/cocoaprinters_h.inc(28,14) Error: (5070) Mismatch between number of declared parameters and number of colons in message string.
/projects/lazarus/components/printers/osprinters.pas(70,1) Fatal: (10026) There were 6 errors compiling module, stopping

Anton Kavalenka

2019-07-09 18:35

reporter   ~0117127

cocoa_extra in uses section fixes the problem

Dmitry Boyarintsev

2019-07-09 18:56

developer   ~0117128

please update to r61553
revert adding cocoa_extra to uses
and try again

Issue History

Date Modified Username Field Change
2019-07-04 16:46 Anton Kavalenka New Issue
2019-07-05 00:27 Dmitry Boyarintsev Assigned To => Dmitry Boyarintsev
2019-07-05 00:27 Dmitry Boyarintsev Status new => resolved
2019-07-05 00:27 Dmitry Boyarintsev Resolution open => fixed
2019-07-05 00:27 Dmitry Boyarintsev Fixed in Revision => 61529
2019-07-05 00:27 Dmitry Boyarintsev LazTarget => -
2019-07-05 00:27 Dmitry Boyarintsev Widgetset Cocoa => Cocoa
2019-07-05 00:27 Dmitry Boyarintsev Note Added: 0117069
2019-07-05 11:36 noname012 Note Added: 0117073
2019-07-05 14:54 Anton Kavalenka Status resolved => assigned
2019-07-05 14:54 Anton Kavalenka Resolution fixed => reopened
2019-07-05 14:54 Anton Kavalenka Note Added: 0117082
2019-07-05 20:42 Dmitry Boyarintsev Status assigned => resolved
2019-07-05 20:42 Dmitry Boyarintsev Fixed in Revision 61529 => 61529, 61535
2019-07-05 20:42 Dmitry Boyarintsev Widgetset Cocoa => Cocoa
2019-07-05 20:42 Dmitry Boyarintsev Note Added: 0117092
2019-07-09 18:25 Anton Kavalenka Note Added: 0117125
2019-07-09 18:27 Anton Kavalenka Status resolved => assigned
2019-07-09 18:35 Anton Kavalenka Note Added: 0117127
2019-07-09 18:56 Dmitry Boyarintsev Status assigned => resolved
2019-07-09 18:56 Dmitry Boyarintsev Widgetset Cocoa => Cocoa
2019-07-09 18:56 Dmitry Boyarintsev Note Added: 0117128
2019-07-15 20:45 Anton Kavalenka Status resolved => closed