• 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
Mixing Objective C and C++
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Mixing Objective C and C++


  • Subject: Mixing Objective C and C++
  • From: Ken Tozier <email@hidden>
  • Date: Fri, 30 Mar 2007 14:23:48 -0400

Hi

I'm working on a Quark XTension which requires that code be compiled with a C++ compiler. I've been hacking around in copies of the headers with the goal of getting the project to compile in Objective C. I finally got it working but when Quark loads the XTension it crashes. The crash log tries to run but hangs with an infinite spinning beach ball.

Next I tried compiling with the Objective C++ compiler and got the following error:

/usr/bin/ld: multiple definitions of symbol __Z8IsBitSetPPym.eh

I'm not really knowledgeable enough about the nitty gritty compiler details to know whether it's even possible to do what I'm trying to do. I have no control over the Quark stuff beyond the ability to group items within conditionals in the header. Is there some trick I can use so that the Objective C or Objective C++ compiler will create calls to Quark functions as if the C++ compiler was used?

Thanks for any help

Ken
_______________________________________________
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: Mixing Objective C and C++
      • From: Ken Tozier <email@hidden>
  • Prev by Date: Re: execution doesn't halt at breakpoints when debugging custom executable
  • Next by Date: Re: Fixing line endings
  • Previous by thread: Re: execution doesn't halt at breakpoints when debugging custom executable
  • Next by thread: Re: Mixing Objective C and C++
  • Index(es):
    • Date
    • Thread