[Webkit-unassigned] [Bug 36331] New: Fails to build when pcre.h is present in /usr/local/include
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Mar 18 15:47:36 PDT 2010
https://bugs.webkit.org/show_bug.cgi?id=36331
Summary: Fails to build when pcre.h is present in
/usr/local/include
Product: WebKit
Version: 528+ (Nightly build)
Platform: Other
OS/Version: Linux
Status: UNCONFIRMED
Severity: Normal
Priority: P2
Component: WebKit Misc.
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: yuvalt at boxee.tv
Building with QT, my spec points adds -I/usr/local/include which has pcre.h.
Compilation fails, since you include <pcre.h>, which means the pcre.h in
WebKit. This fixes it:
Index: JavaScriptCore/yarr/RegexJIT.h
===================================================================
--- JavaScriptCore/yarr/RegexJIT.h (revision 56179)
+++ JavaScriptCore/yarr/RegexJIT.h (working copy)
@@ -32,7 +32,7 @@
#include "RegexPattern.h"
#include <UString.h>
-#include <pcre.h>
+#include <pcre/pcre.h>
struct JSRegExp; // temporary, remove when fallback is removed.
#if CPU(X86) && !COMPILER(MSVC)
--
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