Stupid xcode question: How do I turn off precompiled headers?

Nibbie
Posts: 2
Joined: 2008.08
Post: #1
I am porting a pocketpc done in c/c++ code. When I compile it, I get about 2000 errors like "error expected unqualified-id before '@' token".
According to google, this is due to the precompilation getting confused with c/c++ and objective c headers.

One solution is to turn off precompiled headers. I have turned off everything that looks like a precompilation option but I still get the errors. So, how do I turn off precompilation properly?

Regards

Sean
Quote this message in a reply
Moderator
Posts: 1,560
Joined: 2003.10
Post: #2
Get info on your target, and set GCC_PREFIX_HEADER to an empty string.
Quote this message in a reply
Nibbie
Posts: 2
Joined: 2008.08
Post: #3
Thanks, I see if that helps.
Quote this message in a reply
Post Reply 

Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Question : Deploy xcode 3.1.3 to ios 5+ ? papaonn 6 5,963 Apr 12, 2012 08:37 PM
Last Post: MattDiamond
  recreating precompiled headers OptimisticMonkey 8 12,483 Jan 8, 2009 11:36 AM
Last Post: appbldr
  Turn Based Game API Released skilesare 0 3,940 Dec 11, 2008 06:18 PM
Last Post: skilesare
  Stupid UNIX/svn question stevejohnson 5 4,190 Dec 1, 2008 02:34 AM
Last Post: leRiCl
  How to turn unix executables into .app? leRiCl 8 7,634 May 9, 2008 05:54 PM
Last Post: leRiCl