Error in sourceannotations.h
I'm using Visual C++ 2008 Express, and I'm getting an error message with one of Visual C++'s header files:
Code:
1>------ Rebuild All started: Project: project4, Configuration: Debug Win32 ------
1>Deleting intermediate and output files for project 'project4', configuration 'Debug|Win32'
1>Compiling...
1>main.cpp
1>c:\program files (x86)\microsoft visual studio 9.0\vc\include\codeanalysis\sourceannotations.h(19) : error C2144: syntax error : '__w64 unsigned int' should be preceded by ';'
1>polynomial.cpp
1>c:\program files (x86)\microsoft visual studio 9.0\vc\include\codeanalysis\sourceannotations.h(19) : error C2144: syntax error : '__w64 unsigned int' should be preceded by ';'
1>Generating Code...
1>Build log was saved at "file://c:\Users\Brad\Documents\Visual Studio 2008\Projects\project4\project4\Debug\BuildLog.htm"
1>project4 - 2 error(s), 0 warning(s)
========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========
I'm kinda clueless as to what piece of my code would cause this error. (I assume it's my code and not Microsoft's). Here's the segment of code that the error points to:
Code:
...
#ifndef _SIZE_T_DEFINED
#ifdef _WIN64
typedef unsigned __int64 size_t;
#else
typedef _W64 unsigned int size_t;
#endif
#define _SIZE_T_DEFINED
#endif
...
I'll attach my code.