aboutsummaryrefslogtreecommitdiff
path: root/Foundation/GTMSignalHandler.m
diff options
context:
space:
mode:
Diffstat (limited to 'Foundation/GTMSignalHandler.m')
-rw-r--r--Foundation/GTMSignalHandler.m6
1 files changed, 6 insertions, 0 deletions
diff --git a/Foundation/GTMSignalHandler.m b/Foundation/GTMSignalHandler.m
index 4d4f3e2..322aa77 100644
--- a/Foundation/GTMSignalHandler.m
+++ b/Foundation/GTMSignalHandler.m
@@ -22,6 +22,10 @@
#import <dispatch/dispatch.h>
#import "GTMDebugSelectorValidation.h"
+#pragma clang diagnostic push
+// Ignore all of the deprecation warnings for GTMSignalHandler
+#pragma clang diagnostic ignored "-Wdeprecated-implementations"
+
// Simplifying assumption: No more than one handler for a particular signal is
// alive at a time. When the second signal is registered, kqueue just updates
// the info about the first signal, which makes -dealloc time complicated (what
@@ -98,3 +102,5 @@
}
@end
+
+#pragma clang diagnostic pop