Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2005-12-05 11:03:54


On Monday 05 December 2005 12:33, Reece Dunn wrote:
> Vladimir Prus wrote:
> > Reece,
> > can you send me the test project, as well as the current version of your
> > patch, so that we'll on the same page without sending huge logs? I'll
> > take a look then.
>
> Did you get the e-mail I sent you? I sent it a week or so ago, but
> haven't received a reply.

Yes, sorry, that dropped on the floor.

> The pch.jam and msvc-pch.diff files add PCH support and test.zip file
> contains the tests I am using for it. Alexey's mc toolset support patch
> is required to compile the mc project.

Ok, speaking about dependent2, in client/Jamfile you have

   lib client : .. ../core ;

if I replace this with

   lib client : ... ../core//core ;

The error is gone. The bug there is that in:

  pch stdafx : [ cast _ pcheader : stdafx.h ] stdafx.cpp ;

the hidded target created by "cast" is not marked as explicit, so when you
refer to "../core", both "stdafx" and that hidden target get build. And so
"client" target gets extra PCHHEADER target and generates another PCH file
from it.

I'll fix this, but this is not problem with PCH implementation itself.

Except -- why do you need "cast" in the first place?

I'll look at another issue in a moment.

- Volodya


Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk