Summary: | Building webkit-gtk >=2.6.4 Fails: Error INTPTR_MAX was not declared in this scope | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Rob MacKinnon <rob.mackinnon> | ||||
Component: | JavaScriptCore | Assignee: | Nobody <webkit-unassigned> | ||||
Status: | RESOLVED DUPLICATE | ||||||
Severity: | Normal | CC: | gnome, mcatanzaro | ||||
Priority: | P2 | ||||||
Version: | 528+ (Nightly build) | ||||||
Hardware: | PC | ||||||
OS: | Linux | ||||||
Attachments: |
|
Maybe related with bug 140616 *** This bug has been marked as a duplicate of bug 140616 *** |
Created attachment 243201 [details] 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.