Boost logo

Boost :

From: Paul Hamilton (paul_at_[hidden])
Date: 2003-09-05 02:50:50


I can almost build the serialization stuff on darwin with gcc 3.1.

Here are a few simple patches that fix up some problems with ignoring
"BOOST_NO_CWCHAR".

files are separated with "================".

Paul.

================
***
/Volumes/Backup/Downloads/boost-dev/libs/serialization/src/
basic_binary_oarchive.cpp Tue Sep 2 14:49:18 2003
--- /usr/src/boost/libs/serialization/src/basic_binary_oarchive.cpp Fri
Sep 5 16:16:18 2003
***************
*** 63,66 ****
--- 63,67 ----
   }

+ #ifndef BOOST_NO_CWCHAR

   template<class OStream>

   void

***************
*** 71,74 ****
--- 72,76 ----
       write_binary(ws, l);

   }

+ #endif

   #ifndef BOOST_NO_STD_WSTRING
================

================
***
/Volumes/Backup/Downloads/boost-dev/libs/serialization/src/
xml_oarchive.cpp Tue Sep 2 14:49:20 2003
--- /usr/src/boost/libs/serialization/src/xml_oarchive.cpp Fri Sep 5
16:17:16 2003
***************
*** 86,90 ****
   #endif

! #ifndef BOOST_NO_INTRINSIC_WCHAR_T

   void save(std::ostream & os, const wchar_t * ws, int){

       save(

--- 86,90 ----
   #endif

! #if !defined(BOOST_NO_INTRINSIC_WCHAR_T) && !defined(BOOST_NO_CWCHAR)

   void save(std::ostream & os, const wchar_t * ws, int){

       save(

================

================
***
/Volumes/Backup/Downloads/boost-dev/libs/serialization/src/
text_oarchive.cpp Tue Sep 2 14:49:20 2003
--- /usr/src/boost/libs/serialization/src/text_oarchive.cpp Fri Sep 5
16:16:47 2003
***************
*** 60,63 ****
--- 60,64 ----
   }

+ #ifndef BOOST_NO_CWCHAR

   void

   text_oarchive::save_override(const wchar_t * ws, int)

***************
*** 68,71 ****
--- 69,73 ----
       write_binary(ws, l);

   }

+ #endif

   #ifndef BOOST_NO_STD_WSTRING
================

---------------------
Paul Hamilton
pHamtec P/L - Software Makers
http://www.phamtec.com/
mailto:paul_at_[hidden]

The information transmitted is intended only for the person or entity
to which it is addressed and may contain confidential and/or privileged
material. Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by persons or
entities other than the intended recipient is prohibited. If you
received this in error, please contact the sender and delete the
material from any computer.
-----------------------------------------------------


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