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.
Thanks. We also had suspected pre-compiled headers and also just disabled them completely, but unfortunately that wasn't it. I'll try adding a semicolon next time it happens to check if that changes something.
#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.