aboutsummaryrefslogtreecommitdiff
path: root/Foundation/GTMSystemVersionTest.m
diff options
context:
space:
mode:
authorGravatar dmaclach <dmaclach@gmail.com>2018-11-13 14:37:30 -0800
committerGravatar GitHub <noreply@github.com>2018-11-13 14:37:30 -0800
commitacc00b258aeef17cff7c8326c28945dd1aec071c (patch)
treecfdda32b4dc66e9f1572bdcaa7bbca9aa2546625 /Foundation/GTMSystemVersionTest.m
parent585c6a67e867aa681dcf73b2c62f73224137af73 (diff)
Add Deprecation Notices to GTMSystemVersion (#202)
Move to NSProcessInfo where appropriate.
Diffstat (limited to 'Foundation/GTMSystemVersionTest.m')
-rw-r--r--Foundation/GTMSystemVersionTest.m6
1 files changed, 6 insertions, 0 deletions
diff --git a/Foundation/GTMSystemVersionTest.m b/Foundation/GTMSystemVersionTest.m
index 6e46ec5..9cf282b 100644
--- a/Foundation/GTMSystemVersionTest.m
+++ b/Foundation/GTMSystemVersionTest.m
@@ -19,6 +19,10 @@
#import "GTMSenTestCase.h"
#import "GTMSystemVersion.h"
+#pragma clang diagnostic push
+// Ignore all of the deprecation warnings for GTMSystemVersion
+#pragma clang diagnostic ignored "-Wdeprecated-declarations"
+
@interface GTMSystemVersionTest : GTMTestCase
@end
@@ -118,3 +122,5 @@
#endif
@end
+
+#pragma clang diagnostic pop