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
>>#endif
>
>
> This is the line that was changed yesterday to handle no wcscmp in namespace
> std sometimes. According to an analysis here http://tinyurl.com/3kmyz 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
boost/compatibility/cpp_c_headers/cctype.

for everyone to benefit. This is a common problem.

Regards,

-- 
Joel de Guzman
http://www.boost-consulting.com
http://spirit.sf.net

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