Fatal Error: 'file ' has been modified since the precompiled header was built
Fatal Error: 'file ' has been modified since the precompiled header was built
- Subject: Fatal Error: 'file ' has been modified since the precompiled header was built
- From: Andreas Grosam <email@hidden>
- Date: Wed, 02 May 2012 16:06:02 +0200
I'm getting this error:
fatal error: file '/Users/me/Develop/myproject/Libraries/Mac OS X Libraries/../../Source/prj/utility/foo.hpp' has been modified since the precompiled header was built
The Workspace consists of a main product which links against a static library. The main product does not use a prefix header, but the library project does.
I can build the library for **Debug** Configurations separately without issues. For the **Release** Configuration it fails with the error mentioned above.
Likewise, when I build the main project in Release Configuration, Xcode tries to build the static lib first. It seems Xcode "thinks" the precompiled header is up to date, then starts with building a module from the static lib and fails afterward with the error above.
Is this a known issue? (Otherwise I would file a bug report).
Cleaning the static library solved the issue. But those flaws in dependency evaluation (there are more) are pretty disappointing.
Regards
Andreas
_______________________________________________
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