WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED INVALID
17912
Build failure: error: #error "Unknown Unicode implementation"
https://bugs.webkit.org/show_bug.cgi?id=17912
Summary
Build failure: error: #error "Unknown Unicode implementation"
Stéphane Marguet
Reported
2008-03-18 05:19:04 PDT
g++ -c -g -Wall -O2 -D_REENTRANT -I/usr/include -Wall -W -Wcast-align -Wchar-subscripts -Wformat-security -Wmissing-format-attribute -Wpointer-arith -Wwrite-strings -Wno-format-y2k -Wno-unused-parameter -Wundef -fno-exceptions -fno-rtti -Wreturn-type -fno-strict-aliasing -g -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/pixman-1 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/pixman-1 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/pixman-1 -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -I/usr/include/libxml2 -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -DQT_SHARED -DBUILDING_CAIRO__=1 -DBUILDING_GTK__=1 -DWTF_USE_CURL=1 -DUSE_SYSTEM_MALLOC -DNDEBUG -DG_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DPANGO_DISABLE_DEPRECATED -DHAVE_STDINT_H -DBUILD_WEBKIT -DENABLE_CROSS_DOCUMENT_MESSAGING=1 -DENABLE_DATABASE=1 -DENABLE_ICONDATABASE=1 -DENABLE_XPATH=1 -DENABLE_XSLT=1 -DENABLE_SVG=0 -DENABLE_VIDEO=0 -DWTF_CHANGES=1 -DBUILDING_GTK__ -I/usr/share/qt4/mkspecs/linux-g++ -I../../WebCore -I../../../webkit-0~svn31114 -I../../WebCore/platform/gtk -I../../WebCore/platform/network/curl -I../../WebCore/platform/graphics/cairo -I/build/buildd/webkit-0~svn31114/WebCore/loader/gtk -I../../WebCore/page/gtk -I../../WebKit/gtk -I../../WebKit/gtk/WebCoreSupport -I../../WebKit/gtk/webkit -I../../JavaScriptCore -I../../JavaScriptCore/kjs -I/build/buildd/webkit-0~svn31114/JavaScriptCore/bindings -I/build/buildd/webkit-0~svn31114/JavaScriptCore/bindings/c -I../../JavaScriptCore/wtf -I../../JavaScriptCore/ForwardingHeaders -I../../WebCore -I../../WebCore/ForwardingHeaders -I../../WebCore/platform -I../../WebCore/platform/network -I../../WebCore/platform/graphics -I../../WebCore/loader -I../../WebCore/page -I../../WebCore/css -I../../WebCore/dom -I../../WebCore/bridge -I../../WebCore/editing -I../../WebCore/rendering -I../../WebCore/history -I../../WebCore/xml -I../../WebCore/html -I../../WebCore/plugins -Itmp -Itmp -I../../JavaScriptCore -I../../JavaScriptCore/kjs -I../../JavaScriptCore/wtf -I../../JavaScriptCore/wtf/unicode -I../../JavaScriptCore/pcre -I/build/buildd/webkit-0~svn31114/build-gtk/JavaScriptCore/kjs/tmp -I../../WebCore/platform/gtk -I../../WebCore/platform/graphics/gtk -I../../WebCore/platform/graphics/cairo -I../../WebCore/svg/graphics/cairo -I../../WebCore/platform/network/curl -I../../WebCore/platform/image-decoders -I../../WebCore/platform/image-decoders/bmp -I../../WebCore/platform/image-decoders/gif -I../../WebCore/platform/image-decoders/ico -I../../WebCore/platform/image-decoders/jpeg -I../../WebCore/platform/image-decoders/png -I../../WebCore/platform/image-decoders/xbm -I/build/buildd/webkit-0~svn31114/WebCore/loader/gtk -I../../WebCore/page/gtk -I../../WebKit/gtk -I../../WebKit/gtk/WebCoreSupport -I../../WebKit/gtk/webkit -I../../WebCore -I../../WebCore/ForwardingHeaders -I../../../webkit-0~svn31114 -I../../JavaScriptCore/kjs -I/build/buildd/webkit-0~svn31114/WebCore/../JavaScriptCore/bindings -I../../JavaScriptCore/wtf -I../../WebCore/platform -I../../WebCore/platform/network -I../../WebCore/platform/graphics -I../../WebCore/svg/graphics -I../../WebCore/svg/graphics/filters -I../../WebCore/platform/sql -I../../WebCore/platform/text -I../../WebCore/storage -I../../WebCore/loader -I../../WebCore/loader/icon -I../../WebCore/css -I../../WebCore/dom -I../../WebCore/page -I../../WebCore/bridge -I../../WebCore/editing -I../../WebCore/rendering -I../../WebCore/history -I../../WebCore/xml -I../../WebCore/html -I../../WebCore/bindings/js -I../../WebCore/svg -I../../WebCore/platform/image-decoders -I../../WebCore/plugins -I../../WebCore/bridge -I../../WebCore/bridge/c -I../../WebCore/bridge/qt -I/usr/X11R6/include -I../../WebCore -I. -o tmp/pcre_compile.o ../../JavaScriptCore/pcre/pcre_compile.cpp In file included from ../../JavaScriptCore/pcre/pcre.h:45, from ../../JavaScriptCore/pcre/pcre_internal.h:79, from ../../JavaScriptCore/pcre/pcre_compile.cpp:46: ../../JavaScriptCore/wtf/unicode/Unicode.h:33:2: error: #error "Unknown Unicode implementation" In file included from ../../JavaScriptCore/pcre/pcre_internal.h:79, from ../../JavaScriptCore/pcre/pcre_compile.cpp:46: ../../JavaScriptCore/pcre/pcre.h:58: error: expected ',' or '...' before '*' token ../../JavaScriptCore/pcre/pcre.h:60: error: ISO C++ forbids declaration of 'UChar' with no type ../../JavaScriptCore/pcre/pcre.h:63: error: expected ',' or '...' before '*' token ../../JavaScriptCore/pcre/pcre.h:64: error: ISO C++ forbids declaration of 'UChar' with no type In file included from ../../JavaScriptCore/pcre/pcre_compile.cpp:46: ../../JavaScriptCore/pcre/pcre_internal.h:372: error: 'isWordChar' declared as an 'inline' variable ../../JavaScriptCore/pcre/pcre_internal.h:372: error: 'UChar' was not declared in this scope ../../JavaScriptCore/pcre/pcre_internal.h:373: error: expected ',' or ';' before '{' token ../../JavaScriptCore/pcre/pcre_internal.h:377: error: 'isSpaceChar' declared as an 'inline' variable ../../JavaScriptCore/pcre/pcre_internal.h:377: error: 'UChar' was not declared in this scope ../../JavaScriptCore/pcre/pcre_internal.h:378: error: expected ',' or ';' before '{' token ../../JavaScriptCore/pcre/pcre_internal.h:382: error: 'isNewline' declared as an 'inline' variable ../../JavaScriptCore/pcre/pcre_internal.h:382: error: 'UChar' was not declared in this scope ../../JavaScriptCore/pcre/pcre_internal.h:383: error: expected ',' or ';' before '{' token ../../JavaScriptCore/pcre/pcre_compile.cpp:153: error: expected ',' or '...' before '*' token ../../JavaScriptCore/pcre/pcre_compile.cpp:153: error: ISO C++ forbids declaration of 'UChar' with no type ../../JavaScriptCore/pcre/pcre_compile.cpp:180: error: expected ',' or '...' before '*' token ../../JavaScriptCore/pcre/pcre_compile.cpp:180: error: ISO C++ forbids declaration of 'UChar' with no type ../../JavaScriptCore/pcre/pcre_compile.cpp: In function 'int checkEscape(int)': ../../JavaScriptCore/pcre/pcre_compile.cpp:182: error: expected initializer before '*' token ../../JavaScriptCore/pcre/pcre_compile.cpp:185: error: 'ptr' was not declared in this scope ../../JavaScriptCore/pcre/pcre_compile.cpp:185: error: 'patternEnd' was not declared in this scope ../../JavaScriptCore/pcre/pcre_compile.cpp:186: error: 'errorcodeptr' was not declared in this scope ../../JavaScriptCore/pcre/pcre_compile.cpp:187: error: 'ptrptr' was not declared in this scope ../../JavaScriptCore/pcre/pcre_compile.cpp:191: error: 'ptr' was not declared in this scope ../../JavaScriptCore/pcre/pcre_compile.cpp:200: error: 'isclass' was not declared in this scope ../../JavaScriptCore/pcre/pcre_compile.cpp:224: error: 'isclass' was not declared in this scope ../../JavaScriptCore/pcre/pcre_compile.cpp:225: error: expected initializer before '*' token ../../JavaScriptCore/pcre/pcre_compile.cpp:227: error: 'patternEnd' was not declared in this scope ../../JavaScriptCore/pcre/pcre_compile.cpp:227: error: 'bracount' was not declared in this scope ../../JavaScriptCore/pcre/pcre_compile.cpp:229: error: 'bracount' was not declared in this scope ../../JavaScriptCore/pcre/pcre_compile.cpp:233: error: 'oldptr' was not declared in this scope ../../JavaScriptCore/pcre/pcre_compile.cpp:249: error: 'patternEnd' was not declared in this scope ../../JavaScriptCore/pcre/pcre_compile.cpp:264: error: 'patternEnd' was not declared in this scope ../../JavaScriptCore/pcre/pcre_compile.cpp:282: error: 'patternEnd' was not declared in this scope ../../JavaScriptCore/pcre/pcre_compile.cpp:297: error: 'patternEnd' was not declared in this scope ../../JavaScriptCore/pcre/pcre_compile.cpp:298: error: 'errorcodeptr' was not declared in this scope ../../JavaScriptCore/pcre/pcre_compile.cpp:310: error: 'ptrptr' was not declared in this scope ../../JavaScriptCore/pcre/pcre_compile.cpp: At global scope: ../../JavaScriptCore/pcre/pcre_compile.cpp:329: error: expected ',' or '...' before '*' token ../../JavaScriptCore/pcre/pcre_compile.cpp:329: error: ISO C++ forbids declaration of 'UChar' with no type ../../JavaScriptCore/pcre/pcre_compile.cpp: In function 'bool isCountedRepeat(int)': ../../JavaScriptCore/pcre/pcre_compile.cpp:331: error: 'p' was not declared in this scope ../../JavaScriptCore/pcre/pcre_compile.cpp:331: error: 'patternEnd' was not declared in this scope ../../JavaScriptCore/pcre/pcre_compile.cpp:333: error: 'p' was not declared in this scope ../../JavaScriptCore/pcre/pcre_compile.cpp:334: error: 'patternEnd' was not declared in this scope ../../JavaScriptCore/pcre/pcre_compile.cpp:336: error: 'patternEnd' was not declared in this scope ../../JavaScriptCore/pcre/pcre_compile.cpp:339: error: 'patternEnd' was not declared in this scope ../../JavaScriptCore/pcre/pcre_compile.cpp:341: error: 'patternEnd' was not declared in this scope ../../JavaScriptCore/pcre/pcre_compile.cpp:344: error: 'patternEnd' was not declared in this scope ../../JavaScriptCore/pcre/pcre_compile.cpp:347: error: 'patternEnd' was not declared in this scope ../../JavaScriptCore/pcre/pcre_compile.cpp:350: error: 'patternEnd' was not declared in this scope ../../JavaScriptCore/pcre/pcre_compile.cpp: At global scope: ../../JavaScriptCore/pcre/pcre_compile.cpp:372: error: expected initializer before '*' token ../../JavaScriptCore/pcre/pcre_internal.h:372: warning: 'isWordChar' defined but not used ../../JavaScriptCore/pcre/pcre_internal.h:377: warning: 'isSpaceChar' defined but not used ../../JavaScriptCore/pcre/pcre_internal.h:382: warning: 'isNewline' defined but not used ../../JavaScriptCore/pcre/pcre_compile.cpp:100: warning: 'const char* errorText(ErrorCode)' defined but not used ../../JavaScriptCore/pcre/pcre_compile.cpp:153: warning: 'bool compileBracket(int, int*, unsigned char**, int)' declared 'static' but never defined ../../JavaScriptCore/pcre/pcre_compile.cpp:154: warning: 'bool bracketIsAnchored(const unsigned char*)' declared 'static' but never defined ../../JavaScriptCore/pcre/pcre_compile.cpp:155: warning: 'bool bracketNeedsLineStart(const unsigned char*, unsigned int, unsigned int)' declared 'static' but never defined ../../JavaScriptCore/pcre/pcre_compile.cpp:156: warning: 'int bracketFindFirstAssertedCharacter(const unsigned char*, bool)' declared 'static' but never defined ../../JavaScriptCore/pcre/pcre_compile.cpp:180: warning: 'int checkEscape(int)' defined but not used ../../JavaScriptCore/pcre/pcre_compile.cpp:329: warning: 'bool isCountedRepeat(int)' defined but not used make[2]: *** [tmp/pcre_compile.o] Error 1 make[2]: Leaving directory `/build/buildd/webkit-0~svn31114/build-gtk/WebCore' make[1]: *** [sub-WebCore-make_default-ordered] Error 2 make[1]: Leaving directory `/build/buildd/webkit-0~svn31114/build-gtk' make: *** [build-gtk-stamp] Error 2
Attachments
Add attachment
proposed patch, testcase, etc.
Peter Gordon
Comment 1
2008-04-08 21:44:03 PDT
I'm seeing this on Fedora, too (
r31738
).
Peter Gordon
Comment 2
2008-04-08 21:53:08 PDT
And if I build the GTK+ port using autotools, this does not occur. It's only on the qmake-based build. Hopefully that helps narrow it down.
Julien Chaffraix
Comment 3
2008-04-12 08:33:55 PDT
(In reply to
comment #2
)
> And if I build the GTK+ port using autotools, this does not occur. It's only on > the qmake-based build. Hopefully that helps narrow it down. >
That's normal: the qmake gtk+ backend is unmaintained and the current backend is the one with autotools. I would advise you to completely switch to the autotools backend.
Alp Toker
Comment 4
2008-10-28 10:11:55 PDT
qmake-based GTK+ build dropped in favour of the new autotools build system, where this works fine. Closing bug.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug