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

Ahmed Charles ahmedcharles at gmail.com
Wed Sep 15 19:37:35 PDT 2010


You can also assign it to a local and return that.

-----Original Message-----
From: Douglas Gregor <dgregor at apple.com>
Sent: Wednesday, September 15, 2010 5:28 PM
To: crazygamealexs at hotmail.com
Cc: cfe-dev at cs.uiuc.edu
Subject: Re: [cfe-dev] Can't seem to compile clang with clang.


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/d61f7538/attachment.html>


More information about the cfe-dev mailing list