• 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
Re: clang vs -Wunreachable-code
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: clang vs -Wunreachable-code


  • Subject: Re: clang vs -Wunreachable-code
  • From: David Dunham <email@hidden>
  • Date: Fri, 4 Sep 2009 21:38:58 -0700

On 4 Sep 2009, at 07:43, Sean McBride wrote:

When I switched to clang, each file gives me

warning: unknown warning option: -Wunreachable-code

There are several gcc 4.2 compiler warnings that clang does not support.

Is there an easy way to switch back and forth as desired (to get the benefit of two different compilers)? Especially since I had mine in WARNING_CFLAGS.


David Dunham
Mobile: +1 206 769 2227             http://www.pensee.com/dunham/
Imagination is more important than knowledge. -- Albert Einstein

_______________________________________________
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


References: 
 >clang vs -Wunreachable-code (From: David Dunham <email@hidden>)
 >Re: clang vs -Wunreachable-code (From: "Sean McBride" <email@hidden>)

  • Prev by Date: Re: How to set the GCC System Version? GCC_VERSION - gcc_select?
  • Next by Date: Static analyzer being lazy
  • Previous by thread: Re: clang vs -Wunreachable-code
  • Next by thread: clang vs -Wunreachable-code
  • Index(es):
    • Date
    • Thread