Re: Adding obj-c++ file to carbon project changes preprocessed header file types
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