Boost logo

Boost :

From: David Abrahams (dave_at_[hidden])
Date: 2004-04-10 22:21:45


"Gennadiy Rozental" <gennadiy.rozental_at_[hidden]> writes:

>> I am seeing these errors when compiling with como-win32:
>>
>> "c:\boost\libs/test/src/execution_monitor.cpp", line 42: error #735:
>> using-declaration of function "strlen(const char *) C" conflicts
>> with function "std::strlen(const char *)" (declared at line 30
> of
>> "c:/tools/como433\libcomo\cnames/cstring")
>> namespace std { using ::strlen; using ::strncat; }
>> ^
>>
>> "c:/tools/como433\libcomo\cnames/cstring", line 30: error #247: function
>> "std::strlen" has already been defined
>> extern "C++" inline size_t strlen(const char *arg) { return
> ::strlen(arg); }
>> ^
>
> Why does BOOST_NO_STDC_NAMESPACE gets defined then?

I have no idea.

-- 
Dave Abrahams
Boost Consulting
www.boost-consulting.com

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