WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
36496
FontPlatformDataPango.cpp: prototype for 'WebCore::FontPlatformData::FontPlatformData(cairo_font_face_t*, int, bool, bool)' does not match any in class
https://bugs.webkit.org/show_bug.cgi?id=36496
Summary
FontPlatformDataPango.cpp: prototype for 'WebCore::FontPlatformData::FontPlat...
Jeff Kowalczyk
Reported
2010-03-23 09:37:08 PDT
Gentoo Linux ~amd64: git checkout compile fails as of 4226ec2b543 with the following error: ./doltlibtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -DBUILDING_CAIRO__=1 -DBUILDING_GTK__=1 -DWTF_CHANGES -DWTF_USE_ICU_UNICODE=1 -DNDEBUG -I./WebCore -I./WebCore/accessibility -I./WebCore/bindings/js -I./WebCore/bridge -I./WebCore/bridge/c -I./WebCore/bridge/jni/jsc -I./WebCore/bridge/jsc -I./WebCore/css -I./WebCore/dom -I./WebCore/dom/default -I./WebCore/editing -I./WebCore/history -I./WebCore/html -I./WebCore/html/canvas -I./WebCore/inspector -I./WebCore/loader -I./WebCore/loader/appcache -I./WebCore/loader/archive -I./WebCore/loader/icon -I./WebCore/mathml -I./WebCore/notifications -I./WebCore/page -I./WebCore/page/animation -I./WebCore/platform -I./WebCore/platform/animation -I./WebCore/platform/graphics -I./WebCore/platform/graphics/filters -I./WebCore/platform/graphics/transforms -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/mock -I./WebCore/platform/network -I./WebCore/platform/sql -I./WebCore/platform/text -I./WebCore/plugins -I./WebCore/rendering -I./WebCore/rendering/style -I./WebCore/storage -I./WebCore/svg -I./WebCore/svg/animation -I./WebCore/svg/graphics -I./WebCore/svg/graphics/filters -I./WebCore/websockets -I./WebCore/wml -I./WebCore/workers -I./WebCore/xml -I./WebCore/bindings/js -DDATA_DIR=\"/usr/share\" -DENABLE_CHANNEL_MESSAGING=1 -DENABLE_DATAGRID=0 -DENABLE_PROGRESS_TAG=0 -DENABLE_JAVASCRIPT_DEBUGGER=1 -DENABLE_OFFLINE_WEB_APPLICATIONS=1 -DENABLE_DATABASE=1 -DENABLE_DATALIST=1 -DENABLE_EVENTSOURCE=1 -DENABLE_DOM_STORAGE=1 -DENABLE_ICONDATABASE=1 -DENABLE_VIDEO=1 -DENABLE_RUBY=1 -DENABLE_XPATH=1 -DENABLE_XSLT=1 -DENABLE_WORKERS=1 -DENABLE_SHARED_WORKERS=1 -DENABLE_FILTERS=1 -DENABLE_SVG=1 -DENABLE_SVG_USE=1 -DENABLE_SVG_FOREIGN_OBJECT=1 -DENABLE_SVG_FONTS=1 -DENABLE_SVG_AS_IMAGE=1 -DENABLE_SVG_ANIMATION=1 -DENABLE_WEB_SOCKETS=0 -DWTF_USE_SOUP=1 -I./WebCore/accessibility/gtk -I./WebCore/loader/gtk -I./WebCore/page/gtk -I./WebCore/platform/graphics/cairo -I./WebCore/platform/graphics/gstreamer -I./WebCore/platform/graphics/gtk -I./WebCore/platform/gtk -I./WebCore/platform/network/soup -DUSE_PANGO=1 -I./JavaScriptCore/ForwardingHeaders -I./JavaScriptCore/parser -I./JavaScriptCore/wtf -I./JavaScriptCore/wtf/gtk -I./JavaScriptCore/wtf/gobject -I./DerivedSources -I./JavaScriptCore -I./JavaScriptCore/API -I./JavaScriptCore/ForwardingHeaders -I./JavaScriptCore/interpreter -I./JavaScriptCore/bytecode -I./JavaScriptCore/bytecompiler -I./JavaScriptCore/debugger -I./JavaScriptCore/jit -I./JavaScriptCore/pcre -I./JavaScriptCore/profiler -I./JavaScriptCore/runtime -I./JavaScriptCore/jit -I./JavaScriptCore/assembler -I./JavaScriptCore/wtf/unicode -I./JavaScriptCore/yarr -I./JavaScriptCore/pcre -I./JavaScriptCore/parser -I./JavaScriptCore/runtime -DXP_UNIX -DBUILDING_WEBKIT -DPACKAGE_LOCALE_DIR=\"/usr/share/locale\" -DDATA_DIR=\"/usr/share\" -I./WebKit/gtk -I./WebKit/gtk/WebCoreSupport -I./WebKit/gtk/webkit -I./WebKit/gtk/webkit -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 -Wno-parentheses -fno-exceptions -fvisibility=hidden -fvisibility-inlines-hidden -fno-rtti -fno-strict-aliasing -pthread -I/usr/include/enchant -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/gail-1.0 -I/usr/include/atk-1.0 -I/usr/include/gtk-2.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/lib64/gtk-2.0/include -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/gstreamer-0.10 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libxml2 -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/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/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -pthread -I/usr/include/libsoup-2.4 -I/usr/include/libxml2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libxml2 -I/usr/include/libxml2 -I/usr/include -march=core2 -O2 -pipe -MT WebCore/platform/graphics/gtk/libwebkit_1_0_la-SimpleFontDataPango.lo -MD -MP -MF WebCore/platform/graphics/gtk/.deps/libwebkit_1_0_la-SimpleFontDataPango.Tpo -c -o WebCore/platform/graphics/gtk/libwebkit_1_0_la-SimpleFontDataPango.lo `test -f 'WebCore/platform/graphics/gtk/SimpleFontDataPango.cpp' || echo './'`WebCore/platform/graphics/gtk/SimpleFontDataPango.cpp WebCore/platform/graphics/gtk/FontPlatformDataPango.cpp:140: error: prototype for 'WebCore::FontPlatformData::FontPlatformData(cairo_font_face_t*, int, bool, bool)' does not match any in class 'WebCore::FontPlatformData' ./WebCore/platform/graphics/cairo/FontPlatformData.h:103: error: candidates are: WebCore::FontPlatformData::FontPlatformData(const WebCore::FontPlatformData&) WebCore/platform/graphics/gtk/FontPlatformDataPango.cpp:130: error: WebCore::FontPlatformData::FontPlatformData(float, bool, bool) ./WebCore/platform/graphics/cairo/FontPlatformData.h:101: error: WebCore::FontPlatformData::FontPlatformData(cairo_font_face_t*, float, bool, bool) WebCore/platform/graphics/gtk/FontPlatformDataPango.cpp:49: error: WebCore::FontPlatformData::FontPlatformData(const WebCore::FontDescription&, const WebCore::AtomicString&) ./WebCore/platform/graphics/cairo/FontPlatformData.h:76: error: WebCore::FontPlatformData::FontPlatformData() ./WebCore/platform/graphics/cairo/FontPlatformData.h:56: error: WebCore::FontPlatformData::FontPlatformData(WTF::HashTableDeletedValueType) make[1]: *** [WebCore/platform/graphics/gtk/libwebkit_1_0_la-FontPlatformDataPango.lo] Error 1 make[1]: *** Waiting for unfinished jobs.... mv -f WebCore/platform/graphics/gtk/.deps/libwebkit_1_0_la-SimpleFontDataPango.Tpo WebCore/platform/graphics/gtk/.deps/libwebkit_1_0_la-SimpleFontDataPango.Plo make[1]: Leaving directory `/var/tmp/portage/net-libs/webkit-gtk-9999/work/webkit-gtk-9999' To provide some library version context (if needed), here are the pango packages installed: # emerge -s pango |grep installed -B 2 * dev-cpp/pangomm Latest version available: 2.26.0 Latest version installed: 2.26.0 -- * dev-dotnet/pango-sharp Latest version available: 2.12.9 Latest version installed: 2.12.9 -- * dev-perl/Pango Latest version available: 1.221 Latest version installed: 1.221 -- * dev-ruby/ruby-pango Latest version available: 0.19.3 Latest version installed: [ Not Installed ] -- * media-libs/sdl-pango Latest version available: 0.1.2 Latest version installed: [ Not Installed ] -- * media-plugins/gst-plugins-pango Latest version available: 0.10.28 Latest version installed: 0.10.28 -- * x11-libs/pango Latest version available: 1.26.2 Latest version installed: 1.26.2
Attachments
Add attachment
proposed patch, testcase, etc.
Julien Chaffraix
Comment 1
2010-03-26 08:35:55 PDT
Thanks for the report! I have landed a fix in revision 56628 (8f9b0e0de2088c0c86a27375e625f68d983951dc) which should resolve this issuem so closing this bug. Feel free to reopen it and blame me if it is still here. Btw, I could not find the git id (4226ec2b543) that you gave in the WebKit repository.
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