<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1"><BASE 
href=x-msg://29/>
<META content="MSHTML 6.00.6000.16825" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY 
style="WORD-WRAP: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space" 
bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Doug,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Thanks, I will be in a position to check it again 
tomorrow.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Aaron</FONT></DIV>
<BLOCKQUOTE 
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
  <DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
  <DIV 
  style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B> 
  <A title=dgregor@apple.com href="mailto:dgregor@apple.com">Douglas Gregor</A> 
  </DIV>
  <DIV style="FONT: 10pt arial"><B>To:</B> <A title=llvmdev@cs.uiuc.edu 
  href="mailto:llvmdev@cs.uiuc.edu">LLVM Developers Mailing List</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>Sent:</B> Monday, May 18, 2009 6:22 PM</DIV>
  <DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [LLVMdev] [Cygwin] bug on 
  SVN</DIV>
  <DIV><BR></DIV>
  <DIV>
  <DIV>On May 15, 2009, at 12:13 PM, Aaron Gray wrote:</DIV><BR 
  class=Apple-interchange-newline>
  <BLOCKQUOTE type="cite"><SPAN class=Apple-style-span 
    style="WORD-SPACING: 0px; FONT: 12px Helvetica; TEXT-TRANSFORM: none; TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BORDER-COLLAPSE: separate; orphans: 2; widows: 2; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">
    <DIV 
    style="WORD-WRAP: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space" 
    bgcolor="#ffffff">
    <DIV><FONT face=Arial size=2></FONT> </DIV>
    <BLOCKQUOTE 
    style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: rgb(0,0,0) 2px solid; MARGIN-RIGHT: 0px; POSITION: static">
      <DIV style="FONT: 10pt arial">----- Original Message -----</DIV>
      <DIV 
      style="FONT: 10pt arial; BACKGROUND-COLOR: rgb(228,228,228); -webkit-background-clip: initial; -webkit-background-origin: initial"><B>From:</B><SPAN 
      class=Apple-converted-space> </SPAN><A title=dgregor@apple.com 
      href="mailto:dgregor@apple.com">Douglas Gregor</A></DIV>
      <DIV style="FONT: 10pt arial"><B>To:</B><SPAN 
      class=Apple-converted-space> </SPAN><A title=llvmdev@cs.uiuc.edu 
      href="mailto:llvmdev@cs.uiuc.edu">LLVM Developers Mailing List</A></DIV>
      <DIV style="FONT: 10pt arial"><B>Sent:</B><SPAN 
      class=Apple-converted-space> </SPAN>Friday, May 15, 2009 7:24 
PM</DIV>
      <DIV style="FONT: 10pt arial"><B>Subject:</B><SPAN 
      class=Apple-converted-space> </SPAN>Re: [LLVMdev] [Cygwin] bug on 
      SVN</DIV>
      <DIV><BR></DIV><BR>
      <DIV>
      <DIV>On May 15, 2009, at 11:03 AM, Aaron Gray wrote:</DIV><BR 
      class=Apple-interchange-newline>
      <BLOCKQUOTE type="cite">
        <DIV>I am getting a bug building Cygwin on latest SVN :-</DIV>
        <DIV> </DIV>
        <DIV><FONT face="courier new,monospace">llvm[1]: Compiling Process.cpp 
        for Debug build<BR>In file included from 
        /home/ang/git/workbench/lib/System/Process.cpp:29:<BR>/home/ang/git/workbench/lib/System/Unix/Process.inc: 
        In function 'unsigned int 
        g<BR>etColumns(int)':<BR>/home/ang/git/workbench/lib/System/Unix/Process.inc:209: 
        error: aggregate 'winsi<BR>ze ws' has incomplete type and cannot be 
        defined<BR>/home/ang/git/workbench/lib/System/Unix/Process.inc:210: 
        error: 'TIOCGWINSZ' was<BR> not declared in this scope<BR>make[1]: 
        *** [/home/ang/build/workbench/lib/System/Debug/Process.o] Error 
        1<BR>make[1]: Leaving directory 
        `/home/ang/build/workbench/lib/System'<BR>make: *** [all] Error 
        1</FONT></DIV>
        <DIV><FONT face="arial narrow,sans-serif"></FONT> </DIV>
        <DIV>Having IOCTL.H does not seem to be a strict enough test for struct 
        winsize'es presence.</DIV>
        <DIV><BR><FONT face="courier new,monospace">#ifdef 
        HAVE_SYS_IOCTL_H<BR>  // Try to determine the width of the 
        terminal.<BR>  struct winsize ws;<BR>  if (ioctl(FileID, 
        TIOCGWINSZ, &ws) == 0)<BR>    Columns = 
        ws.ws_col;<BR>#endif</FONT></DIV>
        <DIV> </DIV>
        <DIV>I could not see any changes in Process.cpp's SVN that could have 
        caused this.<BR></DIV>
        <DIV>Anyone got a clue ?</DIV>
        <DIV><BR></DIV></BLOCKQUOTE>
      <DIV><BR></DIV>
      <DIV>>It's my change, here:</DIV>
      <DIV><FONT face=Arial size=2></FONT><FONT face=Arial 
      size=2></FONT><BR></DIV>
      <DIV><SPAN class=Apple-tab-span style="WHITE-SPACE: pre"></SPAN><FONT 
      face=Arial size=2>></FONT><A 
      href="http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20090511/077380.html">http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20090511/077380.html</A></DIV><BR></DIV>
      <DIV>>Is struct winsize declared anywhere in the Cygwin headers?</DIV>
      <DIV><FONT face=Arial size=2></FONT> </DIV>
      <DIV><FONT face=Arial size=2>Doug,</FONT></DIV>
      <DIV><FONT face=Arial size=2></FONT> </DIV>
      <DIV><FONT face=Arial size=2>It is declared in 
      <sys/termios.h></FONT></DIV>
      <DIV><FONT face=Arial 
  size=2></FONT><BR></DIV></BLOCKQUOTE></DIV></SPAN></BLOCKQUOTE>Okay, we're now 
  checking for <termios.h> in addition to <sys/ioctl.h>. Hopefully, 
  things are working again on Cygwin with r72018 (but I can't test it 
  here).</DIV>
  <DIV><BR></DIV>
  <DIV> - Doug</DIV>
  <P>
  <HR>

  <P></P>_______________________________________________<BR>LLVM Developers 
  mailing 
  list<BR>LLVMdev@cs.uiuc.edu         
  http://llvm.cs.uiuc.edu<BR>http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev<BR></BLOCKQUOTE></BODY></HTML>