[Webkit-unassigned] [Bug 156825] New: WebKit doesn't compile with Visual Studio 2015

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Apr 20 17:13:25 PDT 2016


            Bug ID: 156825
           Summary: WebKit doesn't compile with Visual Studio 2015
    Classification: Unclassified
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: PC
                OS: Windows 10
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: ewmailing at gmail.com

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 "problem" 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 < 1900 when it looks like it is a C/C++ language/standard-library workaround for Visual Studio.

You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20160421/17ae2e15/attachment.html>

More information about the webkit-unassigned mailing list