Re: Code indexing within #ifdef blocks?
Re: Code indexing within #ifdef blocks?
- Subject: Re: Code indexing within #ifdef blocks?
- From: Andrew Pontious <email@hidden>
- Date: Wed, 16 Jan 2008 12:03:59 -0800
On Jan 15, 2008, at 6:09 PM, Chung-Kai Chen wrote:
I am new to Xcode and recently start to build a cross-compiler
(gcc) on Mac. It seems that things inside #ifdef blocks are not
indexed. I found this when I explored one of the source files of gcc
named "modulo-sched.c", which contains lots of functions enclosed by
"#ifdef INSN_SCHEDULING ... #endif". The Editor Function Pop-up does
show these functions but not the Project Symbols, How do I fix it?
This is a known issue with Code Sense indexing in Xcode. It only
indexes the code that will actually be compiled.
There is no workaround at this time. (Other than changing your
defines, which will break your build.)
-- Andrew
_______________________________________________
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