<html>
    <head>
      <base href="https://bugs.webkit.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - WebKit doesn't compile with Visual Studio 2015"
   href="https://bugs.webkit.org/show_bug.cgi?id=156825">156825</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>WebKit doesn't compile with Visual Studio 2015
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>WebKit
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>WebKit Nightly Build
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Windows 10
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>Normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P2
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>JavaScriptCore
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>webkit-unassigned&#64;lists.webkit.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>ewmailing&#64;gmail.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>This is an FYI bug. I gave a quick pass to try to build JavaScriptCore (I don't need all of WebKit, but I think all of WebKit has the same problem) with Visual Studio 2015 Update 2. It doesn't compile.

So the biggest &quot;problem&quot; I see is that Microsoft finally fixed their broken compiler to support a bunch of C99 things they have dragged their feet on for a decade. So things like snprintf I think finally exist. But the problem is that there are a lot of workarounds to redefine this missing functions for Visual Studio which result in duplicate definitions now and break the compile.

I think the solution is to start looking for the #if _MSC_VER cases and explicitly compare for &lt; 1900 when it looks like it is a C/C++ language/standard-library workaround for Visual Studio.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>