Boost logo

Boost :

Subject: Re: [boost] [offtopic] cygwin and wchar
From: Eric Niebler (eric_at_[hidden])
Date: 2010-08-04 01:03:16


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.

Just-sayin'-ly,

-- 
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