MKSG-MugunthKumar / MKNetworkKit

Modern NSURLSession based Networking Framework with built in authentication and HTTP 1.1 caching standards support for iOS 8+ devices
http://mk.sg/8w
3.06k stars 755 forks source link

compatibility fixes for compiling under Objective C++ #427

Open ralph-e-boy opened 10 years ago

ralph-e-boy commented 10 years ago

If you have a project wherein you include MKNetworkKit, and under project settings, "Compile source as.." is set to Objective C++, using LLVM, some errors pop up which break the build. These changes address those errors.

I made a small test harness here https://github.com/ralph-e-boy/mknetworktests but noticed that you have a full test suite so I stopped working on that one.

--ralph-e-boy