• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Suppressing LLVM link warning
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Suppressing LLVM link warning
      • From: Quincey Morris <email@hidden>
  • Prev by Date: Revoking GateKeeper exceptions
  • Next by Date: Re: Suppressing LLVM link warning
  • Previous by thread: Re: Revoking GateKeeper exceptions
  • Next by thread: Re: Suppressing LLVM link warning
  • Index(es):
    • Date
    • Thread