Boost logo

Boost :

From: John Maddock (john_at_[hidden])
Date: 2004-07-23 06:10:14


> 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

That's doubly wrong: it should check for BOOST_NO_STDC_NAMESPACE, and if
BOOST_NO_CWCHAR is defined then wcscmp may not exist anyway.

John.


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