|
Boost : |
From: Jeff Flinn (TriumphSprint2000_at_[hidden])
Date: 2003-09-15 17:44:00
Robert,
"Robert Ramey" <ramey_at_[hidden]> wrote in message
news:01C37B64.851AD4A0_at_226-146.adsl2.netlojix.net...
> Fellow Boosters,
>
> I have just loaded Serialization Draft #12 to the files section.
>
> It incorporates numerous small changes submitted by many
> people who have built it on differing platforms. The manual
> includes a new section on creating ones own archive formats.
>
> Status:
>
> MSVC 7.0 compiles, links and passes all tests.
> MSVC 7.1 I have reports of successful compile
I get several compilation errors in VC71, for which a snippet is shown
below. Any hints on special settings that achieved the successful compile
mentioned above? The problems are associated with the binary and text
...archive.cpp files. I get the same results using boost_1_30_2 and today's
CVS from boost.org.
Thanks,
Jeff Flinn
Applied Dynamics, International
binary_iarchive.cpp
C:\boost\CVS\boost\boost\mpl\greater.hpp(43) : error C2975: 'C_' : invalid
template argument for 'boost::mpl::bool_', compile-time evaluatable constant
expression expected
C:\boost\CVS\boost\boost\mpl\bool.hpp(26) : see declaration of 'C_'
C:\boost\CVS\boost\boost\serialization\iserializer.hpp(176) : see
reference to class template instantiation 'boost::mpl::greater<T1,T2>' being
compiled
with
[
T1=boost::serialization::implementation_level<size_t>,
T2=boost::mpl::int_<0>
]
C:\boost\CVS\boost\boost\serialization\iserializer.hpp(175) : 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(324) : 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(130) :
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
]
..\..\..\libs\serialization\build\../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(176) : 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(176) : error C2027:
use of undefined type 'boost::STATIC_ASSERTION_FAILURE<x>'
with
[
x=false
]
C:\boost\CVS\boost\boost\serialization\iserializer.hpp(176) : see
reference to class template instantiation
'boost::STATIC_ASSERTION_FAILURE<x>' being compiled
with
[
x=false
]
C:\boost\CVS\boost\boost\mpl\greater_equal.hpp(43) : error C2975: 'C_' :
invalid template argument for 'boost::mpl::bool_', compile-time evaluatable
constant expression expected
C:\boost\CVS\boost\boost\mpl\bool.hpp(26) : see declaration of 'C_'
C:\boost\CVS\boost\boost\mpl\if.hpp(69) : see reference to class
template instantiation 'boost::mpl::greater_equal<T1,T2>' being compiled
with
[
T1=boost::serialization::implementation_level<size_t>,
T2=boost::mpl::int_<3>
]
C:\boost\CVS\boost\boost\mpl\apply_if.hpp(36) : see reference to
class template instantiation 'boost::mpl::if_<C,T1,T2>' being compiled
with
[
C=boost::mpl::greater_equal<boost::serialization::implementation_level<size_
t>,boost::mpl::int_<3>>,
T1=boost::mpl::identity<boost::serialization::detail::load_non_pointer_type<
boost::archive::basic_binary_iarchive<std::istream>,size_t>::load>,
T2=boost::mpl::apply_if<boost::mpl::greater_equal<boost::serialization::impl
ementation_level<size_t>,boost::mpl::int_<2>>,boost::mpl::identity<boost::se
rialization::detail::load_non_pointer_type<boost::archive::basic_binary_iarc
hive<std::istream>,size_t>::load_only>,boost::mpl::identity<boost::serializa
tion::detail::load_non_pointer_type<boost::archive::basic_binary_iarchive<st
d::istream>,size_t>::load_primitive>>
]
C:\boost\CVS\boost\boost\serialization\iserializer.hpp(198) : see
reference to class template instantiation 'boost::mpl::apply_if<C,F1,F2>'
being compiled
with
[
C=boost::mpl::greater_equal<boost::serialization::implementation_level<size_
t>,boost::mpl::int_<3>>,
F1=boost::mpl::identity<boost::serialization::detail::load_non_pointer_type<
boost::archive::basic_binary_iarchive<std::istream>,size_t>::load>,
F2=boost::mpl::apply_if<boost::mpl::greater_equal<boost::serialization::impl
ementation_level<size_t>,boost::mpl::int_<2>>,boost::mpl::identity<boost::se
rialization::detail::load_non_pointer_type<boost::archive::basic_binary_iarc
hive<std::istream>,size_t>::load_only>,boost::mpl::identity<boost::serializa
tion::detail::load_non_pointer_type<boost::archive::basic_binary_iarchive<st
d::istream>,size_t>::load_primitive>>
]
C:\boost\CVS\boost\boost\mpl\if.hpp(73) : error C2975: 'C' : invalid
template argument for 'boost::mpl::if_c', compile-time evaluatable constant
expression expected
C:\boost\CVS\boost\boost\mpl\if.hpp(39) : see declaration of 'C'
C:\boost\CVS\boost\boost\mpl\greater_equal.hpp(43) : error C2975: 'C_' :
invalid template argument for 'boost::mpl::bool_', compile-time evaluatable
constant expression expected
C:\boost\CVS\boost\boost\mpl\bool.hpp(26) : see declaration of 'C_'
C:\boost\CVS\boost\boost\mpl\if.hpp(69) : see reference to class
template instantiation 'boost::mpl::greater_equal<T1,T2>' being compiled
with
[
T1=boost::serialization::implementation_level<size_t>,
T2=boost::mpl::int_<2>
]
C:\boost\CVS\boost\boost\mpl\apply_if.hpp(36) : see reference to
class template instantiation 'boost::mpl::if_<C,T1,T2>' being compiled
with
[
C=boost::mpl::greater_equal<boost::serialization::implementation_level<size_
t>,boost::mpl::int_<2>>,
T1=boost::mpl::identity<boost::serialization::detail::load_non_pointer_type<
boost::archive::basic_binary_iarchive<std::istream>,size_t>::load_only>,
T2=boost::mpl::identity<boost::serialization::detail::load_non_pointer_type<
boost::archive::basic_binary_iarchive<std::istream>,size_t>::load_primitive>
]
C:\boost\CVS\boost\boost\mpl\apply_if.hpp(39) : see reference to
class template instantiation 'boost::mpl::apply_if<C,F1,F2>' being compiled
with
[
C=boost::mpl::greater_equal<boost::serialization::implementation_level<size_
t>,boost::mpl::int_<2>>,
F1=boost::mpl::identity<boost::serialization::detail::load_non_pointer_type<
boost::archive::basic_binary_iarchive<std::istream>,size_t>::load_only>,
F2=boost::mpl::identity<boost::serialization::detail::load_non_pointer_type<
boost::archive::basic_binary_iarchive<std::istream>,size_t>::load_primitive>
]
C:\boost\CVS\boost\boost\mpl\if.hpp(73) : error C2975: 'C' : invalid
template argument for 'boost::mpl::if_c', compile-time evaluatable constant
expression expected
C:\boost\CVS\boost\boost\mpl\if.hpp(39) : see declaration of 'C'
CALL "C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\bin\VCVARS32.BAT" >nul
"C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\bin\cl"
/Zm800 -nologo -GX -c /Z7 /Od /Ob0 /GX /GR /MDd /Op
/Zc:wchar_t,forScope -I"..\..\..\libs\serialization\build" -I"C:\boost\CVS\
boost" -I"C:\boost\CVS\boost" -Fo"..\..\..\libs\serialization\build\bin\l
ibboost_serialization.lib\VC7\debug\runtime-link-dynamic\binary_iarchive.obj
" -Tp"..\..\..\libs\serialization\build\../src\binary_iarchive.cpp"
...failed vc-C++
..\..\..\libs\serialization\build\bin\libboost_serialization.lib\VC7\debug\r
untime-link-dynamic\binary_iarchive.obj...
vc-C++
..\..\..\libs\serialization\build\bin\libboost_serialization.lib\VC7\debug\r
untime-link-dynamic\binary_oarchive.obj
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk