Suppressing LLVM link warning
Suppressing LLVM link warning
- Subject: Suppressing LLVM link warning
- From: Doug Hill <email@hidden>
- Date: Wed, 25 Jul 2012 15:58:35 -0700
I just upgraded to Xcode 4.4 and my code base now has a ton of compiler warnings. They are all of the form:
"ld: warning: instance method 'fooBar:' in category from foo.o conflicts with same method from another category"
This is indeed happening but are coming from code from a 3rd-party. It appears that they wanted to over-ride a method of a class using a category, which is obviously problematic. However, I won't be able to modify the code to remove the warning since it isn't mine.
So, in the short-term I want to find out how to suppress this warning. Looking through the man page for ld, I don't see a command-line option to ignore this particular warning. I see this option:
no_objc_category_merging
but I don't think I want to use this just to get rid of a warning.
Maybe there is a command-line option to the linker to specify link warnings to ignore. However, I don't know what the exact option is or what warnings can be ignored. Is there any documentation on this?
Any help is appreciated.
Doug
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden