• 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: precompiled headers -- redefinition of class...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: precompiled headers -- redefinition of class...


  • Subject: Re: precompiled headers -- redefinition of class...
  • From: Scott Tooker <email@hidden>
  • Date: Mon, 27 Oct 2003 11:48:29 -0800

The idea with a precompiled prefix header is that it includes all the
headers that do not change often in your project. In the most cases
this means just including <Cocoa/Cocoa.h> or <Carbon/Carbon.h>. More
complex projects may also include headers from their project (or other
projects) that don't change often.

However, once one of these header included in the precompiled header
does change, the precompiled header will need to be re-built. If you
include headers in you precomp header that are changing often, it's
actually a net loss (since precompiling the header takes longer that
including the header in this case).

It sounds like the problem you are running into is that we are not
detecting when we need to rebuild the precomp header (which we have
made improvements on for the next release).

Scott

On Oct 25, 2003, at 1:09 PM, jeroen clarysse wrote:

> oh by the way : all header files have a #pragma once statement...
>
> I just found out that I can also bypass the problem by removing ALL
> #include statements from the project and putting them all in hte
> precomp header file...
>
> I probably missunderstand all of the precomp concepts....
> _______________________________________________
> xcode-users mailing list | email@hidden
> Help/Unsubscribe/Archives:
> http://www.lists.apple.com/mailman/listinfo/xcode-users
> Do not post admin requests to the list. They will be ignored.

[demime 0.98b removed an attachment of type application/pkcs7-signature which had a name of smime.p7s]
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.

References: 
 >precompiled headers -- redefinition of class... (From: jeroen clarysse <email@hidden>)
 >Re: precompiled headers -- redefinition of class... (From: jeroen clarysse <email@hidden>)

  • Prev by Date: Re: Blocking bug [was:Re: where should java librairies be set?]
  • Next by Date: Re: Extending Xcode
  • Previous by thread: Re: precompiled headers -- redefinition of class...
  • Next by thread: PB on 10.3?
  • Index(es):
    • Date
    • Thread