[Webkit-unassigned] [Bug 62084] New: clan build error: hidden overloaded virtual function
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Jun 3 21:50:21 PDT 2011
https://bugs.webkit.org/show_bug.cgi?id=62084
Summary: clan build error: hidden overloaded virtual function
Product: WebKit
Version: 528+ (Nightly build)
Platform: Unspecified
OS/Version: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: WebCore Misc.
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: joepeck at webkit.org
CC: leviw at chromium.org
This seemed to cause a clang build warning (which is treated as an error).
> CompileC RenderTable.o
> In file included from /Users/pecoraro/Code/webkit-open-source/Source/WebCore/rendering/RenderTable.cpp:38:
> Source/WebCore/rendering/RenderTableCell.h:146:18: error: 'WebCore::RenderTableCell::paintMask' hides overloaded virtual function [-Werror,-Woverloaded-virtual,3]
> Source/WebCore/rendering/RenderBox.h:357:18: note: hidden overloaded virtual function 'WebCore::RenderBox::paintMask' declared here [3]
> 1 error generated.
> Command /Developer/usr/bin/clang failed with exit code 1
Indeed the functions have a similar but different signature:
RenderBox.h:
virtual void paintMask(PaintInfo&, const IntPoint&);
RenderTableCell.h:
virtual void paintMask(PaintInfo&, IntSize);
RenderTableCell just takes the incoming IntSize and makes an IntPoint out of it anyways.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list