WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
18286
GTK: Compile of nightly build with svg fails
https://bugs.webkit.org/show_bug.cgi?id=18286
Summary
GTK: Compile of nightly build with svg fails
hanno
Reported
2008-04-02 13:38:47 PDT
On WebKit-
r31535
: ./autogen.sh --enable-svg and make brings: make[1]: Entering directory `/tmp/WebKit-
r31535
' /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -DWTF_USE_ICU_UNICODE=1 -DBUILDING_GTK__=1 -DWTF_CHANGES -DXP_UNIX -DNDEBUG -DENABLE_ICONDATABASE=0 -I./WebCore -I./WebCore/platform -I./WebCore/platform/network -I./WebCore/platform/graphics -I./WebCore/platform/text -I./WebCore/loader -I./WebCore/loader/archive -I./WebCore/loader/icon -I./WebCore/css -I./WebCore/dom -I./WebCore/page -I./WebCore/bridge -I./WebCore/bridge/c -I./WebCore/editing -I./WebCore/history -I./WebCore/xml -I./WebCore/html -I./WebCore/bindings/js -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./WebCore/plugins -I./WebCore/rendering -I./WebCore/bindings/js -DWTF_USE_CURL=1 -I./WebCore/platform/network/curl -DENABLE_CROSS_DOCUMENT_MESSAGING=1 -DENABLE_DATABASE=1 -I./WebCore/platform/sql -I./WebCore/storage -DENABLE_XPATH=1 -DENABLE_XSLT=1 -DENABLE_SVG=1 -I\./WebCore/svg -I\./WebCore/svg/graphics -I\./WebCore/svg/graphics/filters -I./JavaScriptCore -I./JavaScriptCore/ForwardingHeaders -I./JavaScriptCore/wtf -I./JavaScriptCore/kjs -I./DerivedSources -I./JavaScriptCore/ForwardingHeaders -I./JavaScriptCore/wtf/unicode -I./JavaScriptCore/pcre -I./JavaScriptCore/kjs -I./WebKit/gtk/webkit -DBUILDING_CAIRO__=1 -DBUILD_WEBKIT -I./WebCore/platform/gtk -I./WebCore/platform/graphics/gtk -I./WebCore/platform/graphics/cairo -I./WebCore/loader/gtk -I./WebCore/page/gtk -I./WebKit/gtk -I./WebKit/gtk/WebCoreSupport -I./WebKit/gtk/webkit -DUSE_FREETYPE=1 -I./WebCore/svg/graphics/cairo -fno-strict-aliasing -fvisibility-inlines-hidden -fno-rtti -Wall -W -Wcast-align -Wchar-subscripts -Wreturn-type -Wformat -Wformat-security -Wno-format-y2k -Wundef -Wmissing-format-attribute -Wpointer-arith -Wwrite-strings -Wno-unused-parameter -fno-exceptions -fvisibility=hidden -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include -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 -I/usr/include/libxml2 -I/usr/include/libxml2 -O2 -MT DerivedSources/libWebCore_la-JSSVGAltGlyphElement.lo -MD -MP -MF DerivedSources/.deps/libWebCore_la-JSSVGAltGlyphElement.Tpo -c -o DerivedSources/libWebCore_la-JSSVGAltGlyphElement.lo `test -f 'DerivedSources/JSSVGAltGlyphElement.cpp' || echo './'`DerivedSources/JSSVGAltGlyphElement.cpp g++ -DHAVE_CONFIG_H -I. -DWTF_USE_ICU_UNICODE=1 -DBUILDING_GTK__=1 -DWTF_CHANGES -DXP_UNIX -DNDEBUG -DENABLE_ICONDATABASE=0 -I./WebCore -I./WebCore/platform -I./WebCore/platform/network -I./WebCore/platform/graphics -I./WebCore/platform/text -I./WebCore/loader -I./WebCore/loader/archive -I./WebCore/loader/icon -I./WebCore/css -I./WebCore/dom -I./WebCore/page -I./WebCore/bridge -I./WebCore/bridge/c -I./WebCore/editing -I./WebCore/history -I./WebCore/xml -I./WebCore/html -I./WebCore/bindings/js -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./WebCore/plugins -I./WebCore/rendering -I./WebCore/bindings/js -DWTF_USE_CURL=1 -I./WebCore/platform/network/curl -DENABLE_CROSS_DOCUMENT_MESSAGING=1 -DENABLE_DATABASE=1 -I./WebCore/platform/sql -I./WebCore/storage -DENABLE_XPATH=1 -DENABLE_XSLT=1 -DENABLE_SVG=1 -I./WebCore/svg -I./WebCore/svg/graphics -I./WebCore/svg/graphics/filters -I./JavaScriptCore -I./JavaScriptCore/ForwardingHeaders -I./JavaScriptCore/wtf -I./JavaScriptCore/kjs -I./DerivedSources -I./JavaScriptCore/ForwardingHeaders -I./JavaScriptCore/wtf/unicode -I./JavaScriptCore/pcre -I./JavaScriptCore/kjs -I./WebKit/gtk/webkit -DBUILDING_CAIRO__=1 -DBUILD_WEBKIT -I./WebCore/platform/gtk -I./WebCore/platform/graphics/gtk -I./WebCore/platform/graphics/cairo -I./WebCore/loader/gtk -I./WebCore/page/gtk -I./WebKit/gtk -I./WebKit/gtk/WebCoreSupport -I./WebKit/gtk/webkit -DUSE_FREETYPE=1 -I./WebCore/svg/graphics/cairo -fno-strict-aliasing -fvisibility-inlines-hidden -fno-rtti -Wall -W -Wcast-align -Wchar-subscripts -Wreturn-type -Wformat -Wformat-security -Wno-format-y2k -Wundef -Wmissing-format-attribute -Wpointer-arith -Wwrite-strings -Wno-unused-parameter -fno-exceptions -fvisibility=hidden -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include -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 -I/usr/include/libxml2 -I/usr/include/libxml2 -O2 -MT DerivedSources/libWebCore_la-JSSVGAltGlyphElement.lo -MD -MP -MF DerivedSources/.deps/libWebCore_la-JSSVGAltGlyphElement.Tpo -c DerivedSources/JSSVGAltGlyphElement.cpp -fPIC -DPIC -o DerivedSources/.libs/libWebCore_la-JSSVGAltGlyphElement.o DerivedSources/JSSVGAltGlyphElement.cpp: In constructor 'WebCore::JSSVGAltGlyphElement::JSSVGAltGlyphElement(KJS::JSObject*, WebCore::SVGAltGlyphElement*)': DerivedSources/JSSVGAltGlyphElement.cpp:75: error: no matching function for call to 'WebCore::JSSVGTextPositioningElement::JSSVGTextPositioningElement(KJS::JSObject*&, WebCore::SVGAltGlyphElement*&)' DerivedSources/JSSVGTextPositioningElement.h:36: note: candidates are: WebCore::JSSVGTextPositioningElement::JSSVGTextPositioningElement(KJS::JSObject*, WebCore::SVGTextPositioningElement*) DerivedSources/JSSVGTextPositioningElement.h:33: note: WebCore::JSSVGTextPositioningElement::JSSVGTextPositioningElement(const WebCore::JSSVGTextPositioningElement&) DerivedSources/JSSVGAltGlyphElement.cpp: In member function 'KJS::JSValue* WebCore::JSSVGAltGlyphElement::getValueProperty(KJS::ExecState*, int) const': DerivedSources/JSSVGAltGlyphElement.cpp:88: error: invalid static_cast from type 'WebCore::SVGElement*' to type 'WebCore::SVGAltGlyphElement*' DerivedSources/JSSVGAltGlyphElement.cpp:89: error: invalid use of incomplete type 'struct WebCore::SVGAltGlyphElement' DerivedSources/JSSVGAltGlyphElement.h:31: error: forward declaration of 'struct WebCore::SVGAltGlyphElement' DerivedSources/JSSVGAltGlyphElement.cpp:92: error: invalid static_cast from type 'WebCore::SVGElement*' to type 'WebCore::SVGAltGlyphElement*' DerivedSources/JSSVGAltGlyphElement.cpp:93: error: invalid use of incomplete type 'struct WebCore::SVGAltGlyphElement' DerivedSources/JSSVGAltGlyphElement.h:31: error: forward declaration of 'struct WebCore::SVGAltGlyphElement' DerivedSources/JSSVGAltGlyphElement.cpp:96: error: invalid static_cast from type 'WebCore::SVGElement*' to type 'WebCore::SVGAltGlyphElement*' DerivedSources/JSSVGAltGlyphElement.cpp:97: error: invalid use of incomplete type 'struct WebCore::SVGAltGlyphElement' DerivedSources/JSSVGAltGlyphElement.h:31: error: forward declaration of 'struct WebCore::SVGAltGlyphElement' DerivedSources/JSSVGAltGlyphElement.cpp:98: error: no matching function for call to 'toJS(KJS::ExecState*&, WebCore::SVGAnimatedTemplate<WebCore::String>*, WebCore::SVGAltGlyphElement*&)' ./DerivedSources/JSNode.h:71: note: candidates are: KJS::JSValue* WebCore::toJS(KJS::ExecState*, WebCore::Node*) ./DerivedSources/JSNode.h:72: note: KJS::JSValue* WebCore::toJS(KJS::ExecState*, WebCore::EventTargetNode*) ./DerivedSources/JSEvent.h:63: note: KJS::JSValue* WebCore::toJS(KJS::ExecState*, WebCore::Event*) ./WebCore/bindings/js/JSEventTargetBase.h:152: note: KJS::JSValue* WebCore::toJS(KJS::ExecState*, WebCore::EventTarget*) DerivedSources/JSSVGAnimatedString.h:57: note: KJS::JSValue* WebCore::toJS(KJS::ExecState*, WebCore::SVGAnimatedString*, WebCore::SVGElement*) DerivedSources/JSSVGAltGlyphElement.cpp: In member function 'void WebCore::JSSVGAltGlyphElement::putValueProperty(KJS::ExecState*, int, KJS::JSValue*)': DerivedSources/JSSVGAltGlyphElement.cpp:113: error: invalid static_cast from type 'WebCore::SVGElement*' to type 'WebCore::SVGAltGlyphElement*' DerivedSources/JSSVGAltGlyphElement.cpp:115: error: invalid use of incomplete type 'struct WebCore::SVGAltGlyphElement' DerivedSources/JSSVGAltGlyphElement.h:31: error: forward declaration of 'struct WebCore::SVGAltGlyphElement' DerivedSources/JSSVGAltGlyphElement.cpp:120: error: invalid static_cast from type 'WebCore::SVGElement*' to type 'WebCore::SVGAltGlyphElement*' DerivedSources/JSSVGAltGlyphElement.cpp:122: error: invalid use of incomplete type 'struct WebCore::SVGAltGlyphElement' DerivedSources/JSSVGAltGlyphElement.h:31: error: forward declaration of 'struct WebCore::SVGAltGlyphElement' make[1]: *** [DerivedSources/libWebCore_la-JSSVGAltGlyphElement.lo] Error 1 make[1]: Leaving directory `/tmp/WebKit-
r31535
' make: *** [all] Error 2
Attachments
Add attachment
proposed patch, testcase, etc.
Eric Seidel (no email)
Comment 1
2008-04-13 22:28:34 PDT
What platform? Gtk? Does this still fail? The best way to debug this would be over IRC.
Jan Alonzo
Comment 2
2008-04-13 22:33:33 PDT
Hi! This issue has been fixed in
http://trac.webkit.org/projects/webkit/changeset/31855
. Thanks for the bug report.
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