Boost logo

Boost Users :

From: Robert Ramey (ramey_at_[hidden])
Date: 2004-12-21 23:17:52


what happens when you make the change below?

Can you build and run any of the demos or tests? Please confirm that you
have done this.

Robert Ramey.

Ryan Wilcox wrote:
>>> I would like to use boost::serialize for one of my projects, using
>>> Codewarrior 8.3 (going to CW 9 may or may not be in the picture), on
>>> Mac OS X (10.3.x)
>
> I reproduced this error with the following Simplest Sample That Will
> (for me) Fail To Compile.
>
> <code>
>
> #include <fstream>

// introduce this here:
#include <boost/serialization/vector.hpp>

> #include <boost/archive/text_iarchive.hpp>
>
> #include <ios>
> #include <vector>
>
> int main()
> {
> std::ifstream in( "vectfname", (std::ios_base::openmode)0 );
> boost::archive::text_iarchive dataSource(in);
> std::vector<int> is;
>
> dataSource >> boost::serialization::make_nvp("avector", is);
> }
>
> </code>


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net