Boost logo

Boost Users :

From: Robert Ramey (ramey_at_[hidden])
Date: 2008-04-09 12:03:06


The version of portable binary archive in the boost 1.35 release is broken.

a) it will create an archive
b) that archive will not be portable.
c) it will work however on the same machine.
d) but it cant be loaded on a machine of differing endianness

Robert Ramey

François Mauger wrote:
> Hi Robert, Christian and all
>
>>>> On Tue, April 8, 2008 7:11 pm, Robert Ramey wrote:
>> I believe that the version of boost release is broken. That is why
>> I put the new version in the trunk.
>
> do you mean that boost 1.34 is broken independently of my attempt
> to use "portable binary archive"? ...or just for this very special
> case? I have to know for I have 1 Tb of data to serialize using boost
> on my computing center with 1.34 officially installed by the staff
> and I also need to transfer these data from 1.33 and/or 1.34 target
> workstations.
>
> thanks for advice
>
> frc
> --
>
>> 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/pb
>>> a/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/pb
>>> a/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 mailing list
>> Boost-users_at_[hidden]
>> http://lists.boost.org/mailman/listinfo.cgi/boost-users


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