• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Code indexing within #ifdef blocks?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Code indexing within #ifdef blocks? (From: Chung-Kai Chen <email@hidden>)

  • Prev by Date: Re: sluggish ui response on Leopard
  • Next by Date: Re: Xcode 3.0 file rename behavior
  • Previous by thread: Code indexing within #ifdef blocks?
  • Next by thread: Tool won't launch
  • Index(es):
    • Date
    • Thread