<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=text/html;charset=iso-8859-1 http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.18943"></HEAD>
<BODY 
style="PADDING-LEFT: 10px; PADDING-RIGHT: 10px; WORD-WRAP: break-word; PADDING-TOP: 15px; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space" 
id=MailContainerBody leftMargin=0 topMargin=0 CanvasTabStop="true" 
name="Compose message area">
<DIV><FONT face=Calibri></FONT> </DIV>
<DIV style="FONT: 10pt Tahoma">
<DIV><BR></DIV>
<DIV style="BACKGROUND: #f5f5f5">
<DIV style="font-color: black"><B>From:</B> <A title=ahmedcharles@gmail.com 
href="mailto:ahmedcharles@gmail.com">Ahmed Charles</A> </DIV>
<DIV><B>Sent:</B> Wednesday, September 15, 2010 9:37 PM</DIV>
<DIV><B>To:</B> <A title=dgregor@apple.com 
href="mailto:dgregor@apple.com">Douglas Gregor</A> ; <A 
title="mailto:crazygamealexs@hotmail.com CTRL + Click to follow link" 
href="mailto:crazygamealexs@hotmail.com">crazygamealexs@hotmail.com</A> </DIV>
<DIV><B>Cc:</B> <A title=cfe-dev@cs.uiuc.edu 
href="mailto:cfe-dev@cs.uiuc.edu">cfe-dev@cs.uiuc.edu</A> </DIV>
<DIV><B>Subject:</B> RE: [cfe-dev] Can't seem to compile clang with 
clang.</DIV></DIV></DIV>
<DIV><BR></DIV><SPAN 
style="FONT-FAMILY: Arial; FONT-SIZE: 10pt; FONT-WEIGHT: normal">You can also 
assign it to a local and return that.</SPAN><BR><BR>
<HR>
<SPAN style="FONT-FAMILY: Tahoma; FONT-SIZE: 10pt; FONT-WEIGHT: bold">From: 
</SPAN><SPAN 
style="FONT-FAMILY: Tahoma; FONT-SIZE: 10pt; FONT-WEIGHT: normal">Douglas Gregor 
<<A href="mailto:dgregor@apple.com">dgregor@apple.com</A>></SPAN><BR><SPAN 
style="FONT-FAMILY: Tahoma; FONT-SIZE: 10pt; FONT-WEIGHT: bold">Sent: 
</SPAN><SPAN 
style="FONT-FAMILY: Tahoma; FONT-SIZE: 10pt; FONT-WEIGHT: normal">Wednesday, 
September 15, 2010 5:28 PM</SPAN><BR><SPAN 
style="FONT-FAMILY: Tahoma; FONT-SIZE: 10pt; FONT-WEIGHT: bold">To: </SPAN><SPAN 
style="FONT-FAMILY: Tahoma; FONT-SIZE: 10pt; FONT-WEIGHT: normal"><A 
href="mailto:crazygamealexs@hotmail.com">crazygamealexs@hotmail.com</A></SPAN><BR><SPAN 
style="FONT-FAMILY: Tahoma; FONT-SIZE: 10pt; FONT-WEIGHT: bold">Cc: </SPAN><SPAN 
style="FONT-FAMILY: Tahoma; FONT-SIZE: 10pt; FONT-WEIGHT: normal"><A 
href="mailto:cfe-dev@cs.uiuc.edu">cfe-dev@cs.uiuc.edu</A></SPAN><BR><SPAN 
style="FONT-FAMILY: Tahoma; FONT-SIZE: 10pt; FONT-WEIGHT: bold">Subject: 
</SPAN><SPAN 
style="FONT-FAMILY: Tahoma; FONT-SIZE: 10pt; FONT-WEIGHT: normal">Re: [cfe-dev] 
Can't seem to compile clang with clang.</SPAN><BR><BR><BR>
<DIV>
<DIV>On Sep 15, 2010, at 5:09 PM, <A 
href="mailto:crazygamealexs@hotmail.com">crazygamealexs@hotmail.com</A> 
wrote:</DIV><BR class=Apple-interchange-newline>
<BLOCKQUOTE type="cite">
  <DIV style="PADDING-LEFT: 10px; PADDING-RIGHT: 10px; PADDING-TOP: 15px" 
  id=MailContainerBody name="Compose message area" leftmargin="0" topmargin="0" 
  canvastabstop="true">
  <DIV><FONT face=Calibri>It gives me this error message during the make 
  progress.</FONT></DIV>
  <DIV><FONT face=Calibri>llvm[1]: Compiling Disassembler.cpp for Release 
  build<BR>In file included from 
  Disassembler.cpp:19:<BR>c:/MinGW/lib/gcc/mingw32/4.5.0/include/c++/iomanip:63:12: 
  error: expected<BR>      expression<BR>  { 
  return { __mask }; 
  }<BR>           
  ^<BR></FONT></DIV></DIV></BLOCKQUOTE><BR></DIV>
<DIV>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.</DIV>
<DIV><BR></DIV>
<DIV><SPAN style="WHITE-SPACE: pre" class=Apple-tab-span></SPAN>- Doug</DIV>
<DIV><BR><FONT face=Calibri>Thanks it fixed that, but I got another 
error.</FONT></DIV>
<DIV><FONT face=Calibri>In file included from 
Program.cpp:55:<BR>C:/msys/home/alex/llvm/lib/System/Win32/Program.inc:321:11: 
error: call to<BR>      'SetInformationJobObject' is 
ambiguous<BR>      if (SetInformationJobObject(hJob, 
JobObjectExtendedLimitInformation,<BR>          
^~~~~~~~~~~~~~~~~~~~~~~<BR>In file included from Program.cpp:55:<BR>In file 
included from C:/msys/home/alex/llvm/lib/System/Win32/Program.inc:14:<BR>In file 
included from C:/msys/home/alex/llvm/lib/System/Win32/Win32.h:23:<BR>In file 
included from 
c:/mingw/include/windows.h:49:<BR>c:/mingw/include/winbase.h:1358:24: note: 
candidate function<BR>WINBASEAPI BOOL WINAPI SetInformationJobObject(HANDLE, 
...<BR>                       
^<BR>In file included from 
Program.cpp:55:<BR>C:/msys/home/alex/llvm/lib/System/Win32/Program.inc:129:15: 
note: candidate<BR>      function<BR>  BOOL WINAPI 
SetInformationJobObject(HANDLE hJob,</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Calibri></FONT> </DIV></BODY></HTML>