You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "James E. King III (JIRA)" <ji...@apache.org> on 2019/01/14 15:04:04 UTC
[jira] [Resolved] (THRIFT-2982) Address deprecated @interface
instance variable declarations by moving them to @implementation
[ https://issues.apache.org/jira/browse/THRIFT-2982?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
James E. King III resolved THRIFT-2982.
---------------------------------------
Resolution: Won't Do
Assignee: James E. King III
Fix Version/s: 1.0
As support for the older cocoa compiler and library have been removed (see THRIFT-4719), all of the issues in Jira related to that code have also been removed. For legacy cocoa support you can use version 0.12.0 - everyone is expected to move to swift if they want to use the next release of Thrift.
> Address deprecated @interface instance variable declarations by moving them to @implementation
> ----------------------------------------------------------------------------------------------
>
> Key: THRIFT-2982
> URL: https://issues.apache.org/jira/browse/THRIFT-2982
> Project: Thrift
> Issue Type: Improvement
> Components: Cocoa - Library
> Affects Versions: 0.9.2
> Reporter: Jeremy W. Sherman
> Assignee: James E. King III
> Priority: Major
> Fix For: 1.0
>
> Original Estimate: 1h
> Remaining Estimate: 1h
>
> Compiling the library yields many warnings like this:
> {code}
> In file included from thrift/lib/cocoa/src/protocol/TBinaryProtocol.m:20:
> thrift/lib/cocoa/src/protocol/TBinaryProtocol.h:26:19: warning: declaration of instance variables in the interface is deprecated [-Wobjc-interface-ivars]
> id <TTransport> mTransport;
> ^
> {code}
> Shifting the interface declarations to the {{@implementation}} block should fix this.
> Compatibility impact:
> - None on iOS.
> - Restricts OS X to modern runtime only, AKA only 64-bit targets.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)