Re: VS 2005 compile errors
- From: "Kevin Yang" <intelligent113@xxxxxxxxx>
- Date: 9 Jan 2006 12:09:04 -0800
Brett Rowbotham 写道:
> Having just installed VS 2005 from my MSDN CD's I thought I'd try to
> compile a VS 2003 C++ project to see the difference. After using the
> Project Upgrade option I am unable to complete the compile due to errors
> in winnt.h.
>
> Specifically the errors I get are as follows:
> c:\program files\microsoft visual studio 8\vc\platformsdk\include\winnt.h
> (222) : error C2146: syntax error : missing ';' before identifier
> 'PVOID64'
> c:\program files\microsoft visual studio 8\vc\platformsdk\include\winnt.h
> (222) : error C4430: missing type specifier - int assumed. Note: C++ does
> not support default-int
> c:\program files\microsoft visual studio 8\vc\platformsdk\include\winnt.h
> (5940) : error C2146: syntax error : missing ';' before identifier
> 'Buffer'
> c:\program files\microsoft visual studio 8\vc\platformsdk\include\winnt.h
> (5940) : error C4430: missing type specifier - int assumed. Note: C++
> does not support default-int
> c:\program files\microsoft visual studio 8\vc\platformsdk\include\winnt.h
> (5940) : error C4430: missing type specifier - int assumed. Note: C++
> does not support default-int
>
> This appears very odd to me as the solution compiles perfectly in VS
> 2003. Is there something I am missing in the conversion of a solution
> between VS 2003 and 2005 ? I have also created a test project in VS 2005
> and used the stdafx.h for that in the project that won't compile but it
> makes no difference.
>
> Any help greatly appreciated.
> Regards,
> Brett
.
- Prev by Date: Problem debugging ASP website using VS2005
- Next by Date: VS.NET 2005 and the development server
- Previous by thread: Problem debugging ASP website using VS2005
- Next by thread: VS.NET 2005 and the development server
- Index(es):
Relevant Pages
|