[MacPorts] #55771: textmate2 @2.0-rc.4: Build fails with SDK < 10.11

MacPorts noreply at macports.org
Sat Feb 3 05:43:54 UTC 2018


#55771: textmate2 @2.0-rc.4: Build fails with SDK < 10.11
-------------------------+---------------------------------------------
  Reporter:  ryandesign  |      Owner:  neverpanic
      Type:  defect      |     Status:  new
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:
Resolution:              |   Keywords:  mountainlion mavericks yosemite
      Port:  textmate2   |
-------------------------+---------------------------------------------

Comment (by ryandesign):

 The build now fails on Yosemite with:

 {{{
 Frameworks/OakCommand/src/OakCommand.mm:182:1: error: ARC forbids
 synthesizing a property of an Objective-C object with unspecified
 ownership or storage attribute
 @implementation OakCommand
 ^
 Frameworks/OakCommand/src/OakCommand.h:16:29: note: property declared here
 @property (nonatomic) void(^modalEventLoopRunner)(OakCommand*, BOOL*
 didTerminate);
                             ^
 Frameworks/OakCommand/src/OakCommand.mm:182:1: error: ARC forbids
 synthesizing a property of an Objective-C object with unspecified
 ownership or storage attribute
 @implementation OakCommand
 ^
 Frameworks/OakCommand/src/OakCommand.h:17:29: note: property declared here
 @property (nonatomic) void(^terminationHandler)(OakCommand*, BOOL
 normalExit);
                             ^
 2 errors generated.
 }}}

 I find some hits for this error that says that in Xcode 7.3, this should
 work fine because the property is assumed to be `strong`, but for earlier
 versions, `strong` must be specified explicitly. I'll try this out...

--
Ticket URL: <https://trac.macports.org/ticket/55771#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list