RESOLVED WONTFIX130607
Include WTF headers in the WebCore precompiled headers
https://bugs.webkit.org/show_bug.cgi?id=130607
Summary Include WTF headers in the WebCore precompiled headers
Simon Fraser (smfr)
Reported 2014-03-21 10:51:50 PDT
Include WTF headers in the WebCore precompiled headers
Attachments
Patch (7.30 KB, patch)
2014-03-21 10:52 PDT, Simon Fraser (smfr)
no flags
Simon Fraser (smfr)
Comment 1 2014-03-21 10:52:41 PDT
WebKit Commit Bot
Comment 2 2014-03-21 10:54:08 PDT
Attachment 227456 [details] did not pass style-queue: ERROR: Source/WebCore/WebCorePrefix.h:180: Header file should not contain WebCore config.h. Should be: alphabetically sorted. [build/include_order] [4] ERROR: Source/WebCore/WebCorePrefix.h:183: Alphabetical sorting problem. [build/include_order] [4] ERROR: Source/WebCore/WebCorePrefix.h:187: Alphabetical sorting problem. [build/include_order] [4] ERROR: Source/WebCore/WebCorePrefix.h:196: Alphabetical sorting problem. [build/include_order] [4] ERROR: Source/WebCore/WebCorePrefix.h:217: Alphabetical sorting problem. [build/include_order] [4] ERROR: Source/WebCore/WebCorePrefix.h:226: Alphabetical sorting problem. [build/include_order] [4] ERROR: Source/WebCore/WebCorePrefix.h:247: Alphabetical sorting problem. [build/include_order] [4] ERROR: Source/WebCore/WebCorePrefix.h:257: Alphabetical sorting problem. [build/include_order] [4] ERROR: Source/WebCore/WebCorePrefix.h:290: Alphabetical sorting problem. [build/include_order] [4] ERROR: Source/WebCore/WebCorePrefix.h:313: Alphabetical sorting problem. [build/include_order] [4] ERROR: Source/WebCore/WebCorePrefix.h:325: Alphabetical sorting problem. [build/include_order] [4] ERROR: Source/WebCore/WebCorePrefix.h:330: Alphabetical sorting problem. [build/include_order] [4] ERROR: Source/WebCore/WebCorePrefix.h:336: Alphabetical sorting problem. [build/include_order] [4] ERROR: Source/WebCore/WebCorePrefix.h:337: Alphabetical sorting problem. [build/include_order] [4] ERROR: Source/WebCore/WebCorePrefix.h:341: Alphabetical sorting problem. [build/include_order] [4] ERROR: Source/WebCore/WebCorePrefix.h:344: Alphabetical sorting problem. [build/include_order] [4] Total errors found: 16 in 4 files If any of these errors are false positives, please file a bug against check-webkit-style.
Simon Fraser (smfr)
Comment 3 2014-03-21 11:09:25 PDT
I think if we land this, we need to encourage a culture of not making frequent changes to WTF headers.
Andreas Kling
Comment 4 2014-03-21 11:28:04 PDT
(In reply to comment #3) > I think if we land this, we need to encourage a culture of not making frequent changes to WTF headers. This culture should have been in place already, but yes. :) Windows build failure: 1>C:\cygwin\home\buildbot\WebKit\WebKitBuild\Release\include\private\wtf/ObjcRuntimeExtras.h(31): fatal error C1083: Cannot open include file: 'objc/message.h': No such file or directory
Brent Fulgham
Comment 5 2014-03-24 10:13:00 PDT
(In reply to comment #4) > (In reply to comment #3) > > I think if we land this, we need to encourage a culture of not making frequent changes to WTF headers. > > This culture should have been in place already, but yes. :) > > Windows build failure: > 1>C:\cygwin\home\buildbot\WebKit\WebKitBuild\Release\include\private\wtf/ObjcRuntimeExtras.h(31): fatal error C1083: Cannot open include file: 'objc/message.h': No such file or directory Just bracket this include with the #if !OS(WINDOWS)
Simon Fraser (smfr)
Comment 6 2014-03-24 10:38:04 PDT
Decided against this; the precompiled header and prefix header are the same thing, and if we include WTF on mac it will be too easy to break other platforms.
Note You need to log in before you can comment on or make changes to this bug.