• 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: Adding obj-c++ file to carbon project changes preprocessed header file types
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Adding obj-c++ file to carbon project changes preprocessed header file types


  • Subject: Re: Adding obj-c++ file to carbon project changes preprocessed header file types
  • From: "Kyle Sluder" <email@hidden>
  • Date: Tue, 12 Feb 2008 00:33:34 -0500

On 2/12/08, Russ <email@hidden> wrote:
> > the prefix file of your project ("MyProject.pch" by default).
>
> I'm not too clear on what the build system is doing---I certainly don't have a
> .pch file I have created in my project, that is something the build system is
> creating.

Check your prefix header settings in the target and see what the
compiler is doing.  It really sounds like there's a prefix header
being applied that isn't safely wrapped in #ifdefs as it should be.
This would very well explain why adding an empty .m file would cause
the build to blow up -- the compiler would be prefixing the empty
Objective-C file with C++ gook.

--Kyle Sluder
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Re: Adding obj-c++ file to carbon project changes preprocessed header file types (From: Jens Alfke <email@hidden>)
 >Re: Adding obj-c++ file to carbon project changes preprocessed header file types (From: Russ <email@hidden>)

  • Prev by Date: Re: Login item support for Panther, Tiger and Leopard
  • Next by Date: Re: NSCollectionView questions
  • Previous by thread: Re: Adding obj-c++ file to carbon project changes preprocessed header file types
  • Next by thread: Re: Adding obj-c++ file to carbon project changes preprocessed header file types
  • Index(es):
    • Date
    • Thread