Robert Ramey writes:
try adding:
#include
to ./boost/archive/basic_binary_iarchive.hpp:
Robert Ramey
I changed the beginning of boost/archive/basic_binary_iarchive.hpp
to read as follows:
#ifndef BOOST_ARCHIVE_BASIC_BINARY_IARCHIVE_HPP
#define BOOST_ARCHIVE_BASIC_BINARY_IARCHIVE_HPP
// MS compatible compilers support #pragma once
#if defined(_MSC_VER) && (_MSC_VER >= 1020)
# pragma once
#endif
/////////1/////////2/////////3/////////4/////////5/////////6/////////7/////////
// ... collapsed...
// See http://www.boost.org for updates, documentation, and revision history.
#include
#include
#include
#include
unfortunately, I keep getting the same error as before:
darwin.compile.c++ bin.v2/libs/serialization/build/darwin-4.0.1/release/link-
static/threading-multi/binary_iarchive.o
./boost/archive/basic_binary_iarchive.hpp:75: error: invalid application of
'sizeof' to incomplete type 'boost::STATIC_ASSERTION_FAILURE<false>'
"g++" -ftemplate-depth-128 -O3 -finline-functions -Wno-inline -Wall
-no-cpp-precomp -gdwarf-2 -Wno-long-double -DBOOST_ALL_NO_LIB=1 -DNDEBUG
-I"." -c -o "bin.v2/libs/serialization/build/darwin-4.0.1/release/link-static
/threading-multi/binary_iarchive.o" "libs/serialization/src/binary_iarchive.cpp"
...failed darwin.compile.c++ bin.v2/libs/serialization/build/darwin-
4.0.1/release/link-static/threading-multi/binary_iarchive.o...
...failed updating 1 target...
...updated 6 targets...
Any other thoughts?
Philipp