[Libreoffice] --enable-pch

Michael Stahl mstahl at redhat.com
Mon Oct 17 04:11:11 PDT 2011

On 17/10/11 12:15, Tor Lillqvist wrote:
>> does anybody know why on MSVC builds --enable-pch is not on by default?
> Don't know at what stage it was turned off, or whether it has ever
> been on by default. Anyway, support for precompiled headers in a MSVC
> build has presumably bit-rotted fairly badly by now. I recall when
> precompiled headers was discussed maybe a year ago, and people were
> saying that it should be used because it speeds up the build a lot. I
> tried then, and eventually in some modules it was so broken that I
> just gave up, had other things to do...

hmm... sounds bad.

> How would precompiled headers interact with how we generate
> dependencies (the -showIncludes switch, with output piped to a Perl
> script), for instance?

so we don't use makedepend any more?

hmmm... no idea what showIncludes would do in the presence of PCH.

would be interesting to know if the PCH plus makedepend is slower/faster 
than no PCH plus showIncludes.

More information about the LibreOffice mailing list