It's been several days since my MS Visual (2013 : 12.0.311001.00 update 4) became kind of nut and behave strangely:
Here are the symptoms
- I have a simple hello word project that builds fine.
- I insert one mistake into the code (see below).
- I build project.
- Visual (I'd rather say the compiler) is perfectly find with the new error inserted. It doesn't rebuild nothing and run the previous version of the code.
- The mistake is however highlighted in red in Visual editing panel.
here is the code (which is not the guilty here)
include <iostream>
int _tmain(int argc, _TCHAR* argv[])
{
char c;
std::cout << "Please help!!!" << std::endl;
std::cin >> c;
mistake
return 0;
}
mistake above is not detected as a code change
What I've tried:
- Uninstall reinstall Visual => same behaviour
- Uninstall and reinstal other version of Visual => same behaviour
- Tried with a very simple project to make sure that my real project and cmake chain is not responsible for this. This new very simple project is the main above
What other information I can provide :
- Already tried the stuffs in Tools>Options> project and solutions > build and run where i set "on run when project are out of date" = "always build". => no change
- If i update a header file referenced in my main file, the build process will go just fine. Of course I don't want to have to rememeber all the header files i need to modify to rebuild my project correctly. This no accetable solution.
- I have installed no other tool/component that could explain this.
- There were no visual or windows update at the same time that could be responsible for this.
- This happens also on one of my colleague's a computer (but not all of them). I can see no common radix between him an I that could help the investigation
- This happened next to a time shift in my country. Not sure the translation to english is ok but to be precise enough : time reference has been advanced from one hour.
Any help would be very appreciated because I've already spent several days investigating on this and rebuilding all my projects takes so many time it starts to make me crazy.