[Webkit-unassigned] [Bug 89374] New: stdint.h installed for windows causes errors when compiling with MSVC for x64

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jun 18 13:22:57 PDT 2012


https://bugs.webkit.org/show_bug.cgi?id=89374

           Summary: stdint.h installed for windows causes errors when
                    compiling with MSVC for x64
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Windows 7
            Status: UNCONFIRMED
          Severity: Minor
          Priority: P2
         Component: JavaScriptCore
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: alex.christensen at flexsim.com


When compiling JavaScriptCore for a 64-bit machine with MSVC, WebKitLibraries\win\include\stdint.h causes compile errors.  I suggest lines 56-58 be changed from 

/* 7.18.1.4  Integer types capable of holding object pointers */
typedef int intptr_t;
typedef unsigned uintptr_t;

to this:

/* 7.18.1.4  Integer types capable of holding object pointers */
typedef ptrdiff_t intptr_t;
typedef size_t uintptr_t;

This change works for 32 bit and 64 bit machines.  This is not a part of the repository (it's installed with the script update-webkit --wincairo), so I cannot submit a patch.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list