Boost logo

Boost-Build :

From: Andrei Melnikov (andy.melnikov_at_[hidden])
Date: 2006-07-06 22:28:58

On 05/07/06, Bojan Resnik <resnikb_at_[hidden]> wrote:
> > Does this article apply to /Z7 builds only? I did use static debug
> > libraries with debug information in PDB files (/Zi), but I have never
> > seen any problems without /Yl switch.
> No, it applies to all debug builds. The problems are different between
> compiler versions and between debug formats.
> > Can you create a test case to demonstrate the problems without /Yl or
> > /Yd switch?
> >
> > Andrei
> Attached is a small project that emits a fatal error under MSVC 6.0,
> and a warning under MSVC 8.0. Under MSVC8, it is linked without debug
> information.
I could test it only under VC-8.0. I compiled your test case without
your /Yl patch applied, and I saw a warning when I ran bjam.exe alone
(/Z7 build).

But for /Zi builds (bjam.exe debug-store=database) your test case
doesn't reproduce any problems, does it? No warnings, and debug info
is present for both test-lib.cpp and test.cpp.


P.S. It's a pity that debug-store=object by default. In studios
"debug-store=database" is by default.

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