Boost logo

Boost :

Subject: Re: [boost] [String Algo] error in ireplace_first or ireplace_all with std::wstring under gcc 3.4.2 (MingW)
From: Pavol Droba (droba_at_[hidden])
Date: 2010-01-20 04:44:50


Hi,

On Tue, Jan 19, 2010 at 06:34:48PM -0500, Doug Swanson wrote:
> I apologize in advance if this is an inappropriate place to post this
> question. I posted it to the boost-users list half a week ago and got
> no replies, so I am trying here instead.
>

I'm sorry I missed that.

> The following code compiles and runs without error under g++ in Windows,
> GCC 3.4.2 (MingW):
>

<snip>

> Does this indicate a problem with gcc (MingW) unicode support? Is there
> an easy way to circumvent it?
>
> Thank you very much for any suggestions!

As far as I know, that answer is quite simple. Unless something have
changed recently, mingw does not support unicode strings. I would
suggest to swith to non-mingw version of gcc.

Best Regards.
Pavol


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