Boost logo

Boost :

Subject: Re: [boost] [bind] mem_fn_eq_test test failure with VC9 in release builds
From: Peter Dimov (pdimov_at_[hidden])
Date: 2008-09-15 11:08:05


Richard Webb:
> When running the Trunk regression tests using VC9SP1 and building in
> release
> mode, the bind/mem_fn_eq_test test fails. Results available @
> http://tinyurl.com/6nfm9m.
> The same test passes when the tests are run in the default debug mode.

This is a known issue. The /OPT:ICF linker option can figure out that the
member functions are identical and fold them into one, and the != test then
fails. This behavior is non-conforming, but useful. I see that we have
markup for this failure, but it's msvc-7.1 specific for some reason.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk