diff options
Diffstat (limited to 'Foundation/GTMSystemVersion.m')
-rw-r--r-- | Foundation/GTMSystemVersion.m | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Foundation/GTMSystemVersion.m b/Foundation/GTMSystemVersion.m index 6519902..06bf8ef 100644 --- a/Foundation/GTMSystemVersion.m +++ b/Foundation/GTMSystemVersion.m @@ -18,6 +18,10 @@ #import "GTMSystemVersion.h" +#pragma clang diagnostic push +// Ignore all of the deprecation warnings for GTMSystemVersion.h +#pragma clang diagnostic ignored "-Wdeprecated-implementations" + #import <objc/message.h> #if MAC_OS_X_VERSION_MIN_REQUIRED < MAC_OS_X_VERSION_10_10 && \ MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_8 @@ -285,3 +289,5 @@ static NSString *const kSystemVersionPlistPath = @"/System/Library/CoreServices/ } @end + +#pragma clang diagnostic pop |