免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2850 | 回复: 1
打印 上一主题 下一主题

[C++] 用VS2010编译用VC6.0编译通过的源程序,编译通过后生成.dll,但无法调试运行。求解释 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2015-03-29 22:08 |只看该作者 |倒序浏览
1>  WriteTrsnsData.cpp
1>c:\users\lenovo\desktop\全网temp\全网\writetrsnsdata.cpp(166): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1>          f:\software\setup\vs10.0test\vc\include\string.h(105) : 参见“strcpy”的声明
1>c:\users\lenovo\desktop\全网temp\全网\writetrsnsdata.cpp(179): warning C4996: 'strcat': This function or variable may be unsafe. Consider using strcat_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1>          f:\software\setup\vs10.0test\vc\include\string.h(110) : 参见“strcat”的声明
1>c:\users\lenovo\desktop\全网temp\全网\writetrsnsdata.cpp(181): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1>          f:\software\setup\vs10.0test\vc\include\string.h(105) : 参见“strcpy”的声明
1>c:\users\lenovo\desktop\全网temp\全网\writetrsnsdata.cpp(192): warning C4996: 'strcat': This function or variable may be unsafe. Consider using strcat_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1>          f:\software\setup\vs10.0test\vc\include\string.h(110) : 参见“strcat”的声明
1>c:\users\lenovo\desktop\全网temp\全网\writetrsnsdata.cpp(194): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1>          f:\software\setup\vs10.0test\vc\include\string.h(105) : 参见“strcpy”的声明
1>c:\users\lenovo\desktop\全网temp\全网\writetrsnsdata.cpp(205): warning C4996: 'strcat': This function or variable may be unsafe. Consider using strcat_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1>          f:\software\setup\vs10.0test\vc\include\string.h(110) : 参见“strcat”的声明
1>  WriteNetData.cpp
1>c:\users\lenovo\desktop\全网temp\全网\writenetdata.cpp(600): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1>          f:\software\setup\vs10.0test\vc\include\string.h(105) : 参见“strcpy”的声明
1>c:\users\lenovo\desktop\全网temp\全网\writenetdata.cpp(601): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1>          f:\software\setup\vs10.0test\vc\include\string.h(105) : 参见“strcpy”的声明
1>c:\users\lenovo\desktop\全网temp\全网\writenetdata.cpp(614): warning C4996: 'strcat': This function or variable may be unsafe. Consider using strcat_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1>          f:\software\setup\vs10.0test\vc\include\string.h(110) : 参见“strcat”的声明
1>c:\users\lenovo\desktop\全网temp\全网\writenetdata.cpp(61: warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1>          f:\software\setup\vs10.0test\vc\include\string.h(105) : 参见“strcpy”的声明
1>c:\users\lenovo\desktop\全网temp\全网\writenetdata.cpp(619): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1>          f:\software\setup\vs10.0test\vc\include\string.h(105) : 参见“strcpy”的声明
1>c:\users\lenovo\desktop\全网temp\全网\writenetdata.cpp(632): warning C4996: 'strcat': This function or variable may be unsafe. Consider using strcat_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1>          f:\software\setup\vs10.0test\vc\include\string.h(110) : 参见“strcat”的声明
1>c:\users\lenovo\desktop\全网temp\全网\writenetdata.cpp(64: warning C4996: 'strcat': This function or variable may be unsafe. Consider using strcat_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1>          f:\software\setup\vs10.0test\vc\include\string.h(110) : 参见“strcat”的声明
1>c:\users\lenovo\desktop\全网temp\全网\writenetdata.cpp(664): warning C4996: 'strcat': This function or variable may be unsafe. Consider using strcat_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1>          f:\software\setup\vs10.0test\vc\include\string.h(110) : 参见“strcat”的声明
1>c:\users\lenovo\desktop\全网temp\全网\writenetdata.cpp(673): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1>          f:\software\setup\vs10.0test\vc\include\string.h(105) : 参见“strcpy”的声明
1>c:\users\lenovo\desktop\全网temp\全网\writenetdata.cpp(674): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1>          f:\software\setup\vs10.0test\vc\include\string.h(105) : 参见“strcpy”的声明
1>c:\users\lenovo\desktop\全网temp\全网\writenetdata.cpp(675): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1>          f:\software\setup\vs10.0test\vc\include\string.h(105) : 参见“strcpy”的声明
1>c:\users\lenovo\desktop\全网temp\全网\writenetdata.cpp(68: warning C4996: 'strcat': This function or variable may be unsafe. Consider using strcat_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1>          f:\software\setup\vs10.0test\vc\include\string.h(110) : 参见“strcat”的声明
1>c:\users\lenovo\desktop\全网temp\全网\writenetdata.cpp(692): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1>          f:\software\setup\vs10.0test\vc\include\string.h(105) : 参见“strcpy”的声明
1>c:\users\lenovo\desktop\全网temp\全网\writenetdata.cpp(693): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1>          f:\software\setup\vs10.0test\vc\include\string.h(105) : 参见“strcpy”的声明
1>c:\users\lenovo\desktop\全网temp\全网\writenetdata.cpp(694): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1>          f:\software\setup\vs10.0test\vc\include\string.h(105) : 参见“strcpy”的声明
1>c:\users\lenovo\desktop\全网temp\全网\writenetdata.cpp(707): warning C4996: 'strcat': This function or variable may be unsafe. Consider using strcat_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1>          f:\software\setup\vs10.0test\vc\include\string.h(110) : 参见“strcat”的声明
1>c:\users\lenovo\desktop\全网temp\全网\writenetdata.cpp(723): warning C4996: 'strcat': This function or variable may be unsafe. Consider using strcat_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1>          f:\software\setup\vs10.0test\vc\include\string.h(110) : 参见“strcat”的声明
1>c:\users\lenovo\desktop\全网temp\全网\writenetdata.cpp(739): warning C4996: 'strcat': This function or variable may be unsafe. Consider using strcat_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1>          f:\software\setup\vs10.0test\vc\include\string.h(110) : 参见“strcat”的声明
1>c:\users\lenovo\desktop\全网temp\全网\writenetdata.cpp(755): warning C4996: 'strcat': This function or variable may be unsafe. Consider using strcat_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1>          f:\software\setup\vs10.0test\vc\include\string.h(110) : 参见“strcat”的声明
1>c:\users\lenovo\desktop\全网temp\全网\writenetdata.cpp(771): warning C4996: 'strcat': This function or variable may be unsafe. Consider using strcat_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1>          f:\software\setup\vs10.0test\vc\include\string.h(110) : 参见“strcat”的声明
1>  WriteLineData.cpp
1>  stdafx.cpp
1>  StateEstimate.cpp
1>c:\users\lenovo\desktop\全网temp\全网\stateestimate.cpp(39): warning C4244: “初始化”: 从“double”转换到“unsigned int”,可能丢失数据
1>c:\users\lenovo\desktop\全网temp\全网\stateestimate.cpp(47): warning C4244: “初始化”: 从“double”转换到“unsigned int”,可能丢失数据
1>  ReadTransData.cpp
1>  ReadLineData.cpp
1>  readdata.cpp
1>  MakeJacobian.cpp
1>  MakeInfoMatrix.cpp
1>  main.cpp
1>  Line_computerdll.cpp
1>  Int2ext.cpp
1>c:\users\lenovo\desktop\全网temp\全网\int2ext.cpp(24): warning C4244: “=”: 从“double”转换到“int”,可能丢失数据
1>c:\users\lenovo\desktop\全网temp\全网\int2ext.cpp(30): warning C4244: “=”: 从“double”转换到“int”,可能丢失数据
1>c:\users\lenovo\desktop\全网temp\全网\int2ext.cpp(36): warning C4244: “=”: 从“double”转换到“int”,可能丢失数据
1>c:\users\lenovo\desktop\全网temp\全网\int2ext.cpp(37): warning C4244: “=”: 从“double”转换到“int”,可能丢失数据
1>  GuassElimilation.cpp
1>  GetTopo.cpp
1>c:\users\lenovo\desktop\全网temp\全网\gettopo.cpp(165): warning C4244: “=”: 从“double”转换到“int”,可能丢失数据
1>c:\users\lenovo\desktop\全网temp\全网\gettopo.cpp(174): warning C4244: “=”: 从“double”转换到“int”,可能丢失数据
1>c:\users\lenovo\desktop\全网temp\全网\gettopo.cpp(192): warning C4244: “=”: 从“double”转换到“int”,可能丢失数据
1>c:\users\lenovo\desktop\全网temp\全网\gettopo.cpp(201): warning C4244: “=”: 从“double”转换到“int”,可能丢失数据
1>c:\users\lenovo\desktop\全网temp\全网\gettopo.cpp(215): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1>          f:\software\setup\vs10.0test\vc\include\string.h(105) : 参见“strcpy”的声明
1>c:\users\lenovo\desktop\全网temp\全网\gettopo.cpp(216): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1>          f:\software\setup\vs10.0test\vc\include\string.h(105) : 参见“strcpy”的声明
1>c:\users\lenovo\desktop\全网temp\全网\gettopo.cpp(217): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1>          f:\software\setup\vs10.0test\vc\include\string.h(105) : 参见“strcpy”的声明
1>c:\users\lenovo\desktop\全网temp\全网\gettopo.cpp(223): warning C4244: “=”: 从“double”转换到“int”,可能丢失数据
1>c:\users\lenovo\desktop\全网temp\全网\gettopo.cpp(232): warning C4244: “=”: 从“double”转换到“int”,可能丢失数据
1>c:\users\lenovo\desktop\全网temp\全网\gettopo.cpp(243): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1>          f:\software\setup\vs10.0test\vc\include\string.h(105) : 参见“strcpy”的声明
1>c:\users\lenovo\desktop\全网temp\全网\gettopo.cpp(244): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1>          f:\software\setup\vs10.0test\vc\include\string.h(105) : 参见“strcpy”的声明
1>c:\users\lenovo\desktop\全网temp\全网\gettopo.cpp(245): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1>          f:\software\setup\vs10.0test\vc\include\string.h(105) : 参见“strcpy”的声明
1>c:\users\lenovo\desktop\全网temp\全网\gettopo.cpp(251): warning C4244: “=”: 从“double”转换到“int”,可能丢失数据
1>c:\users\lenovo\desktop\全网temp\全网\gettopo.cpp(260): warning C4244: “=”: 从“double”转换到“int”,可能丢失数据
1>  GetPFEst.cpp
1>  GetCalMatrix.cpp
1>  Ext2int.cpp
1>c:\users\lenovo\desktop\全网temp\全网\ext2int.cpp(42): warning C4244: “=”: 从“double”转换到“int”,可能丢失数据
1>c:\users\lenovo\desktop\全网temp\全网\ext2int.cpp(4: warning C4244: “=”: 从“double”转换到“int”,可能丢失数据
1>c:\users\lenovo\desktop\全网temp\全网\ext2int.cpp(54): warning C4244: “=”: 从“double”转换到“int”,可能丢失数据
1>c:\users\lenovo\desktop\全网temp\全网\ext2int.cpp(55): warning C4244: “=”: 从“double”转换到“int”,可能丢失数据
1>  Exchangedata.cpp
1>c:\users\lenovo\desktop\全网temp\全网\exchangedata.cpp(107): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1>          f:\software\setup\vs10.0test\vc\include\string.h(105) : 参见“strcpy”的声明
1>c:\users\lenovo\desktop\全网temp\全网\exchangedata.cpp(491): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1>          f:\software\setup\vs10.0test\vc\include\string.h(105) : 参见“strcpy”的声明
1>c:\users\lenovo\desktop\全网temp\全网\exchangedata.cpp(492): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1>          f:\software\setup\vs10.0test\vc\include\string.h(105) : 参见“strcpy”的声明
1>c:\users\lenovo\desktop\全网temp\全网\exchangedata.cpp(513): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1>          f:\software\setup\vs10.0test\vc\include\string.h(105) : 参见“strcpy”的声明
1>c:\users\lenovo\desktop\全网temp\全网\exchangedata.cpp(623): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1>          f:\software\setup\vs10.0test\vc\include\string.h(105) : 参见“strcpy”的声明
1>c:\users\lenovo\desktop\全网temp\全网\exchangedata.cpp(70: warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1>          f:\software\setup\vs10.0test\vc\include\string.h(105) : 参见“strcpy”的声明
1>c:\users\lenovo\desktop\全网temp\全网\exchangedata.cpp(770): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1>          f:\software\setup\vs10.0test\vc\include\string.h(105) : 参见“strcpy”的声明
1>c:\users\lenovo\desktop\全网temp\全网\exchangedata.cpp(832): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1>          f:\software\setup\vs10.0test\vc\include\string.h(105) : 参见“strcpy”的声明
1>c:\users\lenovo\desktop\全网temp\全网\exchangedata.cpp(981): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1>          f:\software\setup\vs10.0test\vc\include\string.h(105) : 参见“strcpy”的声明
1>  正在生成代码...
1>Link:
1>     正在创建库 .\Debug\WLSStateEstimate.lib 和对象 .\Debug\WLSStateEstimate.exp
1>LinkEmbedManifest:
1>     正在创建库 .\Debug\WLSStateEstimate.lib 和对象 .\Debug\WLSStateEstimate.exp
1>  WLSStateEstimate.vcxproj -> C:\Users\lenovo\Desktop\全网temp\全网\.\Debug\WLSStateEstimate.dll
1>FinalizeBuildStatus:
1>  正在删除文件“.\Debug\WLSStateEstimate.unsuccessfulbuild”。
1>  正在对“.\Debug\WLSStateEstimate.lastbuildstate”执行 Touch 任务。
1>
1>生成成功。
1>
1>已用时间 00:00:20.61
========== 生成: 成功 1 个,失败 0 个,最新 0 个,跳过 0 个 ==========

论坛徽章:
0
2 [报告]
发表于 2015-03-29 22:10 |只看该作者
其中有较多的warning ,但是对程序都是没有影响的,只是VS现在更严格。。。。请忽略!!! 回复 1# da888888


   
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP