[webkit-dev] What's the rationale for not including config.h in any header files?

Ryosuke Niwa rniwa at webkit.org
Tue Aug 1 14:12:56 PDT 2017

On Mon, Jul 31, 2017 at 1:27 PM, Darin Adler <darin at apple.com> wrote:
> We originally adopted this “config.h” style to make WebKit buildable with autotools. Since that has not been a consideration for years I would be willing to abandon this and change how we do things.
> I don’t think we should add lots of includes of “config.h”, though. I think we can come up with something better.

As I understand it, we need to change the way we include config.h to
enable C++ module in WebKit as well since each header file needs to be
able to compile as its own module.

- R. Niwa

More information about the webkit-dev mailing list