Boost logo

Boost :

From: Jonathan Wakely (cow_at_[hidden])
Date: 2004-07-20 05:59:14


On Tue, Jul 20, 2004 at 06:32:17AM -0400, Rozental, Gennadiy wrote:

> > The workaround should make use of the BOOST_NO_CWCHAR macro,
> > which is set if _GLIBCPP_USE_WCHAR_T / _GLIBCXX_USE_WCHAR_T
> > is not set (see
> > boost/config/stdlib/libstdcpp3.hpp)
> >
> > Maybe something like this (but using BOOST_WORKAROUND):
> >
> > #if defined( __GNUC__ ) && defined( BOOST_NO_CWCHAR )
> > namespace std { using ::wcscmp; }
> > #endif
>
> Why do I need to test for gcc here in a first place?

I was trying to be conservative. I've only analysed the situation for
libstdc++ and didn't want to suggest anything that would affect others.

jon

-- 
If one tells the truth, one is sure, sooner or later, to be found out.
	- Oscar Wilde

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