msvcp100: add _Container_base0::_Swap_all, _Container_base0::_Orphan_all

Dan Kegel dank at kegel.com
Tue Jul 24 08:15:42 CDT 2012


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 http://bugs.winehq.org/show_bug.cgi?id=27698
See that bug report for test case and other details.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-msvcp100-add-_Container_base0-_Swap_all-_Container_b.patch
Type: application/octet-stream
Size: 4369 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20120724/94c36173/attachment-0001.obj>


More information about the wine-patches mailing list