Boost logo

Boost :

From: Marshall Clow (marshall_at_[hidden])
Date: 2004-07-14 18:01:06


At 9:38 AM -0700 7/14/04, Robert Ramey wrote:
>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?

What I see is that the serialization library defines "std::wcslen" in
"wcslen.h",
even though there's a perfectly good one already available. This is
conditionalized
off of BOOST_NO_CWCHAR, which leads me to think that this flag is
wrong in the darwin config.

So, I moved it so that it is only set when building on GCC 2.95.x.

Index: boost/boost/config/platform/macos.hpp
===================================================================
RCS file: /cvsroot/boost/boost/boost/config/platform/macos.hpp,v
retrieving revision 1.13
diff -r1.13 macos.hpp
19d18
< # define BOOST_NO_CWCHAR
41a41,42
> # define BOOST_NO_CWCHAR
>

This did not break any other tests, and made some (many) of the
serialization tests pass.
There are still many failures, which I am still investigating.

Could someone vet this change, and commit it to CVS? Thanks!

P.S. There's some bad __APPLE__ conditional compile stuff in
integer_traits, too;
if anyone wants to take a look at it.

--
-- 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 acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk