Boost logo

Boost :

From: Rozental, Gennadiy (gennadiy.rozental_at_[hidden])
Date: 2004-07-20 05:32:17

> The workaround should make use of the BOOST_NO_CWCHAR macro,
> 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?
> Although this isn't quite right, as it only tests for GCC,
> but it's the stdlib that affects the availablity of
> std::wcscmp (i.e. GCC with STLPort wouldn't be affected AFAICT)
> jon

Thanks for analysis, I will apply this fix.


Boost list run by bdawes at, gregod at, cpdaniel at, john at