Boost logo

Boost :

From: Bart Garst (bartmann_nsd_at_[hidden])
Date: 2004-07-15 09:19:59


On Wed, 14 Jul 2004 20:29:19 -0700, Robert Ramey wrote:

> Marshall Clow wrote:
>
>> 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.
>
> Interesting. I examined the config files for macos and was left confused.
> It seemed to me that gcc 3.3 left BOOST_NO_CWHAR undefined while macos
> overrode that with a define. But then the regex test runs a config test
> whose results suggest that BOOST_NO_CWCHAR is not defined so I'm left
> absolutely and totally confused. On top of this I now have some doubts
> about my inclusion of my own definition of wcslen which I now suspect may
> have been the wrong response to some other question. I'm not sure if Darwin
> and macos are the same thing.

If you look at the results from the config/config_info test
(libs/config/test/config_info.cpp) it will tell you which macros are
defined.

Bart


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