RESOLVED DUPLICATE of bug 140616 139588
Building webkit-gtk >=2.6.4 Fails: Error INTPTR_MAX was not declared in this scope
https://bugs.webkit.org/show_bug.cgi?id=139588
Summary Building webkit-gtk >=2.6.4 Fails: Error INTPTR_MAX was not declared in this ...
Rob MacKinnon
Reported 2014-12-12 09:39:35 PST
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.
Attachments
Build Log (4.76 KB, text/x-log)
2014-12-12 09:39 PST, Rob MacKinnon
no flags
Pacho Ramos
Comment 1 2015-01-23 09:58:18 PST
Maybe related with bug 140616
Michael Catanzaro
Comment 2 2015-09-04 08:41:40 PDT
*** This bug has been marked as a duplicate of bug 140616 ***
Note You need to log in before you can comment on or make changes to this bug.