[Webkit-unassigned] [Bug 54923] New: [chromium] PopupContainer::show() confuses clang's -Woverloaded-virtual

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Feb 21 18:39:33 PST 2011


https://bugs.webkit.org/show_bug.cgi?id=54923

           Summary: [chromium] PopupContainer::show() confuses clang's
                    -Woverloaded-virtual
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Mac OS X 10.5
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKit Misc.
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: thakis at chromium.org


…because the superclass ScrollView has a show() method as well:

In file included from /b/build/slave/mac_clang/build/src/third_party/WebKit/Source/WebCore/WebCore.gyp/../platform/chromium/PopupMenuChromium.cpp:33:
../platform/chromium/PopupMenuChromium.h:136:10:error: 'WebCore::PopupContainer::show' hides overloaded virtual function [-Woverloaded-virtual]
    void show(const IntRect&, FrameView*, int index);
         ^
In file included from /b/build/slave/mac_clang/build/src/third_party/WebKit/Source/WebCore/WebCore.gyp/../platform/chromium/PopupMenuChromium.cpp:33:
In file included from ../platform/chromium/PopupMenuChromium.h:36:
In file included from ../platform/chromium/FramelessScrollView.h:34:
../platform/ScrollView.h:265:18: note: hidden overloaded virtual function 'WebCore::ScrollView::show' declared here
    virtual void show();
                 ^
1 error generated.

-- 
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