[MacPorts] #59393: VLC @3.0.7.1_4 - Compile error

MacPorts noreply at macports.org
Sat Oct 19 18:00:42 UTC 2019


#59393: VLC @3.0.7.1_4 - Compile error
----------------------+----------------------
  Reporter:  ccottap  |      Owner:  RJVB
      Type:  defect   |     Status:  assigned
  Priority:  Normal   |  Milestone:
 Component:  ports    |    Version:  2.6.1
Resolution:           |   Keywords:
      Port:  VLC      |
----------------------+----------------------

Comment (by RJVB):

 OK, this goes beyond my ObjC knowledge.

 `item` here (VLCPlaylistInfo.m:402 is an `id`, which to me is the base
 class for anything in ObjC. All the alternative classes in the error
 message return either a `NSString* value` or an `id value`; NSString*
 should cast to `id` transparently *AFAIK*.

 @ccottap: Are you capable of tinkering a bit with casting the return value
 (`(id)[item value]`), or does anyone else reading this have a clue. If not
 I'll have to see if upstream has a fix (or wait for one).

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


More information about the macports-tickets mailing list