msvcp100: add _Container_base0::_Swap_all, _Container_base0::_Orphan_all (resend)

Dan Kegel dank at
Tue Jul 24 15:43:15 CDT 2012

On Tue, Jul 24, 2012 at 6:15 AM, Dan Kegel <dank at> wrote:
> Visual C++ 2010's STL has a feature called 'checked iterators'.
> By default, this is disabled by using the preprocessor to point
> _Container_base at _Container_base0, a dummy implementation
> of the checking functions.
> This is normally inlined and thus removed by the optimizer, but if the
> optimizer is disabled or can't cope (e.g. with a large function), the
> dummy checking functions in _Container_base0 are actually called, so
> msvcp100.dll has to provide (empty) implementations of them.
> Fixes
> See that bug report for test case and other details.

Use this one instead, it puts config.h above all other includes.

Tested on both x86 and x64.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-msvcp100-add-_Container_base0-_Swap_all-_Container_b.patch
Type: application/octet-stream
Size: 4474 bytes
Desc: not available
URL: <>

More information about the wine-patches mailing list