Re: Forcing a single source file to compile with different compiler
Re: Forcing a single source file to compile with different compiler
- Subject: Re: Forcing a single source file to compile with different compiler
- From: Rick Altherr <email@hidden>
- Date: Wed, 16 May 2007 14:56:48 -0700
Yup. I was thinking of __OBJC__ which has the trailing __.
--
Rick Altherr
Architecture and Performance Group
email@hidden
On May 16, 2007, at 2:31 PM, Steve Checkoway wrote:
Rick Altherr wrote:
Or add a preprocessor checks to declare it as extern "C" when
using the header under C++:
#ifdef __cplusplus__
extern "C" {
#endif
void foo();
#ifdef __cplusplus__
}
#endif
You mean __cplusplus.
--
Steve Checkoway
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40apple.com
This email sent to email@hidden
_______________________________________________
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