• 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: "Sean McBride" <email@hidden>
  • Date: Fri, 4 Sep 2009 10:43:47 -0400
  • Organization: Rogue Research Inc.

On 9/3/09 9:25 PM, David Dunham said:

>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.  Amongst those I use:

-Wundeclared-selector
-Wdiv-by-zero
-Winvalid-pch
-Wstrict-overflow=5
-Wlarger-than-len

Guess you found another.

--
____________________________________________________________
Sean McBride, B. Eng                 email@hidden
Rogue Research                        www.rogue-research.com
Mac Software Developer              Montréal, Québec, Canada


 _______________________________________________
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: clang vs -Wunreachable-code
      • From: David Dunham <email@hidden>
References: 
 >clang vs -Wunreachable-code (From: David Dunham <email@hidden>)

  • Prev by Date: Cannot link shared libraries since install of 3.2
  • Next by Date: Re: error clearing target on 3.2
  • Previous by thread: clang vs -Wunreachable-code
  • Next by thread: Re: clang vs -Wunreachable-code
  • Index(es):
    • Date
    • Thread