Jeremy W. Sherman created THRIFT-2982:
-----------------------------------------

             Summary: 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


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