<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>65372</bug_id>
          
          <creation_ts>2011-07-29 06:18:08 -0700</creation_ts>
          <short_desc>check-webkit-style complains about missing config.h in files from Tools/</short_desc>
          <delta_ts>2012-03-13 13:44:48 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Tools / Tests</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Ademar Reis">ademar</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>dpranke</cc>
    
    <cc>eric</cc>
    
    <cc>kbalazs</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>443917</commentid>
    <comment_count>0</comment_count>
    <who name="Ademar Reis">ademar</who>
    <bug_when>2011-07-29 06:18:08 -0700</bug_when>
    <thetext>We usually don&apos;t use WebCore&apos;s config.h in source files from Tools/ (it&apos;s not even in the include path most of the time) but check-webkit-style complains.

See for example:
https://bugs.webkit.org/show_bug.cgi?id=65328#c11

&quot;&quot;&quot;
Failed to run &quot;[&apos;Tools/Scripts/check-webkit-style&apos;, &apos;--diff-files&apos;, u&apos;Tools/ChangeLog&apos;, u&apos;Tools/QtTestBrowser/Qt...&quot; exit_code: 1

Tools/QtTestBrowser/cookiejar.cpp:28:  Found header this file implements before WebCore config.h. Should be: config.h, primary header, blank line, and then alphabetically sorted.  [build/include_order] [4]
Total errors found: 1 in 7 files

&quot;&quot;&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>577746</commentid>
    <comment_count>1</comment_count>
    <who name="Balazs Kelemen">kbalazs</who>
    <bug_when>2012-03-13 13:29:02 -0700</bug_when>
    <thetext>I agree, it&apos;s quite annoying.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>577767</commentid>
    <comment_count>2</comment_count>
    <who name="David Levin">levin</who>
    <bug_when>2012-03-13 13:44:48 -0700</bug_when>
    <thetext>fwiw, here&apos;s the code that implements the checks:
  http://trac.webkit.org/browser/trunk/Tools/Scripts/webkitpy/style/checkers/cpp.py#L275

I won&apos;t have time to look at this in the foreseeable future. My time on WebKit is *extremely* limited these days.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>