Re: How do I tell XCode to use C++ when procompiling a prefix header?
Re: How do I tell XCode to use C++ when procompiling a prefix header?
- Subject: Re: How do I tell XCode to use C++ when procompiling a prefix header?
- From: Allan Odgaard <email@hidden>
- Date: Fri, 18 Jun 2004 06:22:11 +0200
On 17. Jun 2004, at 18:01, Jesper Papmehl wrote:
I have created a project in XCode. In the target settings for one of
the targets (a loadable bundle), I have enterred a path to a prefix
file. The contents of that file is:
#include <string>
The target compiles as it should.
However, if I check "Precompile Prefix Header" in the target settings,
the target no longer compiles. I get a "string: No such file or
directory" message when XCode tries to precompile the prefix header.
The header will be (pre)compiled with different language settings. So
you should guard the include with
#ifdef __cplusplus
...
#endif
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.