c++visual-studio-2008visual-c++visual-c++-2008visual-c++-2008-express

Migrating from Visual C++ 6 to Visual C++ 2008 express


I'm tring to migrate my code from VCpp 6 to VCpp 2008 express but when I build the solution I receive this error message:

icl: warning: problem with
Microsoft compilation of
'c:\Desenvolvimento\DFF\Base\\version.cpp'
1>C:\Arquivos de programas\Microsoft
Visual Studio
9.0\VC\include\string.h(69): error:   expected a ";" 1> 
__DEFINE_CPP_OVERLOAD_STANDARD_FUNC_0_1(char> *,
 __RETURN_POLICY_DST, __EMPTY_DECLSPEC, _strset, _Inout_z_, 
char, _Dest, _In_ int, _Value)

There are a lot of errors like this, sometimes expecting ";", sometimes ")".

Thanks, Leandro Lima


Solution

  • The error was occuring because in the Visual C++ 6 I called Intel compiler from a .bat file to create a version number for my project. Now I'm using Microsoft compiler and I forgot to change the call.