There was some work done by aperez to try and enable precompiled headers on all 
platforms at which never landed. 
I always thought of WebCorePrefix.h as a precompiled headers sort of 

Last time I checked though there was definitely an issue with how up to date 
things were in that file and statement that “the project should be able to 
build without this header, although we rarely test that.” Is definitely false.

From: webkit-dev <> On Behalf Of Fujii 
Sent: Sunday, December 9, 2018 10:35 PM
To: Webkit Development List <>
Subject: Re: [webkit-dev] WebCorePrefix.h vs. config.h

On Sun, Dec 9, 2018 at 8:22 AM Darin Adler 
<<>> wrote:
Best would be to eliminate “config.h”: Change “config.h” into an empty file 
first, then remove all “config.h” includes, and then remove the file. But to do 
that, we need to make sure every build system for WebKit supports prefix 
headers. I don’t know how close to that we are. Maybe close? How can we quickly 
find out?

 GCC and Clang support '-include <file>' option.<><>

GTK and WPE ports are using it only in WK2 since r163032.<>

MSVC has /FI option.

  /FI (Name Forced Include File) | Microsoft Docs<>

Unfortunately, it seems that MSVC's precompiled header needs to be included 

  /Yu (Use Precompiled Header File) | Microsoft Docs<>

webkit-dev mailing list

Reply via email to