From 38b9e74691b484d2521fc6d8f421fc3dc14aa143 Mon Sep 17 00:00:00 2001 From: Thomas Van Lenten Date: Fri, 27 May 2016 12:51:18 -0400 Subject: Add -Woverriding-method-mismatch. Fixes up the code to avoid some issues with isEqual: methods. Opened https://github.com/google/protobuf/issues/1616 to track the KVC collision. --- objectivec/ProtocolBuffers_OSX.xcodeproj/project.pbxproj | 2 ++ 1 file changed, 2 insertions(+) (limited to 'objectivec/ProtocolBuffers_OSX.xcodeproj') diff --git a/objectivec/ProtocolBuffers_OSX.xcodeproj/project.pbxproj b/objectivec/ProtocolBuffers_OSX.xcodeproj/project.pbxproj index b2721232..2c5886a7 100644 --- a/objectivec/ProtocolBuffers_OSX.xcodeproj/project.pbxproj +++ b/objectivec/ProtocolBuffers_OSX.xcodeproj/project.pbxproj @@ -836,6 +836,7 @@ "-Wreserved-id-macro", "-Wswitch-enum", "-Wdirect-ivar-access", + "-Woverriding-method-mismatch", ); }; name = Debug; @@ -892,6 +893,7 @@ "-Wreserved-id-macro", "-Wswitch-enum", "-Wdirect-ivar-access", + "-Woverriding-method-mismatch", ); }; name = Release; -- cgit v1.2.3