怎么有时后编译可以,有时候不行 工程复制到另外一个盘后就错d:\program files\vc6\vc98\include\xmemory(39) : error C2665: 'new' : none of the 5 overloads can convert parameter 1 from type 'char [139]'
d:\program files\vc6\vc98\include\xmemory(69) : see reference to function template instantiation 'char *__cdecl std::_Allocate(int,char *)' being compiled
执行 cl.exe 时出错.
d:\program files\vc6\vc98\include\xmemory(69) : see reference to function template instantiation 'char *__cdecl std::_Allocate(int,char *)' being compiled
执行 cl.exe 时出错.
If you’ve encountered this error on code which compiled with an earlier version of Visual
C++, please read Technote: Improved Conformance to ANSI C++ for more information.You may need to supply a conversion operator or explicit conversion.可能是你的编译器没打补丁的问题,vc6安装完后打上sp5补丁