c:\program files (x86)\microsoft visual studio 10.0\vc\include\codeanalysis\sourceannotations.h(29): error C2144: syntax error : '__w64 unsigned int' should be preceded by ';'
c:\program files (x86)\microsoft visual studio 10.0\vc\include\codeanalysis\sourceannotations.h(29): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
I am working with VS2010 and sourceannotations.h belongs to it !!!
The source of your problems are certainly somewhere within your code (the standard header certainly don't have error because they are uses a million times).
Possible problems in your code:
- Missing semicolon
- Missing or wrongfull brace. One of either () or {}
- A stray [invisible] character somerwhere
- An invalid macro (#define)
Sometimes deleting all generated file (especially .sdf) may help if there is no such error.
The error message clearly indicates that line 29 (line 5 of your snippet) should be proceeded by a semicolon. Presumably, you are not including sourceannotations.h directly, but it is included by some other standard header. You're going to have to back up through the layers of headers to find the header that you included that then includes sourceannotations.h. Your missing semicolon should be immediately before the inclusion of that top level header. Going into project properties, under C/C++ -> Advanced, you can set SHOW INCLUDES. That may help.
Although it may be simpler to check the line before every #include for a semicolon.
My guess is you have a class declaration (missing a semicolon) followed by a #include of a standard header.
As it is an old code already built a hundred time (well it's less than one million ;-) ) but copied on a new laptop via SVN, the first thing I'll try is to delete the .sdf files ...