【发布时间】:2016-04-28 15:29:50
【问题描述】:
代码可以在 Win32 平台上正确编译,但在 WinCe 平台上会导致在 Debug 模式下出现很多错误。这些错误与头文件 cstdio、cstring 和 cwchar 有关。
Microsoft Visual Studio 9.0\VC\ce\include\cstdio(82) :error C2039: '_gets_instead_use_StringCbGetsA_or_StringCchGetsA' : is not a member of '`global namespace''
错误 C2873:“_gets_instead_use_StringCbGetsA_or_StringCchGetsA”:符号不能在 using 声明中使用
错误 C2873:“sprintf_instead_use_StringCbPrintfA_or_StringCchPrintfA”:符号不能在 using 声明中使用
ce7\include\cwchar(66):错误 C2873:'swprintf_instead_use_StringCbPrintfW_or_StringCchPrintfW':符号不能在 using 声明中使用
\include\armv4i\stdlib.h(146) : 错误 C2065: '_malloca' : 未声明的标识符
【问题讨论】:
标签: c++ std windows-ce