[Webkit-unassigned] [Bug 56418] New: Incorrect check-webkit-style warning on header guards

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Mar 15 14:55:43 PDT 2011


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

           Summary: Incorrect check-webkit-style warning on header guards
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Tools / Tests
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: kevino at theolliviers.com


When adding header guards in a recent patch, it erroneously told me that the header guard name should be WTF_config_h, even though the file in question was not in WTF or even JSCore. Here is the line in question, along with the warning it generated:

>> Tools/WebKitAPITest/config.h:25
>> +#ifndef WebKitAPITests_config_h
> 
> #ifndef header guard has wrong style, please use: WTF_config_h  [build/header_guard] [5]

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