fix compatibility with archive versions 1.41-, 1.42, 1.43,1.44+

[SVN r66106]
This commit is contained in:
Robert Ramey
2010-10-19 19:43:09 +00:00
parent 285ced858f
commit bc7ba5556f
17 changed files with 38 additions and 19 deletions

View File

@@ -16,6 +16,10 @@
#include <utility>
#define BOOST_ARCHIVE_SOURCE
// include this to prevent linker errors when the
// same modules are marked export and import.
#define BOOST_SERIALIZATION_SOURCE
#include <boost/archive/archive_exception.hpp>
#include <boost/serialization/throw_exception.hpp>