|
Boost Users : |
From: François Mauger (mauger_at_[hidden])
Date: 2008-04-08 11:47:54
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
-- Francois Mauger Laboratoire de Physique Corpusculaire de Caen et Universite de Caen ENSICAEN - 6, Boulevard du Marechal Juin, 14050 CAEN Cedex, FRANCE e-mail: mauger_at_[hidden] tel.: (0/+33) 2 31 45 25 12 fax: (0/+33) 2 31 45 25 49
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