<html>
    <head>
      <base href="http://llvm.org/bugs/" />
    </head>
    <body><span class="vcard"><a class="email" href="mailto:reid.kleckner@gmail.com" title="reid.kleckner@gmail.com <reid.kleckner@gmail.com>"> <span class="fn">reid.kleckner@gmail.com</span></a>
</span> changed
              <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - Linker errors on "Hello, world!" in Windows"
   href="http://llvm.org/bugs/show_bug.cgi?id=11405">bug 11405</a>
        <br>
             <table border="1" cellspacing="0" cellpadding="8">
          <tr>
            <th>What</th>
            <th>Removed</th>
            <th>Added</th>
          </tr>

         <tr>
           <td style="text-align:right;">Status</td>
           <td>NEW
           </td>
           <td>RESOLVED
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">CC</td>
           <td>
                
           </td>
           <td>reid.kleckner@gmail.com
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">Resolution</td>
           <td>---
           </td>
           <td>FIXED
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - Linker errors on "Hello, world!" in Windows"
   href="http://llvm.org/bugs/show_bug.cgi?id=11405#c9">Comment # 9</a>
              on <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - Linker errors on "Hello, world!" in Windows"
   href="http://llvm.org/bugs/show_bug.cgi?id=11405">bug 11405</a>
              from <span class="vcard"><a class="email" href="mailto:reid.kleckner@gmail.com" title="reid.kleckner@gmail.com <reid.kleckner@gmail.com>"> <span class="fn">reid.kleckner@gmail.com</span></a>
</span></b>
        <pre>There seem to be a few issues here:
1. hello world with iostream with MSVCRT
2. hello world with printf with MSVCRT
3. hello world with some other standard libraries

Today there are no more link errors with iostream hello world and the MSVCRT. 
There are errors about intrin.h which are outstanding, but if I hack around it
locally I can get the following to work:

$ ls intrin.h
intrin.h

$ cat hello.cpp
#include <iostream>
int main() {
  std::cout << "hello, world!" << std::endl;
}

$ clang -fmsc-version=1700 -isystem . -msse4a -D_HAS_EXCEPTIONS=0 -fno-rtti
-fno-exceptions -Xclang -cxx-abi -Xclang microsoft hello.cpp && ./a.out
hello, world!

We already have issues open about supporting Microsoft intrinsics and resolving
these issues, so I don't see a need to keep this open:
<a class="bz_bug_link 
          bz_status_ASSIGNED "
   title="ASSIGNED --- - [Windows] Support microsoft intrinsics"
   href="show_bug.cgi?id=13283">http://llvm.org/bugs/show_bug.cgi?id=13283</a></pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>