aboutsummaryrefslogtreecommitdiff
path: root/Foundation/GTMFileSystemKQueue.m
diff options
context:
space:
mode:
Diffstat (limited to 'Foundation/GTMFileSystemKQueue.m')
-rw-r--r--Foundation/GTMFileSystemKQueue.m6
1 files changed, 6 insertions, 0 deletions
diff --git a/Foundation/GTMFileSystemKQueue.m b/Foundation/GTMFileSystemKQueue.m
index 7ed2f4e..a1b7094 100644
--- a/Foundation/GTMFileSystemKQueue.m
+++ b/Foundation/GTMFileSystemKQueue.m
@@ -22,6 +22,10 @@
#import "GTMDebugSelectorValidation.h"
#import "GTMTypeCasting.h"
+#pragma clang diagnostic push
+// Ignore all of the deprecation warnings for GTMFileSystemKQueue
+#pragma clang diagnostic ignored "-Wdeprecated-implementations"
+
// File descriptor for the kqueue that will hold all of our file system events.
static int gFileSystemKQueueFileDescriptor = 0;
@@ -274,3 +278,5 @@ static void SocketCallBack(CFSocketRef socketref, CFSocketCallBackType type,
}
@end
+
+#pragma clang diagnostic pop