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

Re: Disable precompiled headers for one file?


  • Subject: Re: Disable precompiled headers for one file?
  • From: Tommy Nordgren <email@hidden>
  • Date: Mon, 15 Sep 2008 22:45:38 +0200


On Sep 15, 2008, at 10:27 PM, Chris Herborth wrote:

Is there a way to disable precompiled headers for a specific source file?

I'm using a 3rd party framework that requires a #define before including its headers in your main() file; if the other files are compiled with that #define (in, say, the pch file) you get linker errors for multiply-defined symbols.

Thanks!

--
Chris Herborth (email@hidden)           http://www.pobox.com/~chrish/
Never send a monster to do the work of an evil scientist.


The solution is simple . DON'T include these files in precompiled headers.
------------------------------------------------------
"Home is not where you are born, but where your heart finds peace" -
Tommy Nordgren, "The dying old crone"
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
References: 
 >Disable precompiled headers for one file? (From: Chris Herborth <email@hidden>)

  • Prev by Date: Disable precompiled headers for one file?
  • Next by Date: Re: Porting projects from Windows
  • Previous by thread: Disable precompiled headers for one file?
  • Next by thread: volatile compile error
  • Index(es):
    • Date
    • Thread