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:
se\threading-multi\user-interface-gui\abc.pdb)' inconsistent with
precompiled header, which used '/Fdj:\projects\...\vc90.pdb'
abc.cpp(12) : error C2859:
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: http://www.nabble.com/PDB-support%2C-pt.-1-tp24656130p24792252.html Sent from the Boost - Build mailing list archive at Nabble.com.
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