Boost logo

Boost :

Subject: Re: [boost] [regex] Need some help with msvc-11/12
From: John Maddock (john_at_[hidden])
Date: 2014-01-22 08:08:15


> This seems to be a bug in VC12's std::collate::do_transform. If _Wcsxfrm
> returns INT_MAX to indicate that the call to __crtLCMapStringW failed, the
> string gets resized to INT_MAX elements. I will report this on Microsoft
> Connect. The hang doesn't occur if you don't call transform for empty
> strings.

OK thanks, I'll see if I can figure out why it's getting an empty string,
and try to patch/workaround that.

Many thanks for investigating that, much appreciated, John.


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