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   

Cameron Zwarich (cpst)
Reported 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.
Attachments
Cameron Zwarich (cpst)
Comment 1 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.
Cameron Zwarich (cpst)
Comment 2 2011-02-13 16:22:37 PST
I don't think we'll ever do this.
Note You need to log in before you can comment on or make changes to this bug.