Re: What makes my precompiled header disapear?
Re: What makes my precompiled header disapear?
- Subject: Re: What makes my precompiled header disapear?
- From: Chris Espinosa <email@hidden>
- Date: Tue, 20 Sep 2005 21:29:01 -0700
On Sep 20, 2005, at 1:07 PM, Yves Poissant wrote:
This is an update.
For a while I didn't have the problem. I thought that was because I switched to another build configuration. But I just received the same error just now.
The PCH build specifies the following folder to save the precompiled header:
ProcessPCH++ /Library/Caches/com.apple.Xcode.502/SharedPrecompiledHeaders/MSDEV4.0/HashDefines-ccljydmngssqvjcwbmcjenlfyoaa/HashDefines.h.gch HashDefines.h normal ppc c++
When the error shows up, it can be verified that it is looking in the appropriate folder, following the correct path although it is not looking for a gch file anymore:
cc1plus: /Library/Caches/com.apple.Xcode.502/SharedPrecompiledHeaders/MSDEV4.0/HashDefines-ccljydmngssqvjcwbmcjenlfyoaa/HashDefines.h: No such file or directory
cc1plus: one or more PCH files were found, but they were invalid
cc1plus: use -Winvalid-pch for more information
However, I just verified and the whole "com.apple.Xcode.502" folder have disapeared with all its child folders. Knowing that, the message "one or more PCH files were found, but they were invalid" looks weird. Unless that folder get deleted once an error is found with the precompiled headers.
This is stalling me. I will try to use a different place where to store the precompiled header and stay away from the caches.
Could you please try turning off PRedictive Compilation in the Building pane of Xcode Preferences and see if that cures the problem?
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