|
Boost : |
From: Robert Ramey (ramey_at_[hidden])
Date: 2004-07-15 00:56:28
Marshall Clow wrote:
>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!
When I look at this I conclude that define BOOST_NO_CWCHAR ( and
BOOST_NO_CWTYPE) should just be removed from this file. Its not clear to me
why its there.
The MacOS compiled with GCC includes the file library configuration file
that sets/doesn't set these macros according to the platform. And the gcc
version isn't enough to do it right. E.G. Cygwin gcc doesn't support
wchar_t etc even though its version 3.3. I would like to
a) hear from someone who knows why that code was put in there in the first
place.
b) take it out and run the tests.
If b) looks ok and we don't hear from anyone shortly, then I'll make the
change in CVS.
Robert Ramey
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk