WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
26289
Current svn (rev 44556) fails to compile with --qt
https://bugs.webkit.org/show_bug.cgi?id=26289
Summary
Current svn (rev 44556) fails to compile with --qt
Bernhard Rosenkraenzer
Reported
2009-06-10 03:52:53 PDT
g++ -c -pipe -Wreturn-type -fno-strict-aliasing -ffunction-sections -fdata-sections -fno-stack-protector -m32 -O2 -march=i586 -mtune=i686 -fomit-frame-pointer -fweb -frename-registers -Wl,-O2,-z,combreloc,-z,relro,--enable-new-dtags,--hash-style=gnu,--sort-common -fvisibility=hidden -fvisibility-inlines-hidden -D_REENTRANT -fPIC -DBUILDING_QT__=1 -DUSE_SYSTEM_MALLOC -DNDEBUG -DQT_MAKEDLL -DHAVE_STDINT_H -DBUILD_WEBKIT -DENABLE_JAVASCRIPT_DEBUGGER=1 -DENABLE_DATABASE=1 -DENABLE_OFFLINE_WEB_APPLICATIONS=1 -DENABLE_DOM_STORAGE=1 -DENABLE_ICONDATABASE=1 -DENABLE_SQLITE=1 -DENABLE_DASHBOARD_SUPPORT=0 -DENABLE_FILTERS=0 -DENABLE_XPATH=1 -DENABLE_XSLT=0 -DENABLE_WML=0 -DENABLE_WORKERS=1 -DENABLE_XHTMLMP=0 -DENABLE_SVG=1 -DENABLE_SVG_FONTS=1 -DENABLE_SVG_FOREIGN_OBJECT=1 -DENABLE_SVG_ANIMATION=1 -DENABLE_SVG_AS_IMAGE=1 -DENABLE_SVG_USE=1 -DENABLE_VIDEO=1 -DENABLE_NETSCAPE_PLUGIN_API=1 -DWTF_USE_JAVASCRIPTCORE_BINDINGS=1 -DWTF_CHANGES=1 -DBUILDING_QT__ -DBUILDING_JavaScriptCore -DBUILDING_WTF -DENABLE_JIT=1 -DENABLE_YARR=1 -DENABLE_YARR_JIT=1 -DENABLE_JIT_OPTIMIZE_CALL=1 -DENABLE_JIT_OPTIMIZE_PROPERTY_ACCESS=1 -DENABLE_JIT_OPTIMIZE_ARITHMETIC=1 -DWTF_USE_JIT_STUB_ARGUMENT_VA_LIST=1 -DENABLE_PLUGIN_PACKAGE_SIMPLE_HASH=1 -DXP_UNIX -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/lib/qt4/mkspecs/linux-g++ -I../../../WebCore -I/usr/lib/qt4/include/QtCore -I/usr/lib/qt4/include/QtNetwork -I/usr/lib/qt4/include/QtGui -I/usr/lib/qt4/include -I../../../WebCore/storage -I../../../WebCore -I../../../WebKit/qt/Api -Igenerated/release -I../../../JavaScriptCore -I../../../JavaScriptCore/parser -I../../../JavaScriptCore/bytecompiler -I../../../JavaScriptCore/debugger -I../../../JavaScriptCore/runtime -I../../../JavaScriptCore/wtf -I../../../JavaScriptCore/wtf/unicode -I../../../JavaScriptCore/interpreter -I../../../JavaScriptCore/jit -I../../../JavaScriptCore/profiler -I../../../JavaScriptCore/wrec -I../../../JavaScriptCore/yarr -I../../../JavaScriptCore/API -I../../../../WebKit -I../../../JavaScriptCore/ForwardingHeaders -I../../../JavaScriptCore/bytecode -I../../../JavaScriptCore/assembler -I../../../JavaScriptCore/pcre -I/mnt/space/src/ark/BUILD/WebKit/WebKitBuild/Release/JavaScriptCore/tmp -I../../../WebCore/platform/qt -I../../../WebCore/platform/network/qt -I../../../WebCore/platform/graphics/filters -I../../../WebCore/platform/graphics/transforms -I../../../WebCore/platform/graphics/qt -I../../../WebCore/page/qt -I../../../WebKit/qt/WebCoreSupport -I../../../WebCore/accessibility -I../../../WebCore/ForwardingHeaders -I../../../WebCore/platform -I../../../WebCore/platform/animation -I../../../WebCore/platform/network -I../../../WebCore/platform/graphics -I../../../WebCore/svg/animation -I../../../WebCore/svg/graphics -I../../../WebCore/svg/graphics/filters -I../../../WebCore/platform/sql -I../../../WebCore/platform/text -I../../../WebCore/loader -I../../../WebCore/loader/appcache -I../../../WebCore/loader/archive -I../../../WebCore/loader/icon -I../../../WebCore/css -I../../../WebCore/dom -I../../../WebCore/page -I../../../WebCore/page/animation -I../../../WebCore/editing -I../../../WebCore/rendering -I../../../WebCore/rendering/style -I../../../WebCore/history -I../../../WebCore/inspector -I../../../WebCore/xml -I../../../WebCore/html -I../../../WebCore/wml -I../../../WebCore/workers -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/lib/qt4/src/3rdparty/sqlite/ -I/usr/lib/qt4/include/phonon -I/usr/X11R6/include -I. -I../../../WebCore -I. -o obj/release/ImageDecoderQt.o ../../../WebCore/platform/graphics/qt/ImageDecoderQt.cpp ../../../WebCore/platform/image-decoders/ImageDecoder.h: In member function 'void WebCore::ImageDecoderQt::reset()': ../../../WebCore/platform/image-decoders/ImageDecoder.h:237: error: 'bool WebCore::ImageDecoder::m_sizeAvailable' is private ../../../WebCore/platform/graphics/qt/ImageDecoderQt.cpp:220: error: within this context ../../../WebCore/platform/image-decoders/ImageDecoder.h:236: error: 'WebCore::IntSize WebCore::ImageDecoder::m_size' is private ../../../WebCore/platform/graphics/qt/ImageDecoderQt.cpp:222: error: within this context ../../../WebCore/platform/image-decoders/ImageDecoder.h: In member function 'virtual void WebCore::ImageDecoderQt::setData(const WTF::Vector<char, 0u>&, bool)': ../../../WebCore/platform/image-decoders/ImageDecoder.h:237: error: 'bool WebCore::ImageDecoder::m_sizeAvailable' is private ../../../WebCore/platform/graphics/qt/ImageDecoderQt.cpp:250: error: within this context ../../../WebCore/platform/image-decoders/ImageDecoder.h:236: error: 'WebCore::IntSize WebCore::ImageDecoder::m_size' is private ../../../WebCore/platform/graphics/qt/ImageDecoderQt.cpp:251: error: within this context ../../../WebCore/platform/image-decoders/ImageDecoder.h: In member function 'virtual bool WebCore::ImageDecoderQt::isSizeAvailable() const': ../../../WebCore/platform/image-decoders/ImageDecoder.h:237: error: 'bool WebCore::ImageDecoder::m_sizeAvailable' is private ../../../WebCore/platform/graphics/qt/ImageDecoderQt.cpp:268: error: within this context ../../../WebCore/platform/image-decoders/ImageDecoder.h:237: error: 'bool WebCore::ImageDecoder::m_sizeAvailable' is private ../../../WebCore/platform/graphics/qt/ImageDecoderQt.cpp:269: error: within this context make[1]: *** [obj/release/ImageDecoderQt.o] Error 1
Attachments
Fix
(375 bytes, patch)
2009-06-10 04:22 PDT
,
Bernhard Rosenkraenzer
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Bernhard Rosenkraenzer
Comment 1
2009-06-10 04:22:54 PDT
Created
attachment 31128
[details]
Fix IMO this is the only way to fix it -- the Qt ImageDecoder actually writes to m_size and m_sizeAvailable
Peter Kasting
Comment 2
2009-06-13 15:59:59 PDT
This was fixed already.
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