From 555c434a7d64ad7de9907bb0f0baf8f6cca685f9 Mon Sep 17 00:00:00 2001 From: Thomas Van Lenten Date: Thu, 15 Nov 2018 09:35:41 -0500 Subject: Project modernization. - Create shared scheme to use. - Let Xcode (9.4.1) update the project files and add some warnings. - Remove -finalize (GC days are gone) - Add some more pragmas to compile cleanly. - The iOS targets had a mix of 7.0 and 8.0 min versions, so make them all 8. --- Foundation/GTMFileSystemKQueue.m | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'Foundation/GTMFileSystemKQueue.m') 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 -- cgit v1.2.3