title: building boost with clang 3.8 on windows
body: <p>From some Googling around it seems that clang's support for windows has been improving recently and boost's support for clang may also have improved.  But I'm fairly new to all this heavy-lifting compiler configuration stuff and new to boost, so I'm not sure what the current status really is.</p>
  
  <p>I'm trying to run the command: </p>
  
  <pre><code> b2 --build-dir=build toolset=clang --build-type=complete stage
  </code></pre>
  
  <p>as suggested in section 5.2.4 in <a href="http://www.boost.org/doc/libs/1_59_0/more/getting_started/windows.html#prepare-to-use-a-boost-library-binary" rel="noreferrer">www.boost.org/.../getting_started/windows</a>.</p>
  
  <p>This does work to some extent, but watching the logs being printed to screen I see a few worrying things:</p>
  
  <ul>
  <li>statements starting <code>clang-linux.compile.c++....</code> even though I am on windows. </li>
  <li><code>12 warnings generated.</code> (or similar)  perhaps always these are <code>-Wunused-local-typedef</code>, but I'm not sure.</li>
  <li><code>2 warnings and 8 errors generated</code> (or similar) surely if there are errors the build has failed?  How am I supposed to know which component of boost has not built properly and what can I do to fix this?</li>
  </ul>
  
  <p>I'm not clear whether I need MSVC the compiler, Visual Stufio the IDE, and/or MinGW and whether I need to manually set flags to pass to the compiler?  Perhaps clang+boost is not ready for windows yet?</p>
  
  <p>Ultimately I want to use <code>boost.python</code>, and at a later date maybe <code>boost.coroutine</code>.</p>
  
  <p>Presumably if I want to use clang for my own projects I need to compile boost with clang too?</p>