CocoaHTTPServer icon indicating copy to clipboard operation
CocoaHTTPServer copied to clipboard

Warnings

Open JetForMe opened this issue 11 years ago • 3 comments

Under Xcode 6.1, I get numerous warnings, mostly about the use of dispatch_get_current_queue() being deprecated (which IMHO is a mistake to deprecate). I also get a few more with v2.3:

CocoaHTTPServer/v2.3/Core/Mime/MultipartMessageHeaderField.m:41:15: Implicit conversion loses integer precision: 'NSUInteger' (aka 'unsigned long') to 'int'

CocoaHTTPServer/v2.3/Core/HTTPServer.m:754:44: Undeclared selector 'donothingatall:'

CocoaHTTPServer/v2.3/Core/HTTPConnection.m:923:23: Code will never be executed

CocoaHTTPServer/v2.3/Core/Mime/MultipartMessageHeader.m:42:15: Implicit conversion loses integer precision: 'NSUInteger' (aka 'unsigned long') to 'int'

JetForMe avatar Oct 20 '14 23:10 JetForMe

Yeah, there are actually a lot more warnings.

JetForMe avatar Oct 20 '14 23:10 JetForMe

Apparently the dispatch_get_current() warnings were fixed with issue #36 but it seems not. That issue was closed a long time ago. Perhaps it wasn't integrated into the latest codebase? I'm using CocoaHTTPServer from cocoa pods.

brendand avatar Oct 21 '14 23:10 brendand

I just downloaded the latest from here.

JetForMe avatar Nov 28 '14 07:11 JetForMe