Bug 58478 - Fix GraphicsContext3DQt.cpp compilation warnings treated as errors
Summary: Fix GraphicsContext3DQt.cpp compilation warnings treated as errors
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit Qt (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC Linux
: P2 Normal
Assignee: Nobody
URL:
Keywords:
: 58527 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-04-13 14:17 PDT by Andrew Wason
Modified: 2011-04-14 07:00 PDT (History)
2 users (show)

See Also:


Attachments
fix compiler warnings (1.79 KB, patch)
2011-04-13 14:20 PDT, Andrew Wason
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Wason 2011-04-13 14:17:27 PDT
GraphicsContext3DQt.cpp fails to build due to some compiler warnings that are treated as errors:

cc1plus: warnings being treated as errors
../../../Source/WebCore/platform/graphics/qt/GraphicsContext3DQt.cpp: In member function 'void* WebCore::GraphicsContext3DInternal::getProcAddress(const WTF::String&)':
../../../Source/WebCore/platform/graphics/qt/GraphicsContext3DQt.cpp:591: error: 'QString::QString(const char*)' is deprecated (declared at /opt/motionbox/foundation/6.1.4-6-gcfb3251-dirty/include/QtCore/qstring.h:426)
../../../Source/WebCore/platform/graphics/qt/GraphicsContext3DQt.cpp: In member function 'void WebCore::GraphicsContext3D::reshape(int, int)':
../../../Source/WebCore/platform/graphics/qt/GraphicsContext3DQt.cpp:659: error: suggest parentheses around '&&' within '||'
make[1]: *** [obj/release/GraphicsContext3DQt.o] Error 1

These were fixed in a patch for bug #57530 but should be in a separate patch as suggested. Separate patch will be attached.
Comment 1 Andrew Wason 2011-04-13 14:20:28 PDT
Created attachment 89457 [details]
fix compiler warnings
Comment 2 Benjamin Poulain 2011-04-14 05:40:18 PDT
*** Bug 58527 has been marked as a duplicate of this bug. ***
Comment 3 WebKit Commit Bot 2011-04-14 07:00:19 PDT
Comment on attachment 89457 [details]
fix compiler warnings

Clearing flags on attachment: 89457

Committed r83853: <http://trac.webkit.org/changeset/83853>
Comment 4 WebKit Commit Bot 2011-04-14 07:00:24 PDT
All reviewed patches have been landed.  Closing bug.