[cfe-dev] Can't seem to compile clang with clang.
crazygamealexs at hotmail.com
crazygamealexs at hotmail.com
Thu Sep 16 13:31:58 PDT 2010
From: Ahmed Charles
Sent: Wednesday, September 15, 2010 9:37 PM
To: Douglas Gregor ; crazygamealexs at hotmail.com
Cc: cfe-dev at cs.uiuc.edu
Subject: RE: [cfe-dev] Can't seem to compile clang with clang.
You can also assign it to a local and return that.
--------------------------------------------------------------------------------
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
Thanks it fixed that, but I got another error.
In file included from Program.cpp:55:
C:/msys/home/alex/llvm/lib/System/Win32/Program.inc:321:11: error: call to
'SetInformationJobObject' is ambiguous
if (SetInformationJobObject(hJob, JobObjectExtendedLimitInformation,
^~~~~~~~~~~~~~~~~~~~~~~
In file included from Program.cpp:55:
In file included from C:/msys/home/alex/llvm/lib/System/Win32/Program.inc:14:
In file included from C:/msys/home/alex/llvm/lib/System/Win32/Win32.h:23:
In file included from c:/mingw/include/windows.h:49:
c:/mingw/include/winbase.h:1358:24: note: candidate function
WINBASEAPI BOOL WINAPI SetInformationJobObject(HANDLE, ...
^
In file included from Program.cpp:55:
C:/msys/home/alex/llvm/lib/System/Win32/Program.inc:129:15: note: candidate
function
BOOL WINAPI SetInformationJobObject(HANDLE hJob,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20100916/bdecbd72/attachment.html>
More information about the cfe-dev
mailing list