• 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: Objective-C: search project for text skips include'ed header file
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Objective-C: search project for text skips include'ed header file


  • Subject: Re: Objective-C: search project for text skips include'ed header file
  • From: Fritz Anderson <email@hidden>
  • Date: Mon, 9 Jun 2008 13:54:11 -0500

On 9 Jun 2008, at 1:40 PM, Paul Archibald wrote:

THen, I look at some of the other project files, thinking "how can the code have ever worked if these definitions were never included?", and I see that indeed, the mystery header has been #include'ed in the source code. Huhh? 

Have you done Build -> Preprocess in one of the problem source files to see if the symbols you expect get past the preprocessor (e.g., are they really #included)?

So, Although I think I can deal with the coding part of this, I am puzzled as to why the text search could not find a source file to inspect? I even did a "find selected text" search starting with that very header file. No dice, search does not find the definition in the #include'ed header. 

I assume the option at the upper-right of the Project Find window is set to "In Project." Is the header file part of the project list? If not, add the header to your project, making sure not to put it into any target (headers are brought into compilation through #includes, but are not themselves part of the product). See if the Project Find problem clears up.

— F


 _______________________________________________
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: 
 >Objective-C: search project for text skips include'ed header file (From: Paul Archibald <email@hidden>)

  • Prev by Date: Objective-C: search project for text skips include'ed header file
  • Next by Date: Re: Cross-posting from Boost Users: Multi-arch build script for Boost 1.35 for OSX 10.5
  • Previous by thread: Objective-C: search project for text skips include'ed header file
  • Next by thread: Using boost 1.35.0 on Mac OS X with Xcode 3
  • Index(es):
    • Date
    • Thread