• 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: C++ compiler isn't being used
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: C++ compiler isn't being used


  • Subject: Re: C++ compiler isn't being used
  • From: Sean McBride <email@hidden>
  • Date: Wed, 24 Aug 2011 17:42:18 -0400
  • Organization: Rogue Research Inc.

On Wed, 24 Aug 2011 16:08:55 -0500, Steve Mills said:

>> For some reason, your "Compile Source As" setting didn't quite stick,
>and that's probably the root of the problem.  Don't know why it wouldn't
>work, though...
>>
>> Note: struct is required in C, but not in C++ (a struct is effectively
>a class with everything public by default).  When "struct" is required,
>you're not using a C++ compiler.
>
>Yes, I know, which is why I'm asking about this. Looks like an Xcode or
>LLVM bug to me.

Older versions of llvm/clang did not support C++, and Xcode fell back to gcc for C++ regardless of that setting.  Perhaps that's the case for you too?

I'd also discourage you from switching to C++ for this alone, it's much slower and less supported.  ex: refactoring, the static analyzer, etc. don't support C++.

--
____________________________________________________________
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: C++ compiler isn't being used
      • From: Jocelyn Houle <email@hidden>
References: 
 >C++ compiler isn't being used (From: Steve Mills <email@hidden>)
 >Re: C++ compiler isn't being used (From: Thomas Davie <email@hidden>)
 >Re: C++ compiler isn't being used (From: Steve Mills <email@hidden>)
 >Re: C++ compiler isn't being used (From: Jocelyn Houle <email@hidden>)
 >Re: C++ compiler isn't being used (From: Steve Mills <email@hidden>)

  • Prev by Date: Re: C++ compiler isn't being used
  • Next by Date: Re: C++ compiler isn't being used
  • Previous by thread: Re: C++ compiler isn't being used
  • Next by thread: Re: C++ compiler isn't being used
  • Index(es):
    • Date
    • Thread