Boost logo

Boost :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2003-09-18 08:22:34


Hi Robert,
> Fellow Boosters,
>
> I have just loaded Serialization Draft #12 to the files section.

Gcc 3.3 that I have is not happy with some things in demo.cpp. I attach a
patch which corrects the problems.

Two first issues is the use of

      ar.register_type<bus_stop_corner>()

which, for gcc, should be

      ar.template register_type<bus_stop_corner>()

I guess compiler is allowed to require this. The second case is cast in the
form

      unsigned int(2)

I don't know if this is allowed (using two-word type name), but gcc don't like
it.

I get errors on other demo application, but I'll report them later.

- Volodya




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