|
Boost : |
From: Dirk Griffioen (a.griffioen4_at_[hidden])
Date: 2003-11-17 15:17:23
Hi,
That's exactly what's happening (sadly I kicked vc70 off my system in favor
of the supposed better 71 - little did he know ...)
No, the messages are (almost) all about mpl.
I will look into it - if I have the time (and 'get it' - it's not the
easiest code I ever read :-)
In the mean time ... can anyone with a better understanding help me/us?
Dirk
(Perhaps this belongs in the user list - so I'll cc it and continue there(
(once more the vc7 errors: (should kick m through stlfilt though))
Compiling...
binary_iarchive.cpp
g:\dev\stl\boost\boost\archive\basic_binary_iarchive.hpp(117) : warning
C4800: 'char' : forcing value to bool 'true' or 'false' (performance
warning); g:\dev\stl\boost\boost\archive\basic_binary_iarchive.hpp(114) :
while compiling class-template member function 'void
boost::archive::basic_binary_iarchive<IStream>::load_override(boost::archive
::tracking_type &,int) with [IStream=std::istream]';
g:\dev\stl\boost\libs\serialization\src\binary_iarchive.cpp(25) : see
reference to class template instantiation
'boost::archive::basic_binary_iarchive<IStream> with [IStream=std::istream]'
being compiled
g:\dev\stl\boost\boost\mpl\greater.hpp(43) : error C2975: 'C_' : invalid
template argument for 'boost::mpl::bool_', compile-time evaluatable constant
expression expected; g:\dev\stl\boost\boost\mpl\bool.hpp(26) : see
declaration of 'C_';
g:\dev\stl\boost\boost\serialization\iserializer.hpp(186) : see reference to
class template instantiation 'boost::mpl::greater<T1,T2> with
[T1=boost::serialization::implementation_level<size_t>,T2=boost::mpl::int_<0
>]' being compiled;
g:\dev\stl\boost\boost\serialization\iserializer.hpp(185) : 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]';
g:\dev\stl\boost\boost\serialization\iserializer.hpp(342) : see reference to
class template instantiation
'boost::serialization::detail::load_non_pointer_type<Archive,T> with
[Archive=boost::archive::basic_binary_iarchive<std::istream>,T=size_t]'
being compiled; g:\dev\stl\boost\boost\archive\basic_binary_iarchive.hpp(63)
: see reference to function template instantiation 'void
boost::serialization::load<boost::archive::basic_binary_iarchive<IStream>,T>
(Archive &,T &) with
[IStream=std::istream,T=size_t,Archive=boost::archive::basic_binary_iarchive
<std::istream>]' being compiled;
g:\dev\stl\boost\boost\archive\basic_binary_iarchive.hpp(131) : see
reference to function template instantiation 'void
boost::archive::basic_binary_iarchive<IStream>::load_override<T>(T &,long)
with [IStream=std::istream,T=size_t]' being compiled;
g:\dev\stl\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 &)
with [IStream=std::istream,T=size_t]' being compiled
g:\dev\stl\boost\boost\serialization\iserializer.hpp(186) : error C2975: 'x'
: invalid template argument for 'boost::STATIC_ASSERTION_FAILURE',
compile-time evaluatable constant expression expected;
g:\dev\stl\boost\boost\static_assert.hpp(29) : see declaration of 'x'
g:\dev\stl\boost\boost\serialization\iserializer.hpp(186) : error C2027: use
of undefined type 'boost::STATIC_ASSERTION_FAILURE<x> with [x=false]';
g:\dev\stl\boost\boost\serialization\iserializer.hpp(186) : see reference to
class template instantiation 'boost::STATIC_ASSERTION_FAILURE<x> with
[x=false]' being compiled
g:\dev\stl\boost\boost\mpl\greater_equal.hpp(43) : error C2975: 'C_' :
invalid template argument for 'boost::mpl::bool_', compile-time evaluatable
constant expression expected; g:\dev\stl\boost\boost\mpl\bool.hpp(26) : see
declaration of 'C_'; g:\dev\stl\boost\boost\mpl\if.hpp(64) : see reference
to class template instantiation 'boost::mpl::greater_equal<T1,T2> with
[T1=boost::serialization::implementation_level<size_t>,T2=boost::mpl::int_<3
>]' being compiled; g:\dev\stl\boost\boost\mpl\apply_if.hpp(36) : see
reference to class template instantiation 'boost::mpl::if_<C,T1,T2> with
[C=boost::mpl::greater_equal<boost::serialization::implementation_level<size
_t>,boost::mpl::int_<3>>,T1=boost::mpl::identity<boost::serialization::detai
l::load_non_pointer_type<boost::archive::basic_binary_iarchive<std::istream>
,size_t>::load>,T2=boost::mpl::apply_if<boost::mpl::greater_equal<boost::ser
ialization::implementation_level<size_t>,boost::mpl::int_<2>>,boost::mpl::id
entity<boost::serialization::detail::load_non_pointer_type<boost::archive::b
asic_binary_iarchive<std::istream>,size_t>::load_only>,boost::mpl::identity<
boost::serialization::detail::load_non_pointer_type<boost::archive::basic_bi
nary_iarchive<std::istream>,size_t>::load_primitive>>]' being compiled;
g:\dev\stl\boost\boost\serialization\iserializer.hpp(208) : see reference to
class template instantiation 'boost::mpl::apply_if<C,F1,F2> with
[C=boost::mpl::greater_equal<boost::serialization::implementation_level<size
_t>,boost::mpl::int_<3>>,F1=boost::mpl::identity<boost::serialization::detai
l::load_non_pointer_type<boost::archive::basic_binary_iarchive<std::istream>
,size_t>::load>,F2=boost::mpl::apply_if<boost::mpl::greater_equal<boost::ser
ialization::implementation_level<size_t>,boost::mpl::int_<2>>,boost::mpl::id
entity<boost::serialization::detail::load_non_pointer_type<boost::archive::b
asic_binary_iarchive<std::istream>,size_t>::load_only>,boost::mpl::identity<
boost::serialization::detail::load_non_pointer_type<boost::archive::basic_bi
nary_iarchive<std::istream>,si
ze_t>::load_primitive>>]' being compiled
g:\dev\stl\boost\boost\mpl\if.hpp(68) : error C2975: 'C' : invalid template
argument for 'boost::mpl::if_c', compile-time evaluatable constant
expression expected; g:\dev\stl\boost\boost\mpl\if.hpp(34) : see declaration
of 'C'
g:\dev\stl\boost\boost\mpl\greater_equal.hpp(43) : error C2975: 'C_' :
invalid template argument for 'boost::mpl::bool_', compile-time evaluatable
constant expression expected; g:\dev\stl\boost\boost\mpl\bool.hpp(26) : see
declaration of 'C_'; g:\dev\stl\boost\boost\mpl\if.hpp(64) : see reference
to class template instantiation 'boost::mpl::greater_equal<T1,T2> with
[T1=boost::serialization::implementation_level<size_t>,T2=boost::mpl::int_<2
>]' being compiled; g:\dev\stl\boost\boost\mpl\apply_if.hpp(36) : see
reference to class template instantiation 'boost::mpl::if_<C,T1,T2> with
[C=boost::mpl::greater_equal<boost::serialization::implementation_level<size
_t>,boost::mpl::int_<2>>,T1=boost::mpl::identity<boost::serialization::detai
l::load_non_pointer_type<boost::archive::basic_binary_iarchive<std::istream>
,size_t>::load_only>,T2=boost::mpl::identity<boost::serialization::detail::l
oad_non_pointer_type<boost::archive::basic_binary_iarchive<std::istream>,siz
e_t>::load_primitive>]' being compiled;
g:\dev\stl\boost\boost\mpl\apply_if.hpp(39) : see reference to class
template instantiation 'boost::mpl::apply_if<C,F1,F2> with
[C=boost::mpl::greater_equal<boost::serialization::implementation_level<size
_t>,boost::mpl::int_<2>>,F1=boost::mpl::identity<boost::serialization::detai
l::load_non_pointer_type<boost::archive::basic_binary_iarchive<std::istream>
,size_t>::load_only>,F2=boost::mpl::identity<boost::serialization::detail::l
oad_non_pointer_type<boost::archive::basic_binary_iarchive<std::istream>,siz
e_t>::load_primitive>]' being compiled
g:\dev\stl\boost\boost\mpl\if.hpp(68) : error C2975: 'C' : invalid template
argument for 'boost::mpl::if_c', compile-time evaluatable constant
expression expected; g:\dev\stl\boost\boost\mpl\if.hpp(34) : see declaration
of 'C'
-----Original Message-----
From: boost-bounces_at_[hidden]
[mailto:boost-bounces_at_[hidden]]On Behalf Of Firingme
Sent: Monday, November 17, 2003 12:33 PM
To: boost_at_[hidden]
Subject: [boost] Re: mingw and gcc && serialization #13
"Robert Ramey" <ramey_at_[hidden]>
??????:01C3AC83.666ABBB0_at_226-146.adsl2.netlojix.net...
> Dirk Griffioen wrote
> Jeff Finn has compiled and used serialization package with
> vc 7.1
I Can Compile it with VC7.0,but with VC7.1, it seems there are some
problem while it come across boost::mpl
_______________________________________________
Unsubscribe & other changes:
http://lists.boost.org/mailman/listinfo.cgi/boost
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk