Bug 54369

Summary: Turn on -Woverloaded-virtual for GCC builds of JSC
Product: WebKit Reporter: Cameron Zwarich (cpst) <zwarich>
Component: JavaScriptCoreAssignee: Cameron Zwarich (cpst) <zwarich>
Status: RESOLVED FIXED    
Severity: Normal CC: andersca, simon.fraser, zwarich
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: PC   
OS: OS X 10.5   

Description Cameron Zwarich (cpst) 2011-02-13 16:08:11 PST
Thanks to bug 53760, JSC builds with -Woverloaded-virtual using Clang. It should also build this way with GCC. If it does, we should enable the warning.
Comment 1 Cameron Zwarich (cpst) 2011-02-13 16:22:17 PST
Actually, this warning is really broken in Apple's GCC. It requires derived classes to overload all base class signatures if they overload any of them.
Comment 2 Cameron Zwarich (cpst) 2011-02-13 16:22:37 PST
I don't think we'll ever do this.