You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Jens Geyer (JIRA)" <ji...@apache.org> on 2015/07/04 10:51:04 UTC
[jira] [Comment Edited] (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:comment-tabpanel&focusedCommentId=14613610#comment-14613610 ]
Jens Geyer edited comment on THRIFT-2982 at 7/4/15 8:50 AM:
------------------------------------------------------------
IMHO at least two separate PRs (Cocoa fixes, new Swift bindings) would be better.
was (Author: jensg):
IMHO two separate PRs would be better.
> 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)