[ 
https://issues.apache.org/jira/browse/THRIFT-2982?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14368279#comment-14368279
 ] 

Jake Farrell commented on THRIFT-2982:
--------------------------------------

+1, a patch for this would be welcome

> 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)

Reply via email to