Re: pragma for compiling as Obj-C++
Re: pragma for compiling as Obj-C++
- Subject: Re: pragma for compiling as Obj-C++
- From: Chris Espinosa <email@hidden>
- Date: Thu, 26 Feb 2009 07:51:38 -0800
On Feb 26, 2009, at 7:05 AM, glenn andreas wrote:
I'm wondering if there is a pragma I can use to tell gcc to
compile a file as Obj-C++ instead of C++. (I looked, but didn't
find one.) Here's what I'd like to do:
There isn't - you just set the "file's extra compiler flags" to
include "-x objective-c++".
It's easier than that.
1) Select file
2) Choose Get Info
3) In General tab, set File Type popup:
_______________________________________________
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