











hint info:
1>C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\atlmfc\include\afx.h(38): error C2220: warning treated as error - no 'object' file generated
1>C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\atlmfc\include\afx.h(38): warning C4996: 'MBCS_Support_Deprecated_In_MFC': MBCS support in MFC is deprecated and may be removed in a future version of MFC.
1>C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\atlmfc\include\afx.h(33) : see declaration of 'MBCS_Support_Deprecated_In_MFC'
Some languages, for example, Japanese and Chinese, have large character sets.
To support programming for these markets,
the MFC enables two different approaches to handling large character sets:
Project Properties -> General
Character Set: Use Multi-Byte Character Set
Referenced from "Error preprocessor directives when building".
Project Properties -> C\C++ > Preprocessor -> Preprocessor Definition
add:
NO_WARN_MBCS_MFC_DEPRECATION
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。