Skip to content

Instantly share code, notes, and snippets.

@adamkaplan
Created December 23, 2014 04:16
Show Gist options
  • Save adamkaplan/20a697fe171d0eeca9dd to your computer and use it in GitHub Desktop.
Save adamkaplan/20a697fe171d0eeca9dd to your computer and use it in GitHub Desktop.
Disable warnings on a single call
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wdeprecated-declarations"
if (config->queuePointer && config->queuePointer == dispatch_get_current_queue()) {
#pragma clang diagnostic pop
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment