Xcode 4.2 - declaration of '…' will not be visible outside of this function warning

后端 未结 1 902
北恋
北恋 2020-12-12 12:20

I use Apple Reachability class from Apple Sample code Reachability

in Xcode 4.2 and new Apple 3.0 compiler I get warning in this class that

+ (Reacha         


        
相关标签:
1条回答
  • 2020-12-12 13:03

    Add #import <netinet/in.h> in Reachability.h to get away with this

    0 讨论(0)
提交回复
热议问题