Boost logo

Boost :

From: Joel de Guzman (joel_at_[hidden])
Date: 2004-07-22 21:26:33

Gennadiy Rozental wrote:

>>This is with mingw-2.0
>>c:\boost\libs\test\build\../src/test_tools.cpp:37: `wcscmp' is already
> declared in this scope
>>#if defined( __GNUC__ ) && defined( BOOST_NO_CWCHAR )
>>namespace std { using ::wcscmp; } <===================== here
> This is the line that was changed yesterday to handle no wcscmp in namespace
> std sometimes. According to an analysis here above
> supposed to work. Now what are the possible issues are:
> 1. BOOST_NO_CWCHAR got defined, while it shouldn't. Why is that?
> 2. Analysis is not completely correct. What is a complete solution?

Whatever the solution is, I'd like to see it placed in

boost/compatibility/cpp_c_headers/cwctype and

for everyone to benefit. This is a common problem.


Joel de Guzman

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