aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/objective-c/ProtoRPC/ProtoRPC.h
diff options
context:
space:
mode:
authorGravatar Yuchen Zeng <zyc@google.com>2016-06-20 14:01:07 -0700
committerGravatar Yuchen Zeng <zyc@google.com>2016-06-20 14:01:07 -0700
commit36a58a7928e6a10b44b6cffdc118337ef7e0b8c1 (patch)
tree607e11cd9b7da405489fb748365e334a11662a80 /src/objective-c/ProtoRPC/ProtoRPC.h
parentdbe2b9e976d50ce7971df32dc9a3122525dad3ce (diff)
Enable treating warnings as errors for target gRPC
Diffstat (limited to 'src/objective-c/ProtoRPC/ProtoRPC.h')
-rw-r--r--src/objective-c/ProtoRPC/ProtoRPC.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/objective-c/ProtoRPC/ProtoRPC.h b/src/objective-c/ProtoRPC/ProtoRPC.h
index 5f91f6bce1..04fc1e45f1 100644
--- a/src/objective-c/ProtoRPC/ProtoRPC.h
+++ b/src/objective-c/ProtoRPC/ProtoRPC.h
@@ -56,6 +56,9 @@ __attribute__((deprecated("Please use GRPCProtoCall.")))
* This subclass is empty now. Eventually we'll remove ProtoRPC class
* to avoid potential naming conflict
*/
+#pragma clang diagnostic push
+#pragma clang diagnostic ignored "-Wdeprecated-declarations"
@interface GRPCProtoCall : ProtoRPC
+#pragma clang diagnostic pop
@end