C++ program not compiling with Clang and visual Studio 2010 Express

假装没事ソ 提交于 2019-12-03 03:30:00

For MSVC 2012 build error, found a solution here

According to Clang documentation, Exceptions and SEH are not supported yet. You have to disable it.

To disable exception in Visual Studio, please open Project Properties and go to C/C++, Preprocessor, then add _HAS_EXCEPTIONS=0 to Preprocessor Definitions.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!