Boost logo

Boost :

Subject: Re: [boost] [offtopic] cygwin and wchar
From: Eric Niebler (eric_at_[hidden])
Date: 2010-08-05 11:29:50


On 8/5/2010 10:55 AM, Beman Dawes wrote:
> On Wed, Aug 4, 2010 at 1:03 AM, Eric Niebler <eric_at_[hidden]> wrote:
>>
>> On 8/3/2010 9:06 PM, Robert Ramey wrote:
>>> Eric Niebler wrote:
>>>> I see that the cygwin toolset now expects wchar support, and I've
>>>> heard that cygwin does indeed support wchar now, but I don't know
>>>> what I need to do to get it. Simply running the cygwin installer and
>>>> letting it update everything doesn't seem to do the trick. Help?
>>>
>>> Hmmm - that's all I did and it worked fine. I did notice one
>>> thing though - it seemed to leave some older version of gcc
>>> and libraries on there. Double check that the older ones
>>> aren't being invoked with gcc -v
>>
>> Ah, I had to install the gcc4 package. It installs side-by-side with the
>> earlier gcc package, which is gcc3.
>>
>> I wonder if it's a good idea for the cygwin toolset to just assume that
>> wchar support is present, when really it's only present if the user has
>> selected gcc4.
>
> Wide character support is currently detected by libstdcpp3.hpp.
>
> Is that detection not working?

I guess not. The filesystem library failed to build on cygwin with
wchar-ish errors until I installed gcc4.

-- 
Eric Niebler
BoostPro Computing
http://www.boostpro.com

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