[
https://issues.apache.org/jira/browse/THRIFT-2982?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14613556#comment-14613556
]
Kevin Wooten commented on THRIFT-2982:
--------------------------------------
My attempt at modernizing the cocoa implementation THRIFT-2905 includes this.
Pull request here https://github.com/apache/thrift/pull/539
> 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
> 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
(v6.3.4#6332)