Deprecated warning on target iOS6 #165

Closed
Blog404DE opened this Issue Nov 12, 2013 · 2 comments

Comments

Projects
None yet
3 participants
@Blog404DE

DDLog.m showed a depraced warning on line 910:
dispatch_queue_t currentQueue = dispatch_get_current_queue();

DDLog.m:910:45: 'dispatch_get_current_queue' is deprecated: first deprecated in iOS 6.0

The compiler warning shows up under iOS7 SDK with Deployment Target 6.0

@bpoplauschi

This comment has been minimized.

Show comment Hide comment
@bpoplauschi

bpoplauschi Nov 12, 2013

Member

@csilabor thanks, that line is never run on iOS 6, but we will fix this

Member

bpoplauschi commented Nov 12, 2013

@csilabor thanks, that line is never run on iOS 6, but we will fix this

@rivera-ernesto

This comment has been minimized.

Show comment Hide comment
@rivera-ernesto

rivera-ernesto Nov 13, 2013

Member

Yeah, after all the inhibit warnings' macro may be needed here.

Member

rivera-ernesto commented Nov 13, 2013

Yeah, after all the inhibit warnings' macro may be needed here.

rivera-ernesto added a commit to rivera-ernesto/CocoaLumberjack that referenced this issue Nov 13, 2013

Ignore deprecated warning for dispatch_get_current_queue
This function is never executed on devices where it's deprecated anyway.

Closes #165.

@bpoplauschi bpoplauschi closed this in #167 Nov 13, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment