Can't seem to compile clang with clang.

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 }; }
^
c:/MinGW/lib/gcc/mingw32/4.5.0/include/c++/iomanip:93:12: error: expected
expression
{ return { __mask }; }
^
c:/MinGW/lib/gcc/mingw32/4.5.0/include/c++/iomanip:124:12: error: expected
expression
{ return { __base }; }
^
c:/MinGW/lib/gcc/mingw32/4.5.0/include/c++/iomanip:162:14: error: expected
expression
{ return { __c }; }
^
c:/MinGW/lib/gcc/mingw32/4.5.0/include/c++/iomanip:192:12: error: expected
expression
{ return { __n }; }
^
c:/MinGW/lib/gcc/mingw32/4.5.0/include/c++/iomanip:222:12: error: expected
expression
{ return { __n }; }
^
6 errors generated.

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