Boost logo

Boost :

From: Jeff Flinn (TriumphSprint2000_at_[hidden])
Date: 2003-09-10 12:38:54


I've tried building testcases and demo under VC71 within the context of both
boost_1_10_2 and today CVS from boost.org. With the following errors,
related to BOOST_STATIC_ASSERT. Having little experience in these matters,
I'm unsure if this is related to missing configuration parameters...

The following is output from "Boost Serialization.sln" debug build of
project "Library".

------ Build started: Project: Library, Configuration: Debug Win32 ------

Compiling...
binary_iarchive.cpp
c:\boost\CVS\boost\boost\serialization\iserializer.hpp(171) : error C2975:
'x' : invalid template argument for 'boost::STATIC_ASSERTION_FAILURE',
compile-time evaluatable constant expression expected
        c:\boost\CVS\boost\boost\static_assert.hpp(29) : see declaration of
'x'
        c:\boost\CVS\boost\boost\serialization\iserializer.hpp(170) : while
compiling class-template member function 'void
boost::serialization::detail::load_non_pointer_type<Archive,T>::invoke(Archi
ve &,T &)'
        with
        [
            Archive=boost::archive::basic_binary_iarchive<std::istream>,
            T=size_t
        ]
        c:\boost\CVS\boost\boost\serialization\iserializer.hpp(311) : see
reference to class template instantiation
'boost::serialization::detail::load_non_pointer_type<Archive,T>' being
compiled
        with
        [
            Archive=boost::archive::basic_binary_iarchive<std::istream>,
            T=size_t
        ]
        c:\boost\CVS\boost\boost\archive\basic_binary_iarchive.hpp(62) : see
reference to function template instantiation 'void
boost::serialization::load<boost::archive::basic_binary_iarchive<IStream>,T>
(Archive &,T &)' being compiled
        with
        [
            IStream=std::istream,
            T=size_t,
            Archive=boost::archive::basic_binary_iarchive<std::istream>
        ]
        c:\boost\CVS\boost\boost\archive\basic_binary_iarchive.hpp(124) :
see reference to function template instantiation 'void
boost::archive::basic_binary_iarchive<IStream>::load_override<T>(T &,long)'
being compiled
        with
        [
            IStream=std::istream,
            T=size_t
        ]
        c:\boost\CVS\boost\libs\serialization\src\binary_iarchive.cpp(28) :
see reference to function template instantiation
'boost::archive::basic_binary_iarchive<IStream>
&boost::archive::basic_binary_iarchive<IStream>::operator >><size_t>(T &)'
being compiled
        with
        [
            IStream=std::istream,
            T=size_t
        ]
c:\boost\CVS\boost\boost\serialization\iserializer.hpp(171) : error C2027:
use of undefined type 'boost::STATIC_ASSERTION_FAILURE<x>'
        with
        [
            x=false
        ]
        c:\boost\CVS\boost\boost\serialization\iserializer.hpp(171) : see
reference to class template instantiation
'boost::STATIC_ASSERTION_FAILURE<x>' being compiled
        with
        [
            x=false
        ]
c:\boost\CVS\boost\boost\serialization\iserializer.hpp(186) : error C2975:
'C' : invalid template argument for 'boost::mpl::apply_if_c', compile-time
evaluatable constant expression expected
        c:\boost\CVS\boost\boost\mpl\apply_if.hpp(47) : see declaration of
'C'
c:\boost\CVS\boost\boost\serialization\iserializer.hpp(187) : error C2975:
'C' : invalid template argument for 'boost::mpl::apply_if_c', compile-time
evaluatable constant expression expected
        c:\boost\CVS\boost\boost\mpl\apply_if.hpp(47) : see declaration of
'C'

Library - 4 error(s), 0 warning(s)

---------------------- Done ----------------------

    Build: 0 succeeded, 1 failed, 0 skipped

-- 
Jeff Flinn
Applied Dynamics, International

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk