Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: Invalid PCH file warning?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Invalid PCH file warning?



On Jul 25, 2005, at 7:58 AM, Scott Andrew wrote:

I have changed my compiler options for my target to use GC 3.3 so I can run on OS's older than 10.4. I now get a warning about invalid pch files. If I blow the cache away that has the pch file i can build with no warning, but then I get the warning again. How do I stop this warning from appearing?

The warning is:

<x-tad-smaller>cc1objplus: /Library/Caches/com.apple.Xcode.501/SharedPrecompiledHeaders/IPhoto2PBase_Prefix-afniqnohmyuxfbbegkjrbrjnabdf/IPhoto2PBase_Prefix.pch: No such file or directory</x-tad-smaller>
<x-tad-smaller>cc1objplus: one or more PCH files were found, but they were invalid</x-tad-smaller>
<x-tad-smaller>cc1objplus: use -Winvalid-pch for more information
</x-tad-smaller>

This is a bug where the Predictive Compilation feature generates (in the background) a precomp that the full build can't use. We'll address this in Xcode 2.2.

Chris
 _______________________________________________
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: 
 >Invalid PCH file warning? (From: Scott Andrew <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.