Index: chrome/common/mac/objc_zombie.mm |
diff --git a/chrome/common/mac/objc_zombie.mm b/chrome/common/mac/objc_zombie.mm |
index 0f01a529d031a914f32a40902f1296e3c45b3401..2efc6b77466a531cb497b3dd8cd3f6916c04c108 100644 |
--- a/chrome/common/mac/objc_zombie.mm |
+++ b/chrome/common/mac/objc_zombie.mm |
@@ -34,7 +34,9 @@ OBJC_EXPORT void *objc_destructInstance(id obj); |
// The version of clang that ships with Xcode 4.5 does not include this |
// warning, so it is disabled on iOS. This may change in future Xcode |
// releases. |
-#if !defined(OS_IOS) |
+// TODO(justincohen): This is fixed in clang 4.2 in XCode 4.6. Remove this once |
+// everyone is moved to XCode 4.6 b/7882496. |
+#if !defined(OS_IOS) || (defined(OS_IOS) && (__clang_major__ > 4 || (__clang_major__ == 4 && __clang_minor__ >= 2))) |
stuartmorgan
2012/12/31 12:29:27
Can you line-break this with \ ?
|
__attribute__((objc_root_class)) |
#endif |
@interface CrZombie { |