Boost logo

Boost :

Subject: Re: [boost] [serialization] Massive failures in develop?
From: John Maddock (jz.maddock_at_[hidden])
Date: 2015-10-17 13:07:54

> c) perhaps this broke the msvc tests

Reduced test case for msvc is just:

#include <sstream>
#include <boost/archive/text_iarchive.hpp>
#include <boost/archive/text_oarchive.hpp>

int main()
    std::stringstream ss(std::ios_base::in | std::ios_base::out |
    boost::archive::text_oarchive oa(ss);
    return 0;

Which aborts when calling the stringstream destructor - looks like a
pure virtual method is called.

The above test case passes with GCC/Linux, but there are many others
which do not and yield:

====== BEGIN OUTPUT ======
pure virtual method called
terminate called without an active exception
Aborted (core dumped)


BTW, basic_text_iprimitive.hpp needs to include <limits> otherwise some
compilers don't get numeric_limits defined.

HTH, John.

Boost list run by bdawes at, gregod at, cpdaniel at, john at