环境如下:windows xp,msvc6,pwlibv1.10.3,opalv2.2.4我按其说明编译只有在更新stl头的时候有两个警告:
C:\sip>msvc6chk upgrade
PWLIB File Upgrader v1.0
Copyright (C) 2004 by Post IncrementWARNING: the following file requires upgrading:
D:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\DEQUEThe files presented here are copyright ?1995-2000 by P.J. Plauger.
All rights reserved. They are for use only in conjunction with a valid
license for Microsoft Visual C++ V5.0 or V6.0. Microsoft Corporation is in
no way involved with the production or release of these files. The files are
offered on an `as is' basis. DINKUMWARE, LTD. AND P.J. PLAUGER MAKE NO
REPRESENTATIONS OR WARRANTIES ABOUT THE SUITABILITY OF THESE FILES, EITHER
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT.
DINKUMWARE, LTD. AND P.J. PLAUGER SHALL NOT BE LIABLE FOR ANY DAMAGES
SUFFERED BY LICENSEE AS A RESULT OF USING THESE FILES.Upgrade file (y/n) ? y
The following files have been upgraded
  D:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\DEQUE
The previous version of the file has been renamed to
  D:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\DEQUE.backup
WARNING: D:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\FSTREAM has unkno
wn CRC c5dd5df9, assuming it does NOT need upgrade.WARNING: the following file requires upgrading:
D:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\LISTThe files presented here are copyright ?1995-2000 by P.J. Plauger.
All rights reserved. They are for use only in conjunction with a valid
license for Microsoft Visual C++ V5.0 or V6.0. Microsoft Corporation is in
no way involved with the production or release of these files. The files are
offered on an `as is' basis. DINKUMWARE, LTD. AND P.J. PLAUGER MAKE NO
REPRESENTATIONS OR WARRANTIES ABOUT THE SUITABILITY OF THESE FILES, EITHER
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT.
DINKUMWARE, LTD. AND P.J. PLAUGER SHALL NOT BE LIABLE FOR ANY DAMAGES
SUFFERED BY LICENSEE AS A RESULT OF USING THESE FILES.Upgrade file (y/n) ? y
The following files have been upgraded
  D:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\LIST
The previous version of the file has been renamed to
  D:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\LIST.backupWARNING: the following file requires upgrading:
D:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\VECTORThe files presented here are copyright ?1995-2000 by P.J. Plauger.
All rights reserved. They are for use only in conjunction with a valid
license for Microsoft Visual C++ V5.0 or V6.0. Microsoft Corporation is in
no way involved with the production or release of these files. The files are
offered on an `as is' basis. DINKUMWARE, LTD. AND P.J. PLAUGER MAKE NO
REPRESENTATIONS OR WARRANTIES ABOUT THE SUITABILITY OF THESE FILES, EITHER
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT.
DINKUMWARE, LTD. AND P.J. PLAUGER SHALL NOT BE LIABLE FOR ANY DAMAGES
SUFFERED BY LICENSEE AS A RESULT OF USING THESE FILES.Upgrade file (y/n) ? y
The following files have been upgraded
  D:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\VECTOR
The previous version of the file has been renamed to
  D:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\VECTOR.backupWARNING: the following file requires upgrading:
D:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\XMEMORYThe files presented here are copyright ?1995-2000 by P.J. Plauger.
All rights reserved. They are for use only in conjunction with a valid
license for Microsoft Visual C++ V5.0 or V6.0. Microsoft Corporation is in
no way involved with the production or release of these files. The files are
offered on an `as is' basis. DINKUMWARE, LTD. AND P.J. PLAUGER MAKE NO
REPRESENTATIONS OR WARRANTIES ABOUT THE SUITABILITY OF THESE FILES, EITHER
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT.
DINKUMWARE, LTD. AND P.J. PLAUGER SHALL NOT BE LIABLE FOR ANY DAMAGES
SUFFERED BY LICENSEE AS A RESULT OF USING THESE FILES.Upgrade file (y/n) ? y
The following files have been upgraded
  D:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\XMEMORY
The previous version of the file has been renamed to
  D:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\XMEMORY.backupWARNING: the following file requires upgrading:
D:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\XSTRINGThe files presented here are copyright ?1995-2000 by P.J. Plauger.
All rights reserved. They are for use only in conjunction with a valid
license for Microsoft Visual C++ V5.0 or V6.0. Microsoft Corporation is in
no way involved with the production or release of these files. The files are
offered on an `as is' basis. DINKUMWARE, LTD. AND P.J. PLAUGER MAKE NO
REPRESENTATIONS OR WARRANTIES ABOUT THE SUITABILITY OF THESE FILES, EITHER
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT.
DINKUMWARE, LTD. AND P.J. PLAUGER SHALL NOT BE LIABLE FOR ANY DAMAGES
SUFFERED BY LICENSEE AS A RESULT OF USING THESE FILES.Upgrade file (y/n) ? y
The following files have been upgraded
  D:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\XSTRING
The previous version of the file has been renamed to
  D:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\XSTRING.backup
WARNING: D:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\XTREE has unknown
 CRC 65867e3d, assuming it does NOT need upgrade.我直接把msvc6chk的upgrade文件中的Xtree和FStream,考备到D:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\下边替换原文件这个warning就没有了.在编译pwlib时正常,但在编译:opal时提示下边错误:
--------------------Configuration: OPAL_lib - Win32 Release--------------------
Compiling...
call.cxx
C:\sip\opal\src\opal\call.cxx(544) : error C2086: 'conn' : redefinition
sipcon.cxx
C:\SIP\OPAL\INCLUDE\sip/sipep.h(969) : error C2086: 'info' : redefinition
sipep.cxx
C:\SIP\OPAL\INCLUDE\sip/sipep.h(969) : error C2086: 'info' : redefinition
sippdu.cxx
C:\SIP\OPAL\INCLUDE\sip/sipep.h(969) : error C2086: 'info' : redefinition
Generating Code...
Error executing cl.exe.opal.dll - 4 error(s), 0 warning(s)我在window2000 professing + vs.net2003时 能编译通过,不知道是什么原因?请各位大哥帮帮小弟!

解决方案 »

  1.   

    除上边说那两个警告(WARNING: D:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\FSTREAM has unkno
    wn CRC c5dd5df9, assuming it does NOT need upgrade.和WARNING: D:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\XTREE has unknown
     CRC 65867e3d, assuming it does NOT need upgrade.
    )
    外其它的完全和http://www.voxgratia.org/docs/pwlib_windows.htmlhttp://www.voxgratia.org/docs/opal_windows.html上边写的相同
      

  2.   

    vc\操作系统等组合时,高低版本之间确实会存在问题.
    1.调用的DLL版本有问题.
    2.有些在一个环境下有,一个环境没有
    3.有些使用方法不同.
    4.有些对摸版支持不好
    等等
    出现这种问题比较晕.
      

  3.   

    这个问题的原因是msvc6.0的STL有问题,找到相应的更改文件升级,本身配备的那个 msvc6ck upgrade有问题,直接找到那两个文件并替换就行
      

  4.   

    老大, OPAl已经不支持VC6了, 你偏要用。