Re: Compiler pukes on Cocoa.h in .mm/.h file; __OBJ__ not defined
Re: Compiler pukes on Cocoa.h in .mm/.h file; __OBJ__ not defined
- Subject: Re: Compiler pukes on Cocoa.h in .mm/.h file; __OBJ__ not defined
- From: Jerry Krinock <email@hidden>
- Date: Fri, 27 Feb 2015 13:56:50 -0800
OK, looks like I fixed it by putting compiler flag -x objective-c++ on my .mm file. Apparently this overrides whatever the problem was, some crap inserted by Project Builder's CodeWarrior importer 15 years ago, or whatever.
Thanks again, Kyle – you got me thinking as usual.
_______________________________________________
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