Clang on Windows
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 由 翻译 强力驱动 问题: First of all, I've followed "Getting Started: Building and Running Clang" . In particular, I've built it according to "Using Visual Studio" section. In other words, I've built it using Visual Studio 2010. Secondly, I've manually set include and library paths to MinGW distribution: The simple program I'm trying to compile: #include using namespace std ; int main () { cout I get the following feedback from the compiler: In file included from C : \MinGW\lib\gcc\mingw32\4 . 5.2 \include\c ++ \iostream : 39 : In file included from C :