怎么有时后编译可以,有时候不行 工程复制到另外一个盘后就错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 时出错.

解决方案 »

  1.   

    但是xmemory.cpp这个是vc自带的文件 怎么解决呢
      

  2.   

    'function' : none of the number1 overloads can convert parameter number2 from type 'type'The specified parameter of the overloaded function could not be converted to the required type.
     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补丁