[Webkit-unassigned] [Bug 139588] New: Building webkit-gtk >=2.6.4 Fails: Error INTPTR_MAX was not declared in this scope

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Dec 12 09:39:35 PST 2014


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

            Bug ID: 139588
           Summary: Building webkit-gtk >=2.6.4 Fails: Error INTPTR_MAX
                    was not declared in this scope
    Classification: Unclassified
           Product: WebKit
           Version: 528+ (Nightly build)
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: rob.mackinnon at gmail.com

Created attachment 243201
  --> https://bugs.webkit.org/attachment.cgi?id=243201&action=review
Build Log

I'm no coder, but I can normally with a little google-fu solve my problems.  Building webkit-gtk 2.6.4 fails while attempting JavaScriptCore/bytcode/CodeBlock.cpp.  From what I gather from the error is it's not picking up a guarded limits.h or cstdint or stdint.h:

In file included from Source/JavaScriptCore/bytecode/CodeBlock.cpp:62:0:
Source/JavaScriptCore/runtime/TypeProfiler.h: In constructor ‘JSC::QueryKey::QueryKey(WTF::HashTableDeletedValueType)’:
Source/JavaScriptCore/runtime/TypeProfiler.h:58:22: error: ‘INTPTR_MAX’ was not declared in this scope
Source/JavaScriptCore/runtime/TypeProfiler.h: In member function ‘bool JSC::QueryKey::isHashTableDeletedValue() const’:
Source/JavaScriptCore/runtime/TypeProfiler.h:62:65: error: ‘INTPTR_MAX’ was not declared in this scope

Adding an include in TypeProfiler.h or CodeBlock.h doesn't seem to resolve the issue, but as expected directly replacing the entries of INTPTR_MAX with values in /usr/include/stdint.h allows it to magically build.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20141212/4cef49a6/attachment-0002.html>


More information about the webkit-unassigned mailing list