• 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
Code Sense "jump to definition" goes to wrong target-specific header
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Code Sense "jump to definition" goes to wrong target-specific header


  • Subject: Code Sense "jump to definition" goes to wrong target-specific header
  • From: Stephen Kay <email@hidden>
  • Date: Sun, 02 Sep 2012 22:49:18 -0400
  • Thread-topic: Code Sense "jump to definition" goes to wrong target-specific header

(Using Xcode 2.5 to port an old CodeWarrior project...)

I posted in another thread about difficulties with including target-specific
headers with the same name, but in different directories.

I solved this (somewhat) by setting USE_HEADERMAP = NO, and then
specifically including paths to various folders in the target's Header
Search Paths.

The targets seem to be including the correct target-specific header files
now, I can tell by the way it's compiling.

However, the Project Symbols shows only symbols from apparently the LAST
target - even though I've rebuilt Code Sense several times. I would have
thought that when you change current targets, the Project Symbols would
change if the symbols are now in different headers.

So, regardless of which target is current, if I jump to a definition of a
MACRO or other symbol, if that MACRO is in a target-specific header file, it
may jump to the wrong header file from another target, even though I know
that the current target is compiling with the correct header. Any
suggestions?

Thanks,
- Stephen

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Stephen Kay
Karma-Lab :: developers of KARMA
http://www.karma-lab.com
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=



 _______________________________________________
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

  • Prev by Date: Re: Problem with targets having different header files with the same name
  • Next by Date: dot one files
  • Previous by thread: Re: Problem with targets having different header files with the same name
  • Next by thread: dot one files
  • Index(es):
    • Date
    • Thread