Boost logo

Boost-Build :

Subject: Re: [Boost-build] PDB support, pt. 2
From: Michel Krämer (michel_at_[hidden])
Date: 2009-08-03 10:55:59

Michael Weber-18 wrote:
> I think most msvc users would agree that debug-store=database is a
> good default - it is the option we've used on many large projects for
> many years now. Also, the Visual Studio IDE uses this option by
> default for new projects.

That's true, but I'm having trouble using pre-compiled headers now. I just
checked out the latest boost build version from the SVN and tried to compile
my project. Pre-compiled headers are on and debug-store is set to
"database", but I get the compiler errors C2858 and C2859 which tell me that
the individual pdb file is not compatible to the one created for the
pre-compiled headers which is vc90.pdb actually:

abc.cpp(12) : error C2858:
 command-line option
se\threading-multi\user-interface-gui\abc.pdb)' inconsistent with
precompiled header, which used '/Fdj:\projects\...\vc90.pdb'
abc.cpp(12) : error C2859:
9.0\debug\debug-store-database\threading-multi\user-interface-gui\abc.pdb is
not the pdb file that was used when this precompiled header was created,
recreate the precompiled header.

If I remove the debug-store setting I do not get the error message anymore,
but I'm not sure what consequences that has.

So, I'd recommend not setting debug-store to "database" by default until it
can be used in conjuction with pre-compiled headers.

Please tell me if there is anything I'm missing.


View this message in context:
Sent from the Boost - Build mailing list archive at

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