• 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
Switching from GCC to Clang, any downsides?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Switching from GCC to Clang, any downsides?


  • Subject: Switching from GCC to Clang, any downsides?
  • From: Markus Spoettl <email@hidden>
  • Date: Mon, 7 Sep 2009 19:47:03 +0200

Reading the Snow Leopard review on Ars Technica, the author writes that Clang is now Apple's recommended compiler. So I thought I look it up in the documentation, but there's not terribly much on Clang at all. In fact there's not the slightest hint that this statement is true - judging from the docs and release notes alone.

I've since switched to Clang and everything appears to be perfectly fine. However, since there's so little in information on this topic there may be some caveats involved when switching from GCC. Are there?

I know - and love - the static analyzer and what it can do. I'm specifically interested in effects that the compiler switch may have on my executables. The only effects I know are I get some better warnings and it's fast and produces fast executables. So, are there other effects (specifically bad ones, if there are any)?

I'm using Xcode 3.2, developing with deployment target and base SDK 10.5, in case that is relevant.

Regards
Markus
--
__________________________________________
Markus Spoettl

Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
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: Switching from GCC to Clang, any downsides?
      • From: Chris Espinosa <email@hidden>
    • Re: Switching from GCC to Clang, any downsides?
      • From: "Sean McBride" <email@hidden>
    • Re: Switching from GCC to Clang, any downsides?
      • From: Ingvar Nedrebo <email@hidden>
    • Re: Switching from GCC to Clang, any downsides?
      • From: Chris Suter <email@hidden>
  • Prev by Date: Re: GCC 4.2
  • Next by Date: definition of macro 'DEBUG' conflicts with an identifier used in the precompiled header
  • Previous by thread: Re: Download docsets for Xcode3.2/Snow Leopard?
  • Next by thread: Re: Switching from GCC to Clang, any downsides?
  • Index(es):
    • Date
    • Thread