Boost logo

Boost :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2004-07-21 07:36:04

Hi Joaqu?n,

> Hi Volodya, I've reproduced the crash with options_description_test_dll
> and found the cause.
> The problem has to do with a bug in Dinkumware stdlib (as shipped with
> VC++ 6.0, so it also affetcs Intel 7.1) by which one cannot share
> std::sets across DLLs. This impacts the methods
> options_description::keys(), options_description::primary_keys() and
> options_description::approximations().

Oh, so if DLL create std::set and passes it to application, the application
crashes? Sweet ;-)

> I've tried forcing the inlining of these member functions, to not avail.
> Dinkumware folks posted a patch for this problem that you can read
> about here:
> Replacing the internal header <xtree> with the one available at the
> page solves the problem, I've just checked this out.
> So, my suggestion is that you mark this test as expected failure in
> MSVC and Intel and add an explanatory note with this info so that
> the user can apply the Dinkumware patch, if she wishes to do so.

Big thanks for diagnosing this. That's what I'll do now.

- Volodya

Boost list run by bdawes at, gregod at, cpdaniel at, john at