Boost Testing :
From: Caleb Epstein (caleb.epstein_at_[hidden])
Date: 2005-06-07 12:26:30
On 6/7/05, Rene Rivera <grafik.list_at_[hidden]> wrote:
> Caleb Epstein wrote:
> > I can confirm that the header void_cast.hpp is not being included.
> And I can confirm that it is being included :-\ By doing the same as you
> did but with MinGW (gcc-3.4.2). That only leaves one possibility. You
> don't have the latest sources. How do you get the Boost tree? FTP the
> snapshot from metacomm? Anon CVS from SF? Developer CVS from SF?
I'm using regression.py, which fetches:
# Downloading "http://www.meta-comm.com/engineering/boost/snapshot/boost-CVS-HEAD.tar.bz2"
I think the answer is more subtle. From <boost/serialization/base_object.hpp>:
// if no archive headers have been included
// skip inclusion of void_cast.hpp . This is to avoid auto-link when
// a module doesn't doesn't actually invoke serializaton but rather
// just declares it.
#if ! defined(BOOST_ARCHIVE_BASIC_ARCHIVE_HPP)
template<class Derived, class Base>
const void * void_cast_register(
const Derived * /* dnull = NULL */,
const Base * /* bnull = NULL */
It appears the first branch of the #if conditional is being pulled in
on my platform.
-- Caleb Epstein caleb dot epstein at gmail dot com