Skip to content
  • tony@chromium.org's avatar
    [chromium] Enable more clang warnings · 404e130b
    tony@chromium.org authored
    https://bugs.webkit.org/show_bug.cgi?id=97257
    
    Reviewed by James Robinson.
    
    Source/WebCore:
    
    Add -Wunused-parameter to WebCore targets. Apple's Mac compile already
    warns on this and it's a common source of error for Chromium patches.
    
    No new tests, should compile cleanly.
    
    * WebCore.gyp/WebCore.gyp:
    
    Source/WebKit/chromium:
    
    * WebKit.gyp: Add -Wglobal-constructors. Don't add -Wunused-parameter because many of our API interfaces have named parameters with empty implementations.
    * WebKitUnitTests.gyp: Add -Wglobal-constructors and -Wunused-parameter.
    
    Tools:
    
    * DumpRenderTree/DumpRenderTree.gyp/DumpRenderTree.gyp: Add -Wunused-parameter. Don't add -Wglobal-constructors because
    there are lots of violations in these files.
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@129178 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    404e130b