编译SerialPort工程文件,出现以下信息:
1>------ 已启动全部重新生成: 项目: SerialPort, 配置: Debug Mini6410-CE6-SDK (ARMV4I) ------
1>正在删除项目“SerialPort”(配置“Debug|Mini6410-CE6-SDK (ARMV4I)”)的中间文件和输出文件
1>正在编译...
1>StdAfx.cpp
1> WINVER not defined. Defaulting to 0x0400, which is appropriate for all supported Windows CE versions
1>C:\Program Files\Microsoft Visual Studio 8\VC\ce\atlmfc\include\atlosapice.h(879) : warning C4996: 'wcsncpy' was declared deprecated
1> c:\program files\windows ce tools\wce600\mini6410-ce6-sdk\include\armv4i\stdlib.h(177) : see declaration of 'wcsncpy'
1> Message: 'This function or variable may be unsafe. Consider using wcsncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
1>C:\Program Files\Microsoft Visual Studio 8\VC\ce\atlmfc\include\atlosapice.h(893) : warning C4996: '_vsnwprintf' was declared deprecated
1> c:\program files\windows ce tools\wce600\mini6410-ce6-sdk\include\armv4i\stdlib.h(382) : see declaration of '_vsnwprintf'
1> Message: 'This function or variable may be unsafe. Consider using _vsnwprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
1>C:\Program Files\Microsoft Visual Studio 8\VC\ce\atlmfc\include\atlosapice.h(910) : warning C4996: '_vsnprintf' was declared deprecated
1> c:\program files\windows ce tools\wce600\mini6410-ce6-sdk\include\armv4i\stdlib.h(377) : see declaration of '_vsnprintf'
1> Message: 'This function or variable may be unsafe. Consider using _vsnprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
1>C:\Program Files\Microsoft Visual Studio 8\VC\ce\atlmfc\include\atlosapice.h(1075) : warning C4996: 'wcsncpy' was declared deprecated
1> c:\program files\windows ce tools\wce600\mini6410-ce6-sdk\include\armv4i\stdlib.h(177) : see declaration of 'wcsncpy'
1> Message: 'This function or variable may be unsafe. Consider using wcsncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
1>C:\Program Files\Microsoft Visual Studio 8\VC\ce\atlmfc\include\atlosapice.h(1123) : warning C4996: 'wcsncpy' was declared deprecated
1> c:\program files\windows ce tools\wce600\mini6410-ce6-sdk\include\armv4i\stdlib.h(177) : see declaration of 'wcsncpy'
1> Message: 'This function or variable may be unsafe. Consider using wcsncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
1>C:\Program Files\Microsoft Visual Studio 8\VC\ce\atlmfc\include\atlchecked.h(157) : warning C4996: '_strlwr' was declared deprecated
1> C:\Program Files\Windows CE Tools\wce600\Mini6410-CE6-SDK\include\ARMV4I\stdlib.h(240) : see declaration of '_strlwr'
1> Message: 'This function or variable may be unsafe. Consider using _strlwr_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
1>C:\Program Files\Microsoft Visual Studio 8\VC\ce\atlmfc\include\atlchecked.h(167) : warning C4996: '_wcslwr' was declared deprecated
1> C:\Program Files\Windows CE Tools\wce600\Mini6410-CE6-SDK\include\ARMV4I\stdlib.h(189) : see declaration of '_wcslwr'
1> Message: 'This function or variable may be unsafe. Consider using _wcslwr_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
1>C:\Program Files\Microsoft Visual Studio 8\VC\ce\atlmfc\include\atlchecked.h(192) : warning C4996: '_wcslwr' was declared deprecated
1> C:\Program Files\Windows CE Tools\wce600\Mini6410-CE6-SDK\include\ARMV4I\stdlib.h(189) : see declaration of '_wcslwr'
1> Message: 'This function or variable may be unsafe. Consider using _wcslwr_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
1>C:\Program Files\Microsoft Visual Studio 8\VC\ce\atlmfc\include\atlchecked.h(209) : warning C4996: '_wcsupr' was declared deprecated
1> C:\Program Files\Windows CE Tools\wce600\Mini6410-CE6-SDK\include\ARMV4I\stdlib.h(190) : see declaration of '_wcsupr'
1> Message: 'This function or variable may be unsafe. Consider using _wcsupr_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
1>C:\Program Files\Microsoft Visual Studio 8\VC\ce\atlmfc\include\atlchecked.h(226) : warning C4996: '_wcsupr' was declared deprecated
1> C:\Program Files\Windows CE Tools\wce600\Mini6410-CE6-SDK\include\ARMV4I\stdlib.h(190) : see declaration of '_wcsupr'
1> Message: 'This function or variable may be unsafe. Consider using _wcsupr_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
1>C:\Program Files\Microsoft Visual Studio 8\VC\ce\atlmfc\include\atlchecked.h(291) : warning C4996: '_gcvt' was declared deprecated
1> C:\Program Files\Windows CE Tools\wce600\Mini6410-CE6-SDK\include\ARMV4I\stdlib.h(529) : see declaration of '_gcvt'
1> Message: 'This function or variable may be unsafe. Consider using _gcvt_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
1>正在编译...
1>SetupDlg.cpp
1>SerialPortDlg.cpp
1>.\SerialPortDlg.cpp(55) : error C2440: 'static_cast' : cannot convert from 'void (__cdecl CSerialPortDlg::* )(WPARAM,LPARAM)' to 'LRESULT (__cdecl CWnd::* )(WPARAM,LPARAM)'
1> None of the functions with this name in scope match the target type
1>.\SerialPortDlg.cpp(168) : warning C4018: '<' : signed/unsigned mismatch
1>.\SerialPortDlg.cpp(170) : warning C4244: '=' : conversion from 'wchar_t' to 'char', possible loss of data
1>SerialPort.cpp
1>PSerialPort.cpp
1>Generating Code...
1>项目 : warning PRJ0018 : 未找到下列环境变量:
1>$(CePlatform)
1>生成日志保存在“file://c:\WINCE600\APP\SerialPort\Mini6410-CE6-SDK (ARMV4I)\Debug\BuildLog.htm”
1>SerialPort - 1 个错误,13 个警告
========== 全部重新生成: 0 已成功, 1 已失败, 0 已跳过 ==========