aboutsummaryrefslogtreecommitdiff
path: root/Foundation/GTMServiceManagementTestingHarness.c
diff options
context:
space:
mode:
Diffstat (limited to 'Foundation/GTMServiceManagementTestingHarness.c')
-rw-r--r--Foundation/GTMServiceManagementTestingHarness.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/Foundation/GTMServiceManagementTestingHarness.c b/Foundation/GTMServiceManagementTestingHarness.c
index bb86071..0f5cc3a 100644
--- a/Foundation/GTMServiceManagementTestingHarness.c
+++ b/Foundation/GTMServiceManagementTestingHarness.c
@@ -18,6 +18,10 @@
#include "GTMServiceManagement.h"
+#pragma clang diagnostic push
+// Ignore all of the deprecation warnings for GTMServiceManagement
+#pragma clang diagnostic ignored "-Wdeprecated-declarations"
+
int main(int argc, const char** argv) {
#if MAC_OS_X_VERSION_MIN_REQUIRED > MAC_OS_X_VERSION_10_4
CFErrorRef error = NULL;
@@ -30,3 +34,5 @@ int main(int argc, const char** argv) {
#endif // if MAC_OS_X_VERSION_MIN_REQUIRED > MAC_OS_X_VERSION_10_4
return 0;
}
+
+#pragma clang diagnostic pop