Monday, April 22, 2013

microsoft visual c++ 2012 error warning log

1.error

1>E:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\atlmfc\include\statreg.h(121): error C2061: 语法错误: 标识符“nothrow”



fixed:

/D "_ATL_DISABLE_NOTHROW_NEW"



2.error

1>E:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\xkeycheck.h(242): fatal error C1189: #error :  The C++ Standard Library forbids macroizing keywords. Enable warning C4005 to find the forbidden macro.




fixed:

/D "_ALLOW_KEYWORD_MACROS"

No comments: