Boost logo

Boost :

From: Marshall Clow (marshall_at_[hidden])
Date: 2004-07-14 14:12:19

At 10:48 AM -0700 7/14/04, I wrote:
>Robert Ramey <ramey_at_[hidden]>
>>In reviewing the failure of the serialization library build on Darwin - it
>>seems that none of the include file can be found. This sounds like some
>>sort of Jamfile or build setup issue. Can anyone give me any insight here?
>Yes - I did a "cvs update", which apparently did not pull down any
>new directories.
>In particular, "boost/archive" did not get created/populated.
>I am currently running a clean set of tests (wiping my boost
>directory and checking
>out all new sources, which got me the boost/archive directory), and
>will post the
>results when they are ready (about noon PDT, I would guess).

Ok, I've completed that, and the test results are (more or less) the same.
The error messages are different, though.

>serialization - libboost_serialization.a - darwin
>Compiler output:
>In file included from
> from
>/Users/marshall/boost/boost/boost/archive/wcslen.hpp: In function `size_t
> std::wcslen(const wchar_t*)':
>/Users/marshall/boost/boost/boost/archive/wcslen.hpp:32: error: `size_t
> std::wcslen(const wchar_t*)' conflicts with previous using declaration `
> size_t wcslen(const wchar_t*)'
>/Users/marshall/boost/boost/boost/archive/impl/basic_binary_oprimitive.ipp: In
> member function `void boost::archive::basic_binary_oprimitive<Archive,
> OStream>::save(const wchar_t*) [with Archive =
> boost::archive::binary_oarchive, OStream = std::basic_ostream<char,
> std::char_traits<char> >]':
>instantiated from here
>error: call
> of overloaded `wcslen(const wchar_t*&)' is ambiguous
>/usr/include/wchar.h:192: error: candidates are: size_t wcslen(const wchar_t*)
> size_t std::wcslen(const wchar_t*)
> c++ -c -ftemplate-depth-120 -DBOOST_TEST_NO_AUTO_LINK=1
>-Wno-long-double -no-cpp-precomp -g -O0 -fno-inline -Wall
>-fcoalesce-templates -I"../bin/boost/libs/serialization/build"
>-I"/Users/marshall/boost/boost" -o


-- Marshall
Marshall Clow     Idio Software   <mailto:marshall_at_[hidden]>
It is by caffeine alone I set my mind in motion.
It is by the beans of Java that thoughts acquire speed,
the hands acquire shaking, the shaking becomes a warning.
It is by caffeine alone I set my mind in motion.

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