Boost logo

Boost-Build :

From: Phillip Seaver (phil_at_[hidden])
Date: 2005-09-15 09:55:30

Vladimir Prus wrote:

> On Wednesday 14 September 2005 20:22, Phillip Seaver wrote:
> > Vladimir Prus wrote:
> > > Hmm.. why didn't you speak up before? It's the first time a user
> reports
> > > precompiled header support as a showstopper; if I knew it before such
> > > support
> > > would probably be already implemented.
> >
> > Just a note in case you do start implementing this -- I tried an
> > experiment yesterday and added <cflags>/YX ("Automatic Use of
> > Precompiled Headers") to my build and it won't work if you do -j2. Both
> > compiler processes try to open the .pch file and lock it. A couple of
> > weeks ago, I played with .pdb file generation and ran into the same
> > problem. I can create .pdb files as long as I don't use the -j option.
> When we talked about it before, the general agreement was to never use
> automatic pch, but instead use manual mode. MSVC users said it's much
> more
> reliable.

Okay, but if you use -Yc"filename.h", e.g., you still run into the
problem with concurrent processes trying to lock the same file.



Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at