When attempting to compile a C++ solution, I receive this error, for multiple PCHAST files in my project. Rerunning the compiler does not fix the problem. Deleting the PCH and PCHAST files and rerunning the compiler also does not fix the problem.
Turning off /analyze is not a workable solution, long term.
This looks a bit like the issue discussed here: http://blogs.msdn.com/vcblog/archive/2009/11/12/visual-c-precompiled-header-errors-on-windows-7.aspx, except that:
I'm on Windows 2008 (i.e. Vista), rather than Windows 7.
This is the PCHAST files (i.e. the output from /analyze) rather than the PCH files.
The linked blog entry says "This fix will be available in the final release of Visual Studio 2010", but doesn't talk about PCHAST files; nor does it say explicitly that this bug exists in beta2. Also I'm on Windows 2008, not Win7.