[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Status of precompiled headers support?

From: Ralf Wildenhues
Subject: Re: Status of precompiled headers support?
Date: Sun, 28 Mar 2010 17:29:14 +0200
User-agent: Mutt/1.5.20 (2009-10-28)

Hello Lance,

* Lance Westerhoff wrote on Wed, Mar 24, 2010 at 05:39:13PM CET:
> I searched the automake list archives (along with anywhere else I
> could find), and it appears that nothing has really happened with
> standardizing precompiled headers support in the tool chain as there
> hasn't been any mention for years. I have found some vague references
> to supporting them or suggested hacks, but nothing concrete. Is this
> impression correct? If so, does anyone have any rules of thumb or
> modern examples for hacking together one's own support?

Sadly, nothing has happened about the precompiled header support.

However, I don't see a good reason to invest a lot of work: GCC's PCH
support is weak at best (you can include only one precompiled header,
it must be the first included header, reusing it in presence of changed
compile flags is often not possible), and semantics are very

That said, even without explicit Automake support you should be able to
make use of precompiled headers by using self-written rules, no?


reply via email to

[Prev in Thread] Current Thread [Next in Thread]