[cfe-dev] Can't seem to compile clang with clang.

Douglas Gregor dgregor at apple.com
Wed Sep 15 17:28:24 PDT 2010


On Sep 15, 2010, at 5:09 PM, crazygamealexs at hotmail.com wrote:

> It gives me this error message during the make progress.
> llvm[1]: Compiling Disassembler.cpp for Release build
> In file included from Disassembler.cpp:19:
> c:/MinGW/lib/gcc/mingw32/4.5.0/include/c++/iomanip:63:12: error: expected
>       expression
>   { return { __mask }; }
>            ^

The GCC 4.5 headers use C++0x features (in this case, generalized initializer lists) that aren't implemented in Clang. You'll need to use an older version of GCC's C++ Standard Library instead.

	- Doug

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20100915/a6a2d082/attachment.html>


More information about the cfe-dev mailing list