Uploaded image for project: 'Thrift'
  1. Thrift
  2. THRIFT-2982

Address deprecated @interface instance variable declarations by moving them to @implementation

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Won't Do
    • 0.9.2
    • 0.13.0
    • Cocoa - Library
    • None

    Description

      Compiling the library yields many warnings like this:

      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;
                        ^
      

      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.

      Attachments

        Activity

          People

            jking3 James E. King III
            jeremyw.sherman Jeremy W. Sherman
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 1h
                1h
                Remaining:
                Remaining Estimate - 1h
                1h
                Logged:
                Time Spent - Not Specified
                Not Specified