• 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: I need clarification on limitations of integrating C++ with Obj C
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: I need clarification on limitations of integrating C++ with Obj C


  • Subject: Re: I need clarification on limitations of integrating C++ with Obj C
  • From: lbland <email@hidden>
  • Date: Tue, 21 Mar 2006 08:27:40 -0800


On Mar 21, 2006, at 7:58 AM, Clark Cox wrote:

On 3/21/06, John Draper <email@hidden> wrote:
Hi,

I'm trying to build an Obj C file... but it includes header files which are
C++ header files. If I set the source file type to sourcecode.cpp.objcpp
it compiles fine.


The only problem with that, is that I cannot make this object a NIB
object, because of the stupid restriction that NIB objects cannot
have any C++ code in it at all,  but does that also mean the NIB
object cannot even include C++ files?

What do you mean by "NIB object"? If you mean an object instantiated in a NIB or referenced by such an object, then I know of no such restriction.

Maybe he means that the IB parse file parser chokes on C++ syntax? I seem to remember that was the case in a previous version. Don't know if that is still true. But, even then you can always build a dummy API file to parse, or build it by hand in IB.


thanks!-

-lance

_______________________________________________
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: 
 >I need clarification on limitations of integrating C++ with Obj C (From: John Draper <email@hidden>)
 >Re: I need clarification on limitations of integrating C++ with Obj C (From: "Clark Cox" <email@hidden>)

  • Prev by Date: Re: framework linking against other frameworks
  • Next by Date: typedef problem in Xcode 2.2
  • Previous by thread: Re: I need clarification on limitations of integrating C++ with Obj C
  • Next by thread: Re: I need clarification on limitations of integrating C++ with Obj C
  • Index(es):
    • Date
    • Thread