Stupid xcode question: How do I turn off precompiled headers?
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
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
Get info on your target, and set GCC_PREFIX_HEADER to an empty string.
Thanks, I see if that helps.
Possibly Related Threads...
| Thread: | Author | Replies: | Views: | Last Post | |
| Question : Deploy xcode 3.1.3 to ios 5+ ? | papaonn | 6 | 4,523 |
Apr 12, 2012 08:37 PM Last Post: MattDiamond |
|
| recreating precompiled headers | OptimisticMonkey | 8 | 9,638 |
Jan 8, 2009 11:36 AM Last Post: appbldr |
|
| Turn Based Game API Released | skilesare | 0 | 3,669 |
Dec 11, 2008 06:18 PM Last Post: skilesare |
|
| Stupid UNIX/svn question | stevejohnson | 5 | 3,787 |
Dec 1, 2008 02:34 AM Last Post: leRiCl |
|
| How to turn unix executables into .app? | leRiCl | 8 | 6,685 |
May 9, 2008 05:54 PM Last Post: leRiCl |
|

