aboutsummaryrefslogtreecommitdiffhomepage
path: root/Firestore
diff options
context:
space:
mode:
authorGravatar Marek Gilbert <mcg@google.com>2018-06-15 16:07:18 -0700
committerGravatar Marek Gilbert <mcg@google.com>2018-06-15 16:07:58 -0700
commit2b4a9acfc4cdb3aa4c20be178dfa2ac87b72a63c (patch)
treead8f639375cdf8df9c269bdfbf1a78f75ed481b2 /Firestore
parentcd9125065d87ebee891444ef29b4a74de37b5b48 (diff)
Disable warnings in the protobuf-C++ code
Diffstat (limited to 'Firestore')
-rw-r--r--Firestore/Example/ProtobufCpp.podspec5
1 files changed, 5 insertions, 0 deletions
diff --git a/Firestore/Example/ProtobufCpp.podspec b/Firestore/Example/ProtobufCpp.podspec
index eb90ca6..c809c06 100644
--- a/Firestore/Example/ProtobufCpp.podspec
+++ b/Firestore/Example/ProtobufCpp.podspec
@@ -64,6 +64,11 @@ Pod::Spec.new do |s|
'ALWAYS_SEARCH_USER_PATHS' => 'NO',
}
+ # Disable warnings that upstream does not concern itself with
+ s.compiler_flags = '$(inherited) ' +
+ '-Wno-comma ' +
+ '-Wno-shorten-64-to-32'
+
s.requires_arc = false
s.library = 'c++'
end