Try adding a semicolon in your source files immediately after your includes:
#include "stdio.h" #include "system.h"
;
int StartOfYourCPPCode() {
There's a long-standing bug with pre-compiled headers and code regeneration that (apparently) Microsoft has never fixed. There were (still are?) so many obscure issues with PCH that I just disabled it altogether.