• 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: Turn off precompiled header for one file?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Turn off precompiled header for one file?


  • Subject: Re: Turn off precompiled header for one file?
  • From: John Weeks <email@hidden>
  • Date: Fri, 14 Jan 2011 14:39:01 -0800


On Jan 14, 2011, at 2:10 PM, Christiaan Hofman wrote:

A precompiled header is for a target, not a file, so the answer as such is no. What you could do though is make use of something like "#ifdef __OBJC__" or "#ifdef __cplusplus" in the precompile header, so that it's doing different things for C++ files.

Yup. That's pretty much what I thought, but decided it couldn't hurt to ask.

Thanks for taking the time, Christiaan.

Regards,
John Weeks

WaveMetrics, Inc.
Phone (503) 620-3001
Fax   (503) 620-6754
email   email@hidden

 _______________________________________________
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

  • Follow-Ups:
    • Re: Turn off precompiled header for one file?
      • From: Uli Kusterer <email@hidden>
References: 
 >Turn off precompiled header for one file? (From: John Weeks <email@hidden>)
 >Re: Turn off precompiled header for one file? (From: Christiaan Hofman <email@hidden>)

  • Prev by Date: Re: Turn off precompiled header for one file?
  • Next by Date: Why do I get the message 'pointer being freed was not allocated' in my dynalib?
  • Previous by thread: Re: Turn off precompiled header for one file?
  • Next by thread: Re: Turn off precompiled header for one file?
  • Index(es):
    • Date
    • Thread