Click here to Skip to main content
15,566,065 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:

I am trying to convert an old project developed in VC++ and VS2005.
But I am getting over 100 errors, mostly :

Error 5 error C4430: missing type specifier - int assumed. Note: C++ does not support default-int c:\program files\microsoft visual studio 10.0\vc\atlmfc\include\atltransactionmanager.h 202

Please help.

I have both VS2005 and VS 2010 installed on my XP machine.


You have something defined that *should* have a type specified, but does not. This is probably a macro, or something having to do with a message map entry.
Share this answer
Check the CPP file that is causing the error, and try to locate the problem. You may need to re-order the ATL' file #inclusion.
Share this answer
Thanks for the responses.
However I am still having this problem.

I think it has to do with an outdated SDK.

I have two computer.
One installed with VS2008 & VS2010, lets call this computer A
The other installed VS2005 & VS2010, lets call this computer B.

One computer A the conversion is successfully, however computer B is where I am having this problem.

I tired converting the application on computer A and opening the project on computer B, this still does not work.

Is there a way I can update the SDK or point the application to the new SDK that comes with VS2010?

Share this answer
I found the solution.

Solution @:

Basically you need to delete the files that is located :

C:\Documents and Settings\hemantv\Local Settings\Application Data\Microsoft\MSBuild\v4.0

These files contain the VS2005 settings.
Share this answer

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900