Boost logo

Boost Users :

Subject: Re: [Boost-users] Project using Boost.Units compiling slowly
From: OvermindDL1 (overminddl1_at_[hidden])
Date: 2009-12-24 23:07:34


On Thu, Dec 24, 2009 at 8:51 PM, Brandon Olivares
<programmer2188_at_[hidden]> wrote:
> On 2009-12-24, OvermindDL1 wrote:
>> On Thu, Dec 24, 2009 at 8:08 PM, Brandon Olivares
>> <programmer2188_at_[hidden]> wrote:
>> ... best
>> suggestion is just try the newest compilers (especially with GCC).
>
> Thanks. On my server I'm running gcc 4.1.2, and 3.4.4 on my PC, which might
> explain the difference in compilation time.
>
> I was reading about precompiling headers possibly being a way to speed up
> compilation. Would that work in this case, and which ones should I
> precompile?

As I recall, but do not quote me on this, precompiled headers do not
help when templates are involved and can actually hurt. PCH's are
wonderful for non-template headers with thousands of forward declared
functions though.


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net