|
Boost Users : |
From: Robert Ramey (ramey_at_[hidden])
Date: 2008-04-08 13:11:27
I believe that the version of boost release is broken. That is why I put
the new version in the trunk.
Robert Ramey
François Mauger wrote:
> Hi again,
>
> I'm checking PBA stuff under my other main production system
> (Scientific Linux [~RedHat] under 64 bits processors and gcc 3.4).
> I use boost 1_34 and get this message while building
> a sample program that works perfectly under boost 1.33
> (with Ubuntu/32bits box/gcc4).
>
> Did I miss some important notice?
>
> Here is the nasty message:
>>>>
> g++ -I/afs/in2p3.fr/home/m/mauger/sw/pba_help/pba_help_trunk/include
> -I/usr/local/boost/include/boost-1_34_1
> -I/usr/local/boost/include/boost-1_34_1 -fPIC prg_test.cxx -o
> prg_test
> -L/usr/local/boost/lib -lboost_serialization-gcc34
> -L/usr/local/boost/lib
> -lboost_filesystem-gcc34
> In file included from prg_test.cxx:15:
> /afs/in2p3.fr/home/m/mauger/sw/pba_help/pba_help_trunk/include/boost/pba/portable_binary_oarchive.hpp:65:
> error: wrong number of template arguments (1, should be 3)
> /usr/local/boost/include/boost-1_34_1/boost/archive/binary_oarchive_impl.hpp:28:
> error: provided for `template<class Archive, class Elem, class Tr>
> class boost::archive::binary_oarchive_impl'
> /afs/in2p3.fr/home/m/mauger/sw/pba_help/pba_help_trunk/include/boost/pba/portable_binary_oarchive.hpp:73:
> error: wrong number of template arguments (1, should be 3)
> /usr/local/boost/include/boost-1_34_1/boost/archive/binary_oarchive_impl.hpp:28:
> error: provided for `template<class Archive, class Elem, class Tr>
> class boost::archive::binary_oarchive_impl'
> /afs/in2p3.fr/home/m/mauger/sw/pba_help/pba_help_trunk/include/boost/pba/portable_binary_oarchive.hpp:73:
> error: ISO C++ forbids declaration of `archive_base_t' with no type
> ...
> then follows very similar error messages...
> <<<
>
> I looks as if there is difference between boost release.
>
> thanks for a hint.
>
> frc
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