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: Steve Checkoway <email@hidden>
- Date: Wed, 16 May 2007 14:31:11 -0700
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:
This email sent to email@hidden