Boost logo

Boost :

From: Gennadiy Rozental (gennadiy.rozental_at_[hidden])
Date: 2004-04-10 20:50:45


> 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?

Gennadiy.


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