-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Patch abseil-cpp to ignore deprecated errors in new Xcode. (#12498)
- Loading branch information
1 parent
48a77e3
commit 6ae867d
Showing
2 changed files
with
30 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
diff --git a/absl/meta/type_traits.h b/absl/meta/type_traits.h | ||
index d886cb30..c2a2d15e 100644 | ||
--- a/absl/meta/type_traits.h | ||
+++ b/absl/meta/type_traits.h | ||
@@ -35,6 +35,12 @@ | ||
#ifndef ABSL_META_TYPE_TRAITS_H_ | ||
#define ABSL_META_TYPE_TRAITS_H_ | ||
|
||
+// Added by firebase-ios-sdk/cmake/external/abseil-cpp.patch.txt | ||
+#if __clang__ | ||
+#pragma clang diagnostic push | ||
+#pragma clang diagnostic ignored "-Wdeprecated" | ||
+#endif // __clang__ | ||
+ | ||
#include <cstddef> | ||
#include <functional> | ||
#include <type_traits> | ||
@@ -794,4 +800,9 @@ using swap_internal::StdSwapIsUnconstrained; | ||
ABSL_NAMESPACE_END | ||
} // namespace absl | ||
|
||
+// Added by firebase-ios-sdk/cmake/external/abseil-cpp.patch.txt | ||
+#if __clang__ | ||
+#pragma clang diagnostic pop | ||
+#endif // __clang__ | ||
+ | ||
#endif // ABSL_META_TYPE_TRAITS_H_ |