diff options
author | Thomas Van Lenten <thomasvl@google.com> | 2018-11-15 09:35:41 -0500 |
---|---|---|
committer | Thomas Van Lenten <thomasvl@google.com> | 2018-11-15 13:08:32 -0500 |
commit | 555c434a7d64ad7de9907bb0f0baf8f6cca685f9 (patch) | |
tree | 0e73d69a47d1bf856656955514a5caa4a73a4ddd /Foundation/GTMSignalHandler.m | |
parent | 2d1c003f0c124182e5ceb549574a53aa9bf6c5d7 (diff) |
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.
Diffstat (limited to 'Foundation/GTMSignalHandler.m')
-rw-r--r-- | Foundation/GTMSignalHandler.m | 6 |
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 |